Show that 8^900 - 7 is divisible by 29

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 2K views
tamintl
Messages
74
Reaction score
0
NUMBER THEORY: Show that 8^900 - 7 is divisable by 29 ... Help

Homework Statement


Show that 8^900 - 7 is divisable by 29


Homework Equations





The Attempt at a Solution



By Fermats little theorem

(8^28)^32 x 8^4 - 7
=1^32 x 8^4 - 7
=8^4 - 7
=(8^2)^2 - 7
=64^2 - 7

NB: 64 = 29x2 + 6

therefore: 64 => 6

=(6)^2 - 7
= 36-7

29=0 mod 29



Is this correct or is there a quicker way?

thanks tamintl
 
Physics news on Phys.org


That is correct and it's the quickest way I can think of to show it.