(n^3-1)/5 is a prime where n is a positive integer find no. of possible values of n
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.
n 3 − 1 = ( n − 1 ) ( n 2 + n + 1 ) = 5 p . By Euclidean algorithm:
g cd ( n − 1 , n 2 + n + 1 ) = g cd ( n − 1 , ( n − 1 ) ( n + 2 ) + 3 ) ∈ { 1 , 3 }
If g cd = 3 , then 9 ∣ 5 p , impossible. So g cd = 1 and four cases:
We can't have them both negative, e.g. n − 1 = − 1 , n 2 + n + 1 = − 5 p , since n 2 + n + 1 > 0 .
Problem Loading...
Note Loading...
Set Loading...
5 n 3 − 1 is an integer ⟹ n 3 ≡ 1 ( m o d 5 ) ⟹ n ≡ 1 ( m o d 5 )
Hence n = 5 k + 1 which ⟹ 5 n 3 − 1 = 5 1 2 5 k 3 + 7 5 k 2 + 1 5 k = k ( 2 5 k 2 + 1 5 k + 3 )
So must k = 1 ⟹ n = 6 since 5 n 3 − 1 is a prime.
Verifying if n = 6 is a possible value: 5 6 3 − 1 = 4 3 which is a prime
so there is only one solution hence the answer is 1