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!)
A357354 Number of partitions of n into distinct positive squares such that the number of parts is a square. 2
1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 3, 1, 0, 2, 0, 0, 1, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,79
LINKS
EXAMPLE
a(30) = 1 because we have [16,9,4,1].
a(78) = 3: [36,25,16,1], [49,16,9,4], [64,9,4,1].
MAPLE
b:= proc(n, i, t) option remember; `if`(n=0,
`if`(issqr(t), 1, 0), `if`(n>i*(i+1)*(2*i+1)/6, 0,
`if`(i^2>n, 0, b(n-i^2, i-1, t+1))+b(n, i-1, t)))
end:
a:= n-> b(n, isqrt(n), 0):
seq(a(n), n=0..100); # Alois P. Heinz, Sep 25 2022
CROSSREFS
Sequence in context: A103879 A322706 A051722 * A166408 A327077 A284826
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Sep 25 2022
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 July 15 06:17 EDT 2024. Contains 374324 sequences. (Running on oeis4.)