Ta có A=5+5^2+5^3+...+5^2007
=(5+5^2+5^3)+(5^4+5^5+5^6)+...+(5^2005+5^2006+5^2007)
=31x5+31x5^4+...+31x5^2005
=31x(5+5^4+...+5^2005) chia hết cho 31
Vậy A chia hết cho 31
A = 5 + 52 + 53 + .....+ 52007
= ( 5 + 52 + 53 ) + ( 54 + 55 + 56 ) +.........+ (52005 + 52006 + 52007 )
= 5( 1 + 5 + 52 ) + 54( 1 + 5 + 52 ) +.........+ 52005( 1 + 5 + 52 )
= 31( 5 + 54 + .....+ 52005 )\(⋮\)31
Vậy A \(⋮\)31