Edit MetaData
9 years ago
9 years ago
a^400 + a^397 = a^397(a^3 + 1), which is divisible by a^3 + 1
-a^397 -a^394 = -a^394(a^3 + 1), which is divisible by a^3 + 1
... -a^7 - a^4 = -a^4(a^3 + 1) is divisible by a^3 + 1
Adding all the terms,
a^400 + a^397 - a^397 - a^394 + a^394 + a^391 - a^391 - ....- a^4 = k*(a^3 + 1)
=> a^400 - a^4 = k(a^3 + 1)
=> a^400 - a^4 leaves a remainder 0 when divided by a^3 + 1
So, the remainder when a^400 is divided by a^3+1 is the same as the remainder when a^4 is divided by a^3+1
a^4 mod a^3 + 1 = a^3 - a + 1
Quick, Easy and Effective Revision
By proceeding you agree to create your account
Free CAT Formulae PDF will be sent to your email address soon !!!