OFFSET
0,3
COMMENTS
For a partition p, let l(p) = largest part of p, w(p) = number of 1's in p, m(p) = number of parts of p larger than w(p). The crank of p is given by l(p) if w(p) = 0, otherwise m(p)-w(p).
FORMULA
G.f.: 2*x + Product_{i>=1} (1-x^i)/(1+x^i)^2.
a(n) = A132970(n) unless n=1. - Michael Somos, Jul 27 2015
a(n) ~ (-1)^n * exp(Pi*sqrt(n/6)) / (2*sqrt(n)). - Vaclav Kotesovec, Oct 14 2017
EXAMPLE
G.f. = 1 - x + 2*x^2 - x^3 + 5*x^4 - 5*x^5 + 3*x^6 - 5*x^7 + 6*x^8 + ...
MAPLE
p:=2*q + product((1-q^i)/(1+q^i)^2, i=1..200): s:=series(p, q, 200): for j from 0 to 199 do printf(`%d, `, coeff(s, q, j)) od: # James A. Sellers, Nov 30 2006
CROSSREFS
KEYWORD
easy,sign
AUTHOR
Vladeta Jovovic, Oct 20 2006
EXTENSIONS
More terms from James A. Sellers, Nov 30 2006
STATUS
approved