Find the number of values of all positive integers n ≤ 2 0 1 7 such that
1 3 ∣ n 2 + n + 1
Note: Please avoid the use of computer programming.
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.
is this supposed to be level 5 ? this is way too ez for level 5 , solved in 5 mins (no programming)
Log in to reply
Level is a relative matter.To you it is easy but for others it may be difficult
Log in to reply
not that relative ... of course its designed as a standard .
Log in to reply
@A Steven Kusuman – Who decides standard and how ?
Log in to reply
@Kushal Bose – when we are setting problems ,arent we choosing the level ._. ?
Let us define f ( n ) = n 2 + n + 1 .First trying to find the smallest solution say it is n 1 .
Our smallest solution is n 1 = 3 because f ( n 1 = 3 ) = 3 2 + 3 + 1 = 1 3 ≡ 0 ( m o d 1 3 )
Assume next solution is n 2 > n 1 so, f ( n 2 ) = n 2 2 + n 2 + 1 ≡ 0 ( m o d 1 3 )
So, 1 3 ∣ f ( n 2 ) − f ( n 1 ) = n 2 2 + n 2 − n 1 2 − n 1
Therefore, 1 3 ∣ ( n 2 − n 1 ) ( n 2 + n 1 + 1 )
Then either 1 3 ∣ ( n 2 − n 1 ) or 1 3 ∣ ( n 2 + n 1 + 1 )
Case(1): When 1 3 ∣ ( n 2 − n 1 )
In this case we have n 2 − n 1 = 1 3 k where k ∈ N
The solution set is generated by n 2 = 1 3 k + 3 .
The set looks like this ( 3 , 1 6 , 2 9 , . . . . . . . , 2 0 0 5 ) .It is an A.P sequence .So,total number of terms is 1 5 5 .
So, number of solutions are 1 5 5
Case(1): When 1 3 ∣ ( n 2 + n 1 + 1 )
In this case we have n 2 + n 1 + 1 = 1 3 k where k ∈ N
The solution set is generated by n 2 = 1 3 k − 3 − 1 = 1 3 k − 4 .
The set looks like this ( 9 , 2 2 , 3 5 , . . . . . . . , 2 0 1 1 ) .It is an A.P sequence .So,total number of terms is 1 5 5 .
So, number of solutions are 1 5 5
Therefore, total solutions are = 1 5 5 + 1 5 5 = 3 1 0
Problem Loading...
Note Loading...
Set Loading...
Since ( n − 1 ) ( n 2 + n + 1 ) = n 3 − 1 , we want integers n such that n 3 ≡ 1 ( m o d 1 3 ) but n ≡ 1 ( m o d 1 3 ) . The cube roots of 1 modulo 1 3 are 1 , 3 , 9 (the generator of the nonzero integers modulo 1 3 is 2 , and 2 4 ≡ 3 ( m o d 1 3 ) ), and so we want n ≡ 3 , 9 ( m o d 1 3 ) . Since 2 0 1 7 = 1 5 5 × 1 3 + 2 , we deduce that there are 2 × 1 5 5 = 3 1 0 positive integers with the desired property.