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.

A333173 a(n) = r_4(n^2 + 1), where r_4(k) is the number of ways of writing k as a sum of 4 squares (A000118).

Original entry on oeis.org

8, 24, 48, 144, 144, 336, 304, 744, 672, 1008, 816, 1488, 1440, 2592, 1584, 2736, 2064, 4320, 3472, 4368, 3216, 6048, 4704, 7776, 4624, 7536, 5424, 10656, 7584, 10128, 7776, 12768, 10416, 15840, 10080, 14736, 10384, 19872, 14736, 18288, 12816, 20904, 16992, 28272
Offset: 0

Views

Author

Amiram Eldar, Mar 09 2020

Keywords

Examples

			a(0) = r_4(0^2 + 1) = r_4(1) = A000118(1) = 8.
		

Crossrefs

Programs

  • Mathematica
    Table[SquaresR[4, k^2 + 1], {k, 0, 100}]

Formula

a(n) = A000118(A002522(n)).