Let P ( n ) = k = 1 ∑ n ( g cd ( n , k ) cos ( n 2 k π ) ) .
Find the smallest value m such that P ( m ) = P ( 2 0 1 5 ) .
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.
Let the prime decomposition of n be n = p 1 e 1 ⋅ p 2 e 2 ⋯ .
Lemma P ( n ) = ϕ ( n ) = i ∏ p i e i − 1 ⋅ ( p i − 1 ) .
In this case, 2 0 1 5 = 5 1 ⋅ 1 3 1 ⋅ 3 1 1 ⟹ P ( 2 0 1 5 ) = ( 5 − 1 ) ⋅ ( 1 3 − 1 ) ⋅ ( 3 1 − 1 ) = 1 4 4 0 .
Now to find other integers for which this is the case. This requires a factorization of 1440 into factors of the form p e ⋅ ( p − 1 ) . In order to keep the number as low as possible, it is best to keep the number of factors as well as e minimal. (E.g. the best case scenario would be n = 1 4 4 1 if it were prime, but sadly it is a multiple of 11.)
The prime factorization of 1440 is 2 5 ⋅ 3 2 ⋅ 5 , which means that it has 6 ⋅ 3 ⋅ 2 = 3 6 divisors. We analyze them as follows:
d 1 2 2 4 4 6 6 8 1 0 1 2 1 6 1 6 1 8 1 8 2 0 3 0 3 6 4 0 2 4 0 p e − 1 ( p − 1 ) 2 − 1 3 − 1 2 1 ( 2 − 1 ) 5 − 1 2 2 ( 2 − 1 ) 7 − 1 3 1 ( 3 − 1 ) 2 3 ( 2 − 1 ) 1 1 − 1 1 3 − 1 1 7 − 1 2 5 ( 2 − 1 ) 1 9 − 1 3 2 ( 3 − 1 ) 5 1 ( 5 − 1 ) 3 1 − 1 3 7 − 1 4 1 − 1 2 4 1 − 1 p e 2 3 4 5 8 7 9 1 6 1 1 1 3 1 7 3 2 1 9 2 7 2 5 3 1 3 7 4 1 2 4 1
The remaining divisors of 1440, which are 3, 9, 15, 24, 32, 45, 48, 60, 72, 80, 90, 96, 120, 144, 160, 180, 288, 360, 480, 720, 1440, cannot be written in this form.
Using these factors, we write 1 4 4 0 = 6 ⋅ 2 4 0 = ϕ ( 7 ) ⋅ ϕ ( 2 4 1 ) = ϕ ( 1 6 8 7 ) ; 1 4 4 0 = 6 ⋅ 2 4 0 = ϕ ( 9 ) ⋅ ϕ ( 2 4 1 ) = ϕ ( 2 1 6 9 ) ; 1 4 4 0 = 3 6 ⋅ 4 0 = ϕ ( 3 7 ) ⋅ ϕ ( 4 1 ) = ϕ ( 1 5 1 7 ) .
Other factorizations are also possible, but the increased number of factors gives higher values. For instance, 1 4 4 0 = 6 ⋅ 3 0 ⋅ 8 = ϕ ( 7 ) ⋅ ϕ ( 3 1 ) ⋅ ϕ ( 1 6 ) = ϕ ( 3 4 7 2 ) ; 1 4 4 0 = 2 0 ⋅ 1 2 ⋅ 6 = ϕ ( 2 5 ) ⋅ ϕ ( 1 3 ) ⋅ ϕ ( 7 ) = ϕ ( 2 2 7 5 ) ; and so on.
Problem Loading...
Note Loading...
Set Loading...
My approach is not as systematic as Arjen's.
We are asked to find the smallest number n such that 1 4 4 0 = ϕ ( n ) . Since 1 4 4 0 + 1 isn't prime, we are looking for a factorization 1 4 4 0 = a ∗ b where a and b are as close as possible to each other (close to 1 4 4 0 ≈ 3 8 ) and, ideally, such that a + 1 and b + 1 are prime. This approach works beautifully here: We have 1 4 4 0 = 3 6 ∗ 4 0 = ϕ ( 3 7 ) ∗ ϕ ( 4 1 ) = ϕ ( 1 5 1 7 ) We have 11 other factorizations 1 4 4 0 = a ∗ b into even factors, for example, 1 4 4 0 = 6 ∗ 2 4 0 = ϕ ( 7 ) ϕ ( 2 4 1 ) = ϕ ( 1 6 8 7 ) and 1 4 4 0 = 7 2 ∗ 2 0 = ϕ ( 7 3 ) ϕ ( 2 5 ) = ϕ ( 1 8 2 5 ) but the product is higher in these cases since the factors are further apart (there is no need to check them one by one).