Let A=211−10−1−1−10 and B=A−I. If ω=23i−1, then the number of elements in the set {n∈{1,…,100}:An+(ωB)n=A+B} is equal to
Answer: 17
Solutions · 1
Official solution
Direct computation shows A2=A (idempotent), so An=A for all n≥1.
B=A−I=111−1−1−1−1−1−1, and B2=−B, so B3=B, i.e. Bn=B whenever n is odd, and Bn=−B when n is even (n≥2).
Also ω=2−1+3i is a primitive cube root of unity, so ωn=1 requires 3∣n.
For An+(ωB)n=A+B: since An=A always, we need (ωB)n=B, i.e. ωnBn=B. This requires ωn=1 (so 3∣n) and Bn=B (so n odd).
So n must be an odd multiple of 3: n=3,9,15,…,99 --- an arithmetic sequence with common difference 6, from 3 to 99: 699−3+1=17 terms.