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!)
A294266 Number of partitions of n into distinct squares that do not divide n. 2
1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 2, 1, 0, 0, 3, 0, 0, 0, 1, 1, 0, 0, 1, 3, 0, 0, 2, 2, 0, 0, 1, 0, 1, 0, 2, 1, 1, 0, 3, 1, 0, 0, 2, 3, 0, 0, 1, 1, 0, 1, 2, 1, 1, 0, 2, 2, 0, 0, 3, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,30
LINKS
EXAMPLE
a(29) = 2 because we have [25, 4] and [16, 9, 4].
MAPLE
f:= proc(n) local P, k, x;
P:= 1;
for k from 2 to floor(sqrt(n)) do
if n mod k^2 = 0 then next fi;
P:= series(P*(1+x^(k^2)), x, n+1);
od;
coeff(P, x, n)
end proc:
map(f, [$0..200]); # Robert Israel, Apr 15 2024
MATHEMATICA
Table[SeriesCoefficient[Product[1 + Boole[Mod[n, k] > 0 && OddQ[DivisorSigma[0, k]]] x^k, {k, 1, n}], {x, 0, n}], {n, 0, 110}]
CROSSREFS
Sequence in context: A089814 A063100 A353377 * A127475 A086014 A025437
KEYWORD
nonn,look,changed
AUTHOR
Ilya Gutkovskiy, Oct 26 2017
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 19 07:38 EDT 2024. Contains 371782 sequences. (Running on oeis4.)