|
| |
|
|
A003995
|
|
Sum of (any number of) distinct squares: of form r^2+s^2+t^2+... with 0<=r<s<t<...
|
|
11
| |
|
|
0, 1, 4, 5, 9, 10, 13, 14, 16, 17, 20, 21, 25, 26, 29, 30, 34, 35, 36, 37, 38, 39, 40, 41, 42, 45, 46, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 61, 62, 63, 64, 65, 66, 68, 69, 70, 71, 73, 74, 75, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 93, 94, 95, 97
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,3
|
|
|
LINKS
| Index entries for sequences related to sums of squares
Index to sequences with linear recurrences with constant coefficients, signature (2,-1).
|
|
|
FORMULA
| Exponents in expansion of (1+x)*(1+x^4)*(1+x^9)*(1+x^16)*(1+x^25)*(1+x^36)*(1+x^49)*(1+x^64)*(1+x^81)*(1+x^100)*(1+x^121)*(1+x^144)*...
For n > 97, a(n) = n + 31. [Charles R Greathouse IV, Sep 02 2011]
|
|
|
PROG
| (PARI) a(n)=if(n<1, 0, n=a(n-1); until(polcoeff(prod(k=1, sqrt(n), 1+x^k^2), n), n++); n)
|
|
|
CROSSREFS
| Cf. A001983, A033461, A008935. Complement of A001422.
Sequence in context: A109825 A193259 A008935 * A064473 A001983 A143575
Adjacent sequences: A003992 A003993 A003994 * A003996 A003997 A003998
|
|
|
KEYWORD
| nonn,easy,nice
|
|
|
AUTHOR
| N. J. A. Sloane (njas(AT)research.att.com).
|
| |
|
|