1. We start by considering the polynomial (1+x)n. The sum of the squares of the coefficients of this polynomial is given by Sn.
2. We need to prove that S2n+1 is not divisible by 3.
3. By definition, Sn is the sum of the squares of the coefficients of (1+x)n. The coefficients of (1+x)n are given by the binomial coefficients (kn) for k=0,1,…,n. Therefore,
Sn=k=0∑n(kn)2.
4. Using the identity for the sum of the squares of binomial coefficients, we have:
Sn=k=0∑n(kn)2=(n2n).
5. Therefore, S2n=(2n4n). We need to show that S2n+1=(2n4n)+1 is not divisible by 3.
6. We use a lemma related to binomial coefficients modulo a prime p:
Lemma: If (x2x) is not divisible by p, and x=(a0,a1,…,at)p (base p representation), then 0≤ai≤2p−1.
7. Applying this lemma with p=3, we consider 2n in base 3 representation. Let 2n=(a0,a1,…,at)3 where ai∈{0,1}.
8. By the lemma, if (2n4n) is not divisible by 3, then the sum of the digits ai in the base 3 representation of 2n must be even. This is because each ai can only be 0 or 1, and the sum of an even number of 1's is even.
9. Suppose for contradiction that (2n4n)≡−1(mod3). Then:
(2n4n)=i=0∑t(ai2ai)(mod3).
Notice that each term (ai2ai) is 1 if ai=0 and -1 if ai=1.
10. For (2n4n) to be −1(mod3), there must be an odd number of ai equal to 1. However, this implies that the sum of the digits ai in the base 3 representation of 2n is odd.
11. But 2n=a0+a1⋅3+…+at⋅3t is even, which contradicts the fact that the sum of the digits ai is odd.
12. Therefore, (2n4n)≡1(mod3), and hence S2n+1=(2n4n)+1≡2(mod3), which is not divisible by 3.
■