login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A354778
Number of integer quadruples (u,v,w,x) such that u^2+v^2+w^2+x^2 = n^2 and u+v+w+x = n.
5
1, 4, 8, 16, 8, 28, 32, 28, 8, 52, 56, 52, 32, 52, 56, 112, 8, 76, 104, 76, 56, 112, 104, 100, 32, 148, 104, 160, 56, 124, 224, 124, 8, 208, 152, 196, 104, 148, 152, 208, 56, 172, 224, 172, 104, 364, 200, 196, 32, 196, 296, 304, 104, 220, 320, 364, 56, 304, 248, 244, 224, 244, 248, 364, 8, 364, 416, 268, 152, 400, 392, 292, 104, 292, 296, 592, 152, 364, 416, 316, 56, 484, 344, 340, 224
OFFSET
0,2
COMMENTS
This has the most natural offset, 0, just as A000118 does. A354766 gives one-quarter of a(n) for n > 0, and A278085 counts primitive solutions.
FORMULA
See A278085 and A354766 for some conjectural formulas.
CROSSREFS
a(n) = A354777(n^2,n).
Sequence in context: A361667 A361664 A110652 * A059373 A137798 A312754
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jun 27 2022
STATUS
approved