每个人都和其他人握了一次手
- 时间:2020-06-10 18:36:27
- 分类:数学世界
- 阅读:87 次
在一次聚会上,每个人都和其他人握了一次手,只有一个人只和他认识的人握了手。如果他们握手的总次数为60次(两人握手算一次),那么这个人在聚会认识多少人?(由“百川-资优网”提供)
数学题解答:假设“每个人都和其他人握了一次手”,也包括例外的那个人(“只有一个人只和他认识的人握了手”)。先排一排,找找规律。
3人,4人,5人,6人,7人,……
3次,6次,10次,15次,21次,……
规律找到了,继续排:
8人, 9人,10人,11人,12人。
28次,36次,45次,55次,66次。
握手次数已经超过60了,到此为止。可见,此次聚会一共有12人。这个人并没有和每个人都握,他少握了:66-60=6(次)。如果他和每个人都握了,应握11次。
所以他认识:11-6=5(人)
推荐阅读:Simulation Algorithm to Compute the Number of Water Bottles Using CloudFlare Worker Serverless Technology to Deploy a Load B Algorithms to Compute the Math Power(a, n) in logarithm Complexi Multithreading Testing using Pythons’ Low Level _threading Algorithm to Count the Number of Substrings With Only 1s How to Find Root of N-Ary Tree using the Hash Set? How Many Blocks and Total Rewards for a Steem Witness in the Pas Compute the Maximum Score After Splitting a String A Simple HTML Entity Parser in C++ Dynamic Algorithm to Compute the Longest Common Subsequence
- 评论列表
-
- 添加评论