HMMT 十一月 2023 · 冲刺赛 · 第 36 题
HMMT November 2023 — Guts Round — Problem 36
题目详情
英文原题
- [20] Isabella writes the expression d for each positive integer d not exceeding 8! on the board. Seeingthat these expressions might not be worth points on HMMT, Vidur simplifies each expression to the
√
form a b , where a and b are integers such that b is not divisible by the square of a prime number. (For
√ √ √ √ √ √
example, 20, 16, and 6 simplify to 2 5, 4 1, and 1 6, respectively.) Compute the sum of a + bacross all expressions that Vidur writes.
Submit a positive real number A . If the correct answer is C and your answer is A , you get
1 / 5
max 0 , 20 1 − | log( A/C ) | points.
解析
英文解析
- [20] Isabella writes the expression d for each positive integer d not exceeding 8! on the board. Seeingthat these expressions might not be worth points on HMMT, Vidur simplifies each expression to the
√
form a b , where a and b are integers such that b is not divisible by the square of a prime number.
√ √ √ √ √ √
(For example, 20, 16, and 6 simplify to 2 5, 4 1, and 1 6, respectively.) Compute the sum ofa + b across all expressions that Vidur writes.
Submit a positive real number A . If the correct answer is C and your answer is A , you get
1 / 5
max 0 , 20 1 − | log( A/C ) | points.
Proposed by: Isabella Quan, Pitchayut Saengrungkongka, Rishabh Das, Vidur Jasuja
Answer: 534810086
√ P
√
Solution: Let n simplifies to a b , and replace 8! by x . First, notice that a is smalln n nn ≤ x
√ P
3 / 2
( O ( x ) in particular) because each term cannot exceed x . On the other hand, b will benn ≤ xlarge; we have b = n when n is squarefree, and squarefree numbers occurs over the time. Thus, it 6
n 2
suffices to consider b .Pπnn ≤ x
We first explain how to derive the formula heuristically. Then, we will provide a rigorous proof that
X2
2 3 / 2π
B ( x ) := b = x + O ( x ) .
30 nn ≤ x
For heuristic explanation, we first rewrite the sum as
X X X
B ( x ) = b = b.
2 2
a ≤ xa b ≤ x b ≤ x/ab squarefreeb squarefree
We estimate the inner sum as follows: first, recall that the density of squarefree numbers is . The 6
π2
sum of first k positive integers is approximately k / 2, so the sum of squarefree numbers from 1 , 2 , . . . , k 2
6 k 32
should roughly be about · = k . Knowing this, we estimate 2
2 2
π 2 π
2X
3 x
B ( x ) ≈
2 2
π aa ≤ x
3 1X = x 2
2 4
π aa ≤ x
∞
3 1X
≈ x 2
2 4
π aa =1
4 2
3 π π
2 2 = x · = x .
π 90 302
π2
The estimate · (8!) = 534 834 652 is good enough for 18 points.2
We now give a rigorous proof, which is essentially the above proof, but the errors are properly treated.30
To do that, we need several lemmas and some standard techniques in analytic number theory.
√
Lemma 1. The number of squarefree integers not exceeding x is x + O ( x ).6
π2
Proof. This is a standard result in analytic number theory, but we give the full proof for completeness.
(
( − 1) n is the product of r ≥ 0 distinct primesrμ ( n ) =
0 otherwise.
Then, by Inclusion-Exclusion, we havej k
{ squarefree ≤ x } = μ ( k )x xk 2
√
k ≤ x
√Xx = μ ( k ) + O ( x )
k 2
√
k ≤ x
√Xμ ( k )
= x + O ( x ) .
k 2
√
k ≤ x
The inner summation is
∞
X X Yμ ( k ) 1 1 1
√
- O = 1 − + O
2 2 2
k k p x
√
k =1 p primek ≥ x
1 1 = + O √
1 1
1 + + + . . .x
2 2
2 3
6 1
√
= + O ,
π x 2
so putting it together, we get that
√ √
6 1 6
√
{ squarefree ≤ x } = x + O + O ( x ) = x + O ( x ) .
2 2
π x π
Lemma 2. We have
3X
2 3 / 2
n = x + O ( x ) .
π2
n squarefreen ≤ x
Proof. We apply Abel’s summation formula on the sequence a = 1 ( n ) and weight ϕ ( n ) = n .
n squarefree
Define the partial summation A ( x ) = a . Applying Abel’s summation, we get that pnn ≤ x
X Xn = a ϕ ( n )
n squarefree n ≤ xnn ≤ x
′x z = A ( x ) ϕ ( x ) − A ( t ) ϕ ( t ) dt
Z1
√x
√
6 6 = x + O ( x ) x − t + O ( t ) dt
2 2
π π
6 6 x 21
3 / 2 3 / 2 = + O ( x ) − · + O ( x )
2 2
π x π 2
2 3 / 23 = x + O ( x ) .
π2
Main Proof. Once we have Lemma 2., it is easy to get the desired estimate. We have
B ( x ) = b xa b ≤ x 2
b squarefree
X X = ba ≤ x 2
b ≤ x/ab squarefree
2 3 / 2
3 x x x = + O
2 4 3
π a aa ≤ x
X X
3 1 1
2 3 / 2
= x + O x .
2 4 3
π a aa ≤ x a ≤ x
∞P
3 / 21
Since converges, we get that the big- O term is indeed O ( x ). Now, we only need to deala =13
with the main term. Note the estimatea
∞
X X X4
1 1 1 π 1 = − = + O .
4 4 4 3
a a a 90 xa =1
a ≤ x a ≥ x
Hence, we have
4 2
3 π π
2 3 / 2 2 3 / 2
B ( x ) = x · + O ( x ) = x + O ( x ) ,
π 90 302
as desired.
Here is the code that gives the exact answer:
import mathn = 40320
a = [ 1 f o r i i n range ( n +1)]
f o r d i n range ( 1 , math . c e i l ( math . s q r t ( n ) ) ) :
f o r x i n range ( d ∗ ∗ 2 , n+1, d ∗ ∗ 2 ) :
a [ x ] = db = [ i // a [ i ] ∗ ∗ 2 f o r i i n range ( 1 , n +1)]
p r i n t ( sum ( a)+sum ( b ) )