Prove that 2^n+1 is not divisible by 31 posting this for the third time
@ganeshie8
i am closing this as this is feedback section. but ganeshie can continue his explanation here
lets move to math..
oh lets continue here... then :)
oh sorry my bad
you want me to move this there?
\(\large 2^n \equiv (2^5)^{\frac{n}{5}}\)
we oly need to consider the case n = 5k (we can get back to this later)
32 leaves a remainder 1 when divided by 31
\(\large 2^n \equiv (2^5)^{\frac{n}{5}} \equiv 1 \mod 31\)
that means, 2^n + 1 leaves a remainder 2 when divided by 31
QED
32 leaves a remainder 1 when divided by 31 isn't this equal to 32mod31=1
yess
how come 2^n=1mod31=1?
we're considering n = 5k case
2^n = (32)^k = (1)^k = 1 mod 31
other cases are : n=5k+1, 5k+2, 5k+3, 5k+4 they just leave a non-zero multiple of remainder of n=5k case
let me knw if congruences dont look familiar... we can avoid the congruences and try to discuss in simple math...
yeah, can't we just avoid congruences?
we can avoid it completely if we are okay on one thing : 1) if \(a\) leaves a remainder of \(r\) when divided by \(b\), then : \(a^n\) leaves a remainder of \(r^n\) when divided by \(b\)
that observation/fact is important for the proof. i dont see any way we can avoid using it...
is that always true? for example 5/3 will give a remainder of 2 5^2/3 will give a remainder of 1 Am I wrong?
it is always true
let me adjust ur example a bit : 5/3 will give a remainder of 2 5^2/3 will give a remainder of 2^2
\(\large 2^2 \equiv 1 \mod 3\)
when we talk about remainders when divided by 3, 1 = 4 = 7 = 10 ...
okay now I got the whole thing.
Really appreciate you help. Thank you for everything
np :)
Join our real-time social learning platform and learn together with your friends!