login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A361695 Number of ways of writing n^2 as a sum of seven squares. 2
1, 14, 574, 3542, 18494, 43414, 145222, 235998, 591934, 860846, 1779974, 2256422, 4678982, 5195750, 9675918, 10983742, 18942014, 19873966, 35294686, 34670454, 57349894, 59707494, 92513302, 90116222, 149759302, 135668414, 213025750, 209185718, 311753358, 287144326, 450333422 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(n) = [x^(n^2)] (Sum_{j=-n..n} x^(j^2))^7.
a(n) = A008451(n^2).
a(n) = A302996(n,7).
MAPLE
a:= n-> coeff((sum(x^(j^2), j=-n..n))^7, x, n^2):
seq(a(n), n=0..30);
# second Maple program:
b:= proc(n, t) option remember; `if`(n=0, 1, `if`(n<0 or t<1, 0,
b(n, t-1) +2*add(b(n-j^2, t-1), j=1..isqrt(n))))
end:
a:= n-> b(n^2, 7):
seq(a(n), n=0..30);
CROSSREFS
Column k=7 of A302996.
Sequence in context: A217582 A002010 A166185 * A349766 A269478 A269645
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Mar 22 2023
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 5 08:10 EDT 2024. Contains 375696 sequences. (Running on oeis4.)