A number p n is said to be atrocious if p n ∣ ∣ ∣ ( 7 p n + 1 ) , where p is prime.
Find the sum of all atrocious numbers.
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 resolved that the easiest way to do this problem is to resolve that 7^k^n + 1 must be even when n>0, so the only prime that will divide it is 2
Log in to reply
1 2 is even. Is 2 the only prime that divides 1 2 ?
yes, Jacob that is the easiest observation.
Hey, I don't understand how you did the step with euler theorem. Please elaborate.
Log in to reply
Please, read the first numerical example here .
Due to the LFT 7 p n − p n − 1 ≡ 1 ( m o d p n ) because ϕ ( p n ) = p n ( 1 − p 1 ) = p n − p n − 1
But 7 p n = 7 p n ∗ 7 p n − 1 7 p n − 1 = 7 p n − p n − 1 ∗ 7 p n − 1 ≡ 7 p n − 1 ( m o d p n ) So if p n ∣ 7 p n + 1 then p n ∣ 7 p n − 1 + 1 . If we apply the theorem k times we get that p n ∣ 7 p n − k + 1 , in particular by using it n times we get that p n ∣ 7 p 0 + 1 ⇒ p n ∣ 8 now we can easly conclude that the only possible values of p and n are respectively 2 and 1 that is p n = 2 1 = 2
Well, why couldn't n also 2 and 3? Even then, p n ∣ 8 for p=2.
Since 7 to the power anything is odd, so the right hand side is even. So the LHS must also be even. This is only possible in the case of p=2. {Since it is the only even prime, and even to the power anything is also even.}.
Given: 7 p n + 1 ≡ 0 ( m o d p n )
But 7 p n − 1 ≡ 0 ( m o d p n )
Thus
2 ≡ 0 ( m o d p n )
And hence
p n = 2
I think that your solution is flawed.
You wrongly applied FLT.
Problem Loading...
Note Loading...
Set Loading...
I'm considering n ≥ 1 .
First, we notice, p n
≡ ( ( p − 1 ) + 1 ) n ( m o d ( p − 1 ) )
≡ 1 n ( m o d ( p − 1 ) ) [With the help of Binomial Theorem ]
≡ 1 ( m o d ( p − 1 ) ) .
So, p n ≡ 1 ( m o d ( p − 1 ) ) ⋯ ⋯ ⋯ ( 1 ) .
Again, 7 p n + 1
≡ 7 p n m o d ( p − 1 ) + 1 ( m o d p ) [By Euler's Theorem ]
≡ 7 1 + 1 ( m o d p ) [By (1) ]
≡ 8 ( m o d p )
Hence, 7 p n + 1 ≡ 2 3 ( m o d p ) ⋯ ⋯ ⋯ ( 2 )
Now, p n ∣ ( 7 p n + 1 ) only if p ∣ ( 7 p n + 1 ) , since p ∣ ( 7 p n + 1 ) ⟹ p n ∣ ( 7 p n + 1 ) , when p is a prime.
From (2) , p ∣ ( 7 p n + 1 ) ⟺ p ∣ 2 3 ⟺ p = 2 . So, p n with p = 2 can't be Atrocious .
We're left only with integers 2 n .
For n = 1 , 2 n = 2 , which is an atrocious number [By (2) ]
For n = 2 , 3 , 4 , you can calculate to observe ( 7 2 n + 1 ) ≡ 2 ( m o d 2 n ) . Then the reasonable conjecture can be drawn: " ( 7 2 n + 1 ) ≡ 2 ( m o d 2 n ) , for every n ≥ 2 ; which can be verified by a simple proof by induction on n .
So, 2 is the only 'atrocious' number. So, the answer is 2 .