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.

A209411 Number of 2 x 2 matrices M such that M*transpose(M) == 0 mod n.

Original entry on oeis.org

1, 4, 1, 16, 49, 4, 1, 64, 81, 196, 1, 16, 337, 4, 49, 256, 577, 324, 1, 784, 1, 4, 1, 64, 1825, 1348, 81, 16, 1681, 196, 1, 1024, 1, 2308, 49, 1296, 2737, 4, 337, 3136, 3361, 4, 1, 16, 3969, 4, 1, 256, 2401, 7300, 577, 5392, 5617, 324, 49, 64, 1
Offset: 1

Views

Author

Keywords

Crossrefs

Cf. A182039.

Programs

  • Mathematica
    gg[n_] := gg[n] = Flatten[Table[{{x, y}, {z, t}}, {x, n}, {y, n}, {t, n}, {z, n}], 3]; nil[n_] := nil[n] = Length@gg[n][[Select[Range[Length[gg[n]]], Mod[gg[n][[#]].Transpose[gg[n][[#]]], n] == {{0, 0}, {0, 0}} &]]]; Table[Print[nil[n]]; nil[n], {n, 1, 22}]

Extensions

Keyword:mult added by Andrew Howroyd, Aug 02 2018