The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A238210 The total number of 3's in all partitions of n into an odd number of distinct parts. 2
0, 0, 0, 1, 0, 0, 1, 0, 1, 2, 2, 2, 3, 3, 4, 5, 6, 7, 8, 10, 12, 14, 17, 20, 23, 28, 32, 37, 44, 51, 58, 68, 78, 89, 103, 118, 134, 154, 175, 199, 227, 257, 291, 330, 373, 421, 475, 535, 602, 677, 760, 852, 955, 1069, 1196, 1336, 1491, 1663, 1853, 2063, 2296 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,10
COMMENTS
The g.f. for "number of k's" is (1/2)*(x^k/(1+x^k))*(Product_{n>=1} 1 + x^n) + (1/2)*(x^k/(1-x^k))*(Product_{n>=1} 1 - x^n).
LINKS
FORMULA
a(n) = Sum_{j=1..round(n/6)} A067661(n-(2*j-1)*3) - Sum_{j=1..floor(n/6)} A067659(n-6*j).
G.f.: (1/2)*(x^3/(1+x^3))*(Product_{n>=1} 1 + x^n) + (1/2)*(x^3/(1-x^3))*(Product_{n>=1} 1 - x^n).
EXAMPLE
a(12) = 3 because the partitions in question are: 8+3+1, 7+3+2, 5+4+3.
PROG
(PARI) seq(n)={my(A=O(x^(n-2))); Vec(x^3*(eta(x^2 + A)/(eta(x + A)*(1+x^3)) + eta(x + A)/(1-x^3))/2, -(n+1))} \\ Andrew Howroyd, May 01 2020
CROSSREFS
Column k=3 of A238450.
Sequence in context: A035397 A033295 A018049 * A120170 A136421 A274159
KEYWORD
nonn
AUTHOR
Mircea Merca, Feb 20 2014
EXTENSIONS
Terms a(51) and beyond from Andrew Howroyd, May 01 2020
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 June 2 15:24 EDT 2024. Contains 373040 sequences. (Running on oeis4.)