Polynomial Multiple of Five

True or false :

For any integer y y , the number y 2 + y + 1 y^2+y+1 can never be divisible by 5.

There is insufficient information True False

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.

7 solutions

First note that y y must be one of 0 , 1 , 2 , 3 , 4 0,1,2,3,4 modulus 5 5 .

If y 0 ( m o d 5 ) y \equiv 0 \pmod{5} then y 2 + y + 1 0 + 0 + 1 1 ( m o d 5 ) y^{2} + y + 1 \equiv 0 + 0 + 1 \equiv 1 \pmod{5} .

If y 1 ( m o d 5 ) y \equiv 1 \pmod{5} then y 2 + y + 1 1 + 1 + 1 3 ( m o d 5 ) y^{2} + y + 1 \equiv 1 + 1 + 1 \equiv 3 \pmod{5} .

If y 2 ( m o d 5 ) y \equiv 2 \pmod{5} then y 2 + y + 1 4 + 2 + 1 2 ( m o d 5 ) y^{2} + y + 1 \equiv 4 + 2 + 1 \equiv 2 \pmod{5} .

If y 3 ( m o d 5 ) y \equiv 3 \pmod{5} then y 2 + y + 1 4 + 3 + 1 3 ( m o d 5 ) y^{2} + y + 1 \equiv 4 + 3 + 1 \equiv 3 \pmod{5} .

If y 4 ( m o d 5 ) y \equiv 4 \pmod{5} then y 2 + y + 1 1 + 4 + 1 1 ( m o d 5 ) y^{2} + y + 1 \equiv 1 + 4 + 1 \equiv 1 \pmod{5} .

Since in none of these cases is the remainder 0 0 , we can conclude that y 2 + y + 1 y^{2} + y + 1 is never divisible by 5 5 .

(Note that since the remainder is never 4 4 , we can also conclude that y 2 + y + 2 y^{2} + y + 2 is never divisible by 5 5 either.)

Every time I'm impressed with my ability to think through a problem I go to share my thought process and find that:

A) Someone else has already provided my thoughts,

and (more importantly)

B) Someone else has come up with a concise and elegant way to express them!

(I was going to say something to the effect that given any number ending with 0-9, the final digit when plugged into (Y^2 + Y + 1) will never yield a 0 or a 5). Your solution is better.

Ian McKay - 5 years, 3 months ago

Log in to reply

Thanks! Your way works well too. Ahmed and Patrick have posted solutions similar to yours, with the short-cut of looking at the units digits of the products of consecutive integers.

Brian Charlesworth - 5 years, 3 months ago

Such an elegant solution! Especially the note at the end.

Harsh Khatri - 5 years, 4 months ago

Log in to reply

Thanks! :)

Brian Charlesworth - 5 years, 4 months ago
Ahmed R. Maaty
Feb 24, 2016

y 2 + y + 1 y^2+y+1 is divisible by 5 when the units digit of y 2 + y y^2+y or y ( y + 1 ) y\cdot(y+1) is either 4 or 9. Try to multiply 2 successive numbers from 0 to 9 and you will never find 4 or 9 as the units digit.

Harsh Khatri
Feb 9, 2016

y 2 + y + 1 3 , 1 , 2 , 1 , 1 ( m o d 5 ) \displaystyle \Rightarrow y^2 + y + 1 \equiv 3,1,2,1,1 (mod 5) for y = 1 , 2 , 3 , 4 , 5 y =1,2,3,4,5 respectively. This cycle repeats itself after every 5 numbers.

y 2 + y + 1 4 , 2 , 2 , 3 , 1 ( m o d 5 ) \displaystyle \Rightarrow y^2 + y + 1 \equiv -4,-2, 2, 3, 1 (mod 5) for y = 5 , 4 , 3 , 2 , 1 y = -5,-4,-3,-2,-1 respectively. Even this cycle repeats itself after every 5 numbers.

For y = 0 y=0 , the expression equals 1, which is not divisible by 5.

Hence, y 2 + y + 1 y^2 + y + 1 is never divisible by 5.

Patrick Prochazka
Feb 24, 2016

We factor the expression as y ( y + 1 ) + 1 y(y+1)+1 . Since all numbers divisible by 5 end in either a 0 or 5, then y ( y + 1 ) y(y+1) must end in 9 or 4.

The product of two consecutive integers is never odd, because we are always multiplying an even number with an odd number. So, y ( y + 1 ) y(y+1) can never end in 9.

If we write out all the possibilities for the possible last digits of the product of two consecutive numbers, we see that the only possibilities are 0, 2, and 6. So, y ( y + 1 ) y(y+1) cannot end in 4 either.

Since y ( y + 1 ) y(y+1) cannot end in 9 or 4, y ( y + 1 ) + 1 = y 2 + y + 1 y(y+1)+1=y^2+y+1 cannot end in 0 or 5. Thus, it will never be divisible by 5.

Jack Lam
Feb 25, 2016

Suppose y 2 + y + 1 y^2+y+1 is not divisible by 5 5 . Then y ± 5 n n N y\pm 5n \quad \forall n \in \mathbb{N} shares the same property. Thus, every 5 th 5^{\text{th}} integer from y y shares the same property. It then remains to verify that 5 5 consecutive integers do not share this property, which is trivial, and we are done. Thus, there cannot exist an integer that satisfies this property.

Okay, so note that any integer can be written in the form 5 k + n 5k + n , where n n is any number from 0 0 to 4 4 .

Plugging in y = 5 k + n y = 5k + n into y 2 + y + 1 y^{2} + y + 1 , we get: ( 25 k 2 + 10 k n + n 2 ) + ( 5 k + n ) + 1 = 5 ( 5 k 2 + 2 k n + k ) + ( n 2 + n + 1 ) (25k^{2} + 10kn + n^{2}) + (5k + n) + 1 = 5*(5k^{2} + 2kn + k) + (n^{2} + n + 1) . Thus, if y = 5 k + n y = 5k + n yields a multpole of 5 5 , then n 2 + n + 1 n^{2} + n + 1 must also be divisible by 5 5 .

For n = 0 n = 0 , we have: 0 2 + 0 + 1 = 1 0^{2} + 0 + 1 = 1 , which is not divisible by 5.

For n = 1 n = 1 , we have: 1 2 + 1 + 1 = 3 1^{2} + 1 + 1 = 3 , which is also not divisible by 5 5 .

Repeating the process for 2 , 3 2, 3 and 4 4 will yield, respectively, 7 , 13 7, 13 and 21 21 , neither of which are divisible by 5 5 . Thus, no numer of the form y 2 + y + 1 y^{2} + y + 1 can be divided by 5 5 .

(EDIT: Changed an incorrect word I used)

Harshit Bansal
Feb 9, 2016

Y²+y+1 can't be expressed in form of 5m

How can you prove that? what about negative values?

Ossama Ismail - 5 years, 4 months ago

Log in to reply

The solution of y²+y+1-5m=0 can be found through the formula of the second degree equation, for any integer m. Then you must notice that b²-4ac=20m-3 can never be a perfect square, because for any m, the resultant ends in 3 or 7, and there are no perfect squares that end in 3 or 7.

Felipe Guarnieri - 5 years, 3 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...