|
|
A333167
|
|
a(n) = r_2(n^2 + 1), where r_2(k) is the number of ways of writing k as a sum of 2 squares (A004018).
|
|
4
|
|
|
4, 4, 8, 8, 8, 8, 8, 12, 16, 8, 8, 8, 16, 16, 8, 8, 8, 16, 24, 8, 8, 16, 16, 16, 8, 8, 8, 16, 16, 8, 16, 16, 24, 16, 16, 8, 8, 16, 24, 8, 8, 12, 16, 24, 16, 8, 16, 32, 16, 8, 16, 8, 16, 16, 8, 16, 8, 32, 16, 8, 16, 8, 16, 16, 16, 8, 8, 16, 32, 8, 24, 8, 32, 32
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
REFERENCES
|
Steven R. Finch, Mathematical Constants II, Encyclopedia of Mathematics and Its Applications, Cambridge University Press, Cambridge, 2018, p. 166.
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
a(0) = r_2(0^2 + 1) = r_2(1) = A004018(1) = 4.
|
|
MATHEMATICA
|
Table[SquaresR[2, k^2 + 1], {k, 0, 100}]
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|