\[\boxed{\mathbf{1296}\mathbf{.}}\]
\[tg^{2}\ a + ctg^{2}\ a;\ \]
\[tg\ a + ctg\ a = 3:\]
\[tg^{2}\ a + ctg^{2}\ a =\]
\[= (tg\ a + ctg\ a)^{2} - 2 \bullet tg\ a \bullet \frac{1}{\text{tg\ a}} =\]
\[= (tg\ a + ctg\ a)^{2} - 2 =\]
\[= 3^{2} - 2 = 9 - 2 = 7.\]