The Council

Pehle khud try karo

Sawaal neeche hai. Solve karo, phir solution kholo — sirf answer nahi, poora idea.

Let S=S={}{m∈Z:Am2+Am=3I−A−6}\{m\in\mathbb{Z}:A^{m^2}+A^{m}=3I-A^{-6}\}, where A=A={}[2−110]\begin{bmatrix}2 & -1\\ 1 & 0\end{bmatrix}. Then n(S)n(S) is equal to __________.