
Prove that 5n + 2 3n-1 + 1 = 0 (mod 8).
Solution
If n is even, 5n = 1 mod 8, 3n-1 = 3 mod 8, so expression = 1 + 6 + 1 = 0 mod 8. If n is odd, then 5n = 5 mod 8, 3n-1 = 1 mod 8, so expression = 5 + 2 + 1 = 0 mod 8.
![]()
© John Scholes
jscholes@kalva.demon.co.uk
29 Oct 2003
Last corrected/updated 29 Oct 03