Take your time (2)

Find the number of values of all positive integers n 2017 n \leq 2017 such that

13 n 2 + n + 1 \large 13\,\, | \,\, n^2+n+1

Note: Please avoid the use of computer programming.


The answer is 310.

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.

2 solutions

Mark Hennings
Mar 21, 2017

Since ( n 1 ) ( n 2 + n + 1 ) = n 3 1 (n-1)(n^2+n+1)= n^3-1 , we want integers n n such that n 3 1 ( m o d 13 ) n^3 \equiv 1 \pmod{13} but n ≢ 1 ( m o d 13 ) n \not\equiv 1 \pmod{13} . The cube roots of 1 1 modulo 13 13 are 1 , 3 , 9 1,3,9 (the generator of the nonzero integers modulo 13 13 is 2 2 , and 2 4 3 ( m o d 13 ) 2^4 \equiv 3 \pmod{13} ), and so we want n 3 , 9 ( m o d 13 ) n \equiv 3,9 \pmod{13} . Since 2017 = 155 × 13 + 2 2017 = 155\times13+2 , we deduce that there are 2 × 155 = 310 2 \times 155 = \boxed{310} positive integers with the desired property.

is this supposed to be level 5 ? this is way too ez for level 5 , solved in 5 mins (no programming)

A Steven Kusuman - 4 years, 2 months ago

Log in to reply

Level is a relative matter.To you it is easy but for others it may be difficult

Kushal Bose - 4 years, 2 months ago

Log in to reply

not that relative ... of course its designed as a standard .

A Steven Kusuman - 4 years, 1 month ago

Log in to reply

@A Steven Kusuman Who decides standard and how ?

Kushal Bose - 4 years, 1 month ago

Log in to reply

@Kushal Bose when we are setting problems ,arent we choosing the level ._. ?

A Steven Kusuman - 4 years, 1 month ago
Kushal Bose
Mar 21, 2017

Let us define f ( n ) = n 2 + n + 1 f(n)=n^2+n+1 .First trying to find the smallest solution say it is n 1 n_1 .

Our smallest solution is n 1 = 3 n_1=3 because f ( n 1 = 3 ) = 3 2 + 3 + 1 = 13 0 ( m o d 13 ) f(n_1=3)=3^2+3+1=13 \equiv 0 \pmod{13}

Assume next solution is n 2 > n 1 n_2 >n_1 so, f ( n 2 ) = n 2 2 + n 2 + 1 0 ( m o d 13 ) f(n_2)=n_2^{2} +n_2+1 \equiv 0 \pmod{13}

So, 13 f ( n 2 ) f ( n 1 ) = n 2 2 + n 2 n 1 2 n 1 13\,\,|\,\, f(n_2)-f(n_1)=n_2^{2}+n_2-n_1^{2}-n_1

Therefore, 13 ( n 2 n 1 ) ( n 2 + n 1 + 1 ) 13\,\,|\,\, (n_2-n_1)(n_2+n_1+1)

Then either 13 ( n 2 n 1 ) 13\,\,|\,\, (n_2-n_1) or 13 ( n 2 + n 1 + 1 ) 13\,\,|\,\,(n_2+n_1+1)

Case(1): When 13 ( n 2 n 1 ) 13\,\,|\,\, (n_2-n_1)

In this case we have n 2 n 1 = 13 k n_2-n_1=13k where k N k \in \mathbb{N}

The solution set is generated by n 2 = 13 k + 3 n_2=13k+3 .

The set looks like this ( 3 , 16 , 29 , . . . . . . . , 2005 ) (3,16,29,.......,2005) .It is an A.P sequence .So,total number of terms is 155 155 .

So, number of solutions are 155 155

Case(1): When 13 ( n 2 + n 1 + 1 ) 13\,\,|\,\,(n_2+n_1+1)

In this case we have n 2 + n 1 + 1 = 13 k n_2+n_1+1=13k where k N k \in \mathbb{N}

The solution set is generated by n 2 = 13 k 3 1 = 13 k 4 n_2=13k-3-1=13k-4 .

The set looks like this ( 9 , 22 , 35 , . . . . . . . , 2011 ) (9,22,35,.......,2011) .It is an A.P sequence .So,total number of terms is 155 155 .

So, number of solutions are 155 155

Therefore, total solutions are = 155 + 155 = 310 =155+155=310

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...