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!)
A100522 Number of partitions of n into parts free of both odd squares and even numbers which are not squares, the odd parts they occur with a single multiplicity, there is no restriction on the even parts. 1
1, 0, 0, 1, 1, 1, 0, 2, 2, 1, 1, 3, 3, 2, 2, 5, 6, 3, 5, 8, 9, 7, 8, 13, 14, 10, 14, 19, 20, 17, 20, 29, 30, 26, 32, 42, 45, 41, 47, 63, 64, 60, 70, 88, 91, 87, 99, 124, 128, 123, 143, 172, 179, 176, 200, 240, 246, 246, 279, 325, 337, 338, 381, 440, 456, 461, 519, 590, 615 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,8
LINKS
Noureddine Chair, Partition Identities From Partial Supersymmetry, arXiv:hep-th/0409011, 2004.
FORMULA
G.f.: Product_{k>0} (1+x^(2*k-1))/(1-(-1)^k*x^(k^2)).
EXAMPLE
a(16)=6 because 16 = 13+3 = 11+5 = 7+5+4 = 5+3+4+4 = 4+4+4+4.
MAPLE
series(product((1+x^(2*k-))/(1-(-1)^k*x^(k^2)), k=1..100), x=0, 100);
MATHEMATICA
With[{m=80}, CoefficientList[Series[Product[(1+x^(2*k-1))/(1-(-1)^k *x^(k^2)), {k, m+2}], {x, 0, m}], x]] (* G. C. Greubel, Mar 28 2023 *)
PROG
(Magma)
m:=80;
f:= func< x | (&*[(1+x^(2*k-1))/(1-(-1)^k*x^(k^2)): k in [1..m+2]]) >;
R<x>:=PowerSeriesRing(Integers(), m);
Coefficients(R!( f(x) )); // G. C. Greubel, Mar 28 2023
(SageMath)
m=80
def f(x): return product( (1+x^(2*k-1))/(1-(-1)^k*x^(k^2)) for k in range(1, m+2))
def A100522_list(prec):
P.<x> = PowerSeriesRing(ZZ, prec)
return P( f(x) ).list()
A100522_list(m) # G. C. Greubel, Mar 28 2023
CROSSREFS
Cf. A100926.
Sequence in context: A348890 A110659 A308068 * A258140 A140408 A047080
KEYWORD
nonn
AUTHOR
Noureddine Chair, Nov 25 2004
EXTENSIONS
Offset corrected by G. C. Greubel, Mar 28 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 May 2 17:46 EDT 2024. Contains 372203 sequences. (Running on oeis4.)