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!)
A025424 Number of partitions of n into 9 squares. 3
1, 1, 1, 1, 2, 2, 2, 2, 3, 4, 3, 3, 4, 4, 4, 4, 5, 6, 6, 5, 7, 7, 7, 7, 8, 9, 9, 9, 9, 11, 11, 10, 12, 13, 12, 12, 15, 14, 16, 15, 15, 18, 17, 16, 18, 20, 19, 20, 20, 21, 23, 21, 23, 26, 28, 25, 27, 29, 28, 28, 28, 30, 33, 33, 30, 36, 35, 33, 38, 37, 40, 40, 41, 40, 44, 42, 41, 47, 48, 47, 48 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,5
LINKS
MAPLE
b:= proc(n, i, t) option remember; `if`(n=0, 1,
`if`(i<1 or t<1, 0, b(n, i-1, t)+
`if`(i^2>n, 0, b(n-i^2, i, t-1))))
end:
a:= n-> b(n, isqrt(n), 9):
seq(a(n), n=0..120); # Alois P. Heinz, May 30 2014
MATHEMATICA
b[n_, i_, t_] := b[n, i, t] = If[n == 0, 1, If[i<1 || t<1, 0, b[n, i-1, t] + If[i^2 > n, 0, b[n-i^2, i, t-1]]]]; a[n_] := b[n, Sqrt[n] // Floor, 9]; Table[a[n], {n, 0, 120}] (* Jean-François Alcover, Jun 11 2015, after Alois P. Heinz *)
CROSSREFS
Sequence in context: A069904 A164978 A119789 * A216505 A265626 A230230
KEYWORD
nonn
AUTHOR
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 April 25 16:42 EDT 2024. Contains 371989 sequences. (Running on oeis4.)