返回题库

HMMT 二月 2025 · 冲刺赛 · 第 35 题

HMMT February 2025 — Guts Round — Problem 35

专题
Discrete Math / 离散数学
难度
L3
来源
HMMT

题目详情

  1. [20] Call an 8-digit number a flamingo if it uses each of the digits 2 through 9 exactly once. Estimate the number of flamingos that are prime. 21 A E Submit a positive integer E . If the correct answer is A , you will receive round 20 · min , points. E A
解析
  1. [20] Call an 8-digit number a flamingo if it uses each of the digits 2 through 9 exactly once. Estimate the number of flamingos that are prime. 21 A E Submit a positive integer E . If the correct answer is A , you will receive round 20 · min , E A points. Proposed by: Rishabh Das Answer: 3098 Solution: There are 8! = 40320 flamingos which have average m = 61111110 . 5. No flamingo is 3 1 divisible by 3, as they all have digit sum 44. Assuming each flamingo has a · probability of being 2 ln m prime, we get an estimate of 3373, which scores 3 points. 3 We can do a lot better by noting that of flamingos aren’t divisible by 2 or 5 (the ones ending in 3, 8 4 3 10 7, or 9), as compared to of numbers in general. Adjusting our old estimate by a factor of · , we 10 8 4 get a new estimate of 3162, which scores 12 points. We can still make some minor improvements. Since the digit sum of a flamingo is 44, a flamingo is divisible by 11 if and only if the alternating digit sums are both 22 (as they can’t be as low as 11). There are 8 four-element subsets of { 2 , 3 , . . . , 9 } which have sum 22, and 70 four-element subsets in 8 62 11 all, so of flamingos are divisible by 11. Adjusting our estimate by a factor of · , we get a new 70 70 10 estimate of 3081, which scores 17 points. 1 Finally, the estimate of isn’t the most accurate. We can do better with the logarithmic integral; ln m R 98765433 d t the number of primes from 23456789 to 98765432 is approximately , which can be ap- 23456789 ln t proximated (e.g., using the asymptotic series). Its true value is around 4220000. There are 75308644 numbers from 23456789 to 98765432, respectively. Using these values to estimate prime density instead, we arrive at a final estimate of 4220000 3 3 10 62 11 · 8! · · · · · ≈ 3096 , 75308644 2 8 4 70 10 which is accurate enough for all 20 points.