OFFSET
0,3
LINKS
S. Kitaev, J. Remmel and M. Tiefenbruck, Marked mesh patterns in 132-avoiding permutations I, arXiv preprint arXiv:1201.6243 [math.CO], 2012. Sect 5.1 gives rational g.f.
Kyu-Hwan Lee, Se-jin Oh, Catalan triangle numbers and binomial coefficients, arXiv:1601.06685 [math.CO], 2016.
FORMULA
For n>=2, a(n)=(n^2+n-2)/2. - Robert Price, Jun 02 2012
For n>=5, a(n)=3*a(n-1)-3*a(n-2)+a(n-3). G.f.: (1-2*x+2*x^2+x^3-x^4)/(1-x)^3. - Colin Barker, Jul 06 2012
MATHEMATICA
QQ0[t, x] = (1 - (1-4*x*t)^(1/2)) / (2*x*t); QQ1[t, x] = 1/(1 - t*QQ0[t, x]); QQ2[t, x] = (1 + t*(QQ1[t, x] - QQ0[t, x]))/(1 - t*QQ0[t, x]); QQ3[t, x] = (1 + t*(QQ2[t, x] - QQ0[t, x] + t*(QQ1[t, x] - QQ0[t, x])))/(1 - t*QQ0[t, x]); q=Simplify[Series[QQ3[t, x], {t, 0, 35}]]; CoefficientList[q /. x -> 0, t] (* Robert Price, Jun 04 2012 *)
CROSSREFS
KEYWORD
nonn,easy,changed
AUTHOR
N. J. A. Sloane, May 09 2012
EXTENSIONS
a(10)-a(35) from Robert Price, Jun 02 2012
Added a(0) to correspond to given offset and to be consistent with A212346, Robert Price, Jun 02 2012
STATUS
approved