Question and Answers Forum

All Questions      Topic List

Number Theory Questions

Previous in All Question      Next in All Question      

Previous in Number Theory      Next in Number Theory      

Question Number 193485 by Socracious last updated on 15/Jun/23

             Show that 2^n −(−1)^n  is divisible by         3 for all positive integers n.

Showthat2n(1)nisdivisibleby3forallpositiveintegersn.

Answered by MM42 last updated on 15/Jun/23

k∈N  if  n=2k ; ⇒2^n −(−1)^n =4^k −1≡^3 1−1=0  if  n=2k+1 ; ⇒2^n −(−1)^n =2×4^k +1≡^3 2+1=3≡^3 0

kNifn=2k;2n(1)n=4k1311=0ifn=2k+1;2n(1)n=2×4k+132+1=330

Answered by witcher3 last updated on 15/Jun/23

x^n −y^n =(x−y).(Σ_(k=0) ^(n−1) x^k y^(n−1−k) )  2^n −(−1)^n =3.(Σ_(k=0) ^(n−1) 2^k (−1)^(n−1−k) )

xnyn=(xy).(n1k=0xkyn1k)2n(1)n=3.(n1k=02k(1)n1k)

Terms of Service

Privacy Policy

Contact: info@tinkutara.com