login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A156229
Partial sums of A052343.
0
1, 2, 3, 4, 5, 5, 7, 8, 8, 9, 10, 11, 12, 13, 13, 14, 16, 16, 17, 17, 18, 20, 21, 21, 22, 23, 23, 24, 25, 26, 27, 29, 29, 29, 30, 30, 32, 33, 34, 35, 35, 35, 37, 38, 38, 39, 41, 41, 42, 43, 43, 45, 45, 45, 45, 47, 49, 50, 51, 51, 52
OFFSET
0,2
COMMENTS
a(n) = (Pi/4)*n + O(sqrt(n)).
FORMULA
a(n) = sum_{k=1..r(n)} r(2n-k^2+k)-C(r(n),2) where r(n) = A000194(n+1).
MATHEMATICA
terms = 61; QP = QPochhammer;
s = QP[q^2]^4/QP[q]^2 + O[q]^terms;
Ceiling[CoefficientList[s, q]/2] // Accumulate (* Jean-François Alcover, Feb 17 2019 *)
CROSSREFS
Sequence in context: A049448 A354547 A130044 * A340901 A082081 A008475
KEYWORD
nonn
AUTHOR
Vladimir Shevelev, Feb 06 2009
STATUS
approved