For each integer 2 ≤ k ≤ n , choose a divisor d k of k , uniformly at random from the set of divisors of k . We denote by P ( n ) the probability that
d 2 + d 3 + ⋯ + d n
is divisible by 32.
Amazingly, there exists a positive integer N such that for all n ≥ N , the value of P ( n ) is exactly 3 2 1 . What is the smallest N for which this is true?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
I posted a report, but I also had a separate comment: it's technically possible that the constant term of p n ( x ) mod x 3 2 − 1 is 1 / 3 2 without p n ( x ) being divisible by ( x 1 6 + 1 ) ( x 8 + 1 ) ( x 4 + 1 ) ( x 2 + 1 ) ( x + 1 ) . (Like, if this happened to be the case for n = 2 6 , the answer would be ≤ 2 6 . ) I don't think there's any better way to check that this doesn't happen than to write down the first 26 values of p n ( x ) .
It actually does not happen - I checked it via maxima:
/* maxima program to find the lowest n */
P : x - 1$ /* P = p_n(x) * (x-1) mod (x^32 - 1) */
Q : x^32 - 1$
for n : 1 thru 100 do (
factor : lsum(x^d,
d, listify(divisors(n))
),
P : remainder(P * factor, Q),
R : diff(P, x), /* P(n) = 1/32 iff R = 0 */
display(R : ev(R, x = 1) + 32 * ev(P, x = 0)),
if P = 0 then return(n)
);
We get the probability of 3 2 1 if (and only if) R = P ( 1 ) ( 1 ) + 3 2 P ( 0 ) = 0 , which is never the case for n ≤ 2 6 .
Problem Loading...
Note Loading...
Set Loading...
Consider the polynomial p n ( x ) = k = 2 ∏ n ⎝ ⎛ d ∣ n ∑ x d ⎠ ⎞ = ( x + x 2 ) ( x + x 3 ) ( x + x 2 + x 4 ) ⋯ Let ω be a primitive 3 2 nd root of unity. Then, a roots of unity filter gives P ( n ) = 3 2 p n ( 1 ) 1 i = 0 ∑ 3 1 p n ( ω i ) . Now, note that for each i , by Dirichlet's theorem , we can find a prime p of the form 2 i + 1 m + 2 i + 1 = 2 i ( 2 m + 1 ) + 1 so that x 2 i + 1 divides x p + x . In particular, there exists n 0 such that for all n ≥ n 0 , ( x 1 6 + 1 ) ( x 8 + 1 ) ( x 4 + 1 ) ( x 2 + 1 ) ( x + 1 ) ∣ ∣ p n ( x ) and hence p n ( ω ) = p n ( ω 2 ) = ⋯ p n ( ω 3 1 ) = 0 . Accordingly, for n ≥ n 0 , the value of P ( n ) is exactly 1 / 3 2 .
Let q k ( x ) = ∑ d ∣ k x d . To compute n 0 , for each 0 ≤ i ≤ 4 we must find the smallest k such that x 2 i + 1 divides q k ( x ) . The above argument shows that some such k exists for all i , but the prime produced by Dirichlet's theorem is not necessarily the minimal such k . From here, we factor q k for small values of k and find the minimal k for each i : x + 1 ∣ ∣ q 2 ( x ) x 2 + 1 ∣ ∣ q 3 ( x ) x 4 + 1 ∣ ∣ q 5 ( x ) x 8 + 1 ∣ ∣ q 2 7 ( x ) x 1 6 + 1 ∣ ∣ q 1 7 ( x ) Taking the maximum of these indices, we conclude n 0 = 2 7 .