cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A316566 Triangle read by rows: T(n,k) is the number of elements of the group GL(2, Z(n)) with order k, 1 <= k <= A316565(n).

This page as a plain text file.
%I A316566 #11 Jul 10 2018 18:52:47
%S A316566 1,1,3,2,1,13,8,6,0,8,0,12,1,27,8,36,0,24,1,31,20,152,24,20,0,40,0,24,
%T A316566 0,40,0,0,0,0,0,0,0,48,0,0,0,80,1,55,26,24,0,98,0,48,0,0,0,12,0,0,0,0,
%U A316566 0,0,0,0,0,0,0,24,1,57,170,42,0,618,48,84,0,0,0,84
%N A316566 Triangle read by rows: T(n,k) is the number of elements of the group GL(2, Z(n)) with order k, 1 <= k <= A316565(n).
%C A316566 For coprime p,q the group GL(p*q, Z(n)) is isomorphic to the direct product of the two groups GL(p, Z(n)) and GL(q, Z(n)).
%H A316566 Andrew Howroyd, <a href="/A316566/b316566.txt">Table of n, a(n) for n = 1..8660</a> (first 40 rows)
%F A316566 T(p*q,k) = Sum_{i>0, j>0, k=lcm(i, j)} T(p, i)*T(q, j) for gcd(p, q)=1.
%F A316566 T(n,k) = Sum_{d|k} mu(d/k) * A316584(n,k).
%e A316566 Triangle begins:
%e A316566   1
%e A316566   1, 3, 2
%e A316566   1, 13, 8, 6, 0, 8, 0, 12
%e A316566   1, 27, 8, 36, 0, 24
%e A316566   1, 31, 20, 152, 24, 20, 0, 40, 0, 24, 0, 40, 0, 0, 0, 0, 0, 0, 0, 48, 0, 0, 0, 80
%e A316566   1, 55, 26, 24, 0, 98, 0, 48, 0, 0, 0, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24
%e A316566   ...
%o A316566 (PARI)
%o A316566 MatOrder(M)={my(id=matid(#M), k=1, N=M); while(N<>id, k++;N=N*M); k}
%o A316566 row(n)={my(L=List()); for(a=0, n-1, for(b=0, n-1, for(c=0, n-1, for(d=0, n-1, my(M=Mod([a, b; c, d], n)); if(gcd(lift(matdet(M)), n)==1, my(t=MatOrder(M)); while(#L<t,listput(L,0)); L[t]++ ))))); Vec(L)}
%o A316566 for(n=1, 6, print(row(n)))
%Y A316566 Row sums are A000252.
%Y A316566 Column 2 is A066947.
%Y A316566 Cf. A316560, A316564, A316565, A316584.
%K A316566 nonn,tabf
%O A316566 1,3
%A A316566 _Andrew Howroyd_, Jul 06 2018