Divisibility by 3

We know that the number 1234567 is not divisible by 3 because the sum of its digits is not divisible by 3. Is 123456 7 3 1234567 1234567^{3}-1234567 divisible by 3?

Yes No

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.

3 solutions

Sam Bealing
May 16, 2016

n 3 n = n ( n 2 1 ) = n ( n + 1 ) ( n 1 ) n^3-n=n(n^2-1)=n(n+1)(n-1)

These are three consecutive numbers so at least one will be divisible by 3.

Nice work. Sam, even if you wrote something that does not make sense, I was going to agree with you because my son's name is Sam.

Hana Wehbi - 5 years, 1 month ago

Log in to reply

Please respect other members. How come this does not make sense?

展豪 張 - 5 years ago

Log in to reply

I did not say it does not make sense. I said "even if". I was just trying to be nice to him because I have a son whose name is Sam, nothing more or less.

Hana Wehbi - 5 years ago

Log in to reply

@Hana Wehbi Sorry I didn't see the words 'even if'. But for me it's still weird to see something like this......

展豪 張 - 5 years ago
Hana Wehbi
May 16, 2016

For any positive integer n n , n 3 n n^{3}-n is divisible by 3 3 .

Applying Fermat's Little Theorem, as 3 3 is prime and ( 3 , 1234567 ) = 1 (3,1234567)=1 , then 1234567 3 1234567 ( m o d 3 ) { 1234567 }^{ 3 }\equiv 1234567(mod\quad 3)

Nice, never thought of it like that.

Hana Wehbi - 5 years ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...