%I #7 Mar 15 2023 10:51:40
%S 0,6,50,192,512,1126,2146,3760,6112,9430,13922,19888,27504,37206,
%T 49202,63872,81600,102854,127874,157328,191440,230870,276114,327776,
%U 386128,452118,526178,608960,701056,803430,916290,1040976,1177744,1327606
%N Number of 2 X 2 non-singular integer matrices with entries from {0,...,n}.
%C All these numbers are even because there are the same number of matrices with positive and negative determinants. [_T. D. Noe_, Oct 08 2008]
%t Table[cnt=0; Do[If[a*d-b*c != 0, cnt++ ], {a,0,n}, {b,0,n}, {c,0,n}, {d,0,n}]; cnt, {n,0,10}] (* _T. D. Noe_, Oct 08 2008 *)
%Y This sequence a(n) and A059306 give together all the 2 X 2 matrices with entries from {0, ..., n}, i.e. a(n) + A059306(n) = (n+1)^4.
%K nonn,nice
%O 0,2
%A Ahmed Fares (ahmedfares(AT)my-deja.com), Jul 19 2001
%E More terms from _T. D. Noe_, Oct 08 2008
|