OFFSET
1,2
COMMENTS
Recall that SL_2(Z) is generated by the matrices S and T, where S = [[0, -1], [1, 0]] and T = [[1, 1], [0, 1]] (read by columns); and S^2 = (ST)^3 = -I.
The number of subgroups for 4*n+{1,2,3} is 0, hence sequence is only for 4*n.
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..949
Wilfried Imrich, On the number of subgroups of given index in SL_2(Z), Archiv der Mathematik, vol. 31, 1978, pp. 224-231.
FORMULA
a(n) = 2*a(n-2) + 4*n*a(n-3) + Sum_{i = 1 .. n-4} a(i)*a(n-3-i) (Theorem 1 from Imrich).
a(n) ~ sqrt((8/3)*Pi)*exp((n/3)*log(4*n)-n/3+(n/2)^(1/3)+(1/2)*log(n)) (Theorem 5 from Imrich).
MAPLE
a := proc(n) option remember: local i: if n < 4 then [1, 8, 22][n]:
else 2*a(n-2)+4*n*a(n-3)+add(a(i)*a(n-3-i), i = 1 .. n-4): fi: end:
seq(a(n), n = 1 .. 26);
MATHEMATICA
CROSSREFS
KEYWORD
nonn
AUTHOR
Lorenzo Sauras Altuzarra, Apr 09 2026
STATUS
approved
