OFFSET
2,4
LINKS
Harvey P. Dale, Table of n, a(n) for n = 2..1000
Shu-Chung Liu, Jun Ma, Yeong-Nan Yeh, Dyck Paths with Peak- and Valley-Avoiding Sets, Stud. Appl Math. 121 (3) (2008) 263-289.
FORMULA
G.f.: (1 - x - sqrt(1 - 2*x - 3*x^2 + 4*x^4))/(2(1+x)x^2).
Conjecture: -n*a(n) + (n-3)*a(n-1) + (5*n-12)*a(n-2) + 3*(n-3)*a(n-3) + 4*(6-n)*a(n-4) + 4*(6-n)*a(n-5) = 0. - R. J. Mathar, Aug 14 2012
G.f.: 1/x^2 - 2/x + 2/(1+x) + G(0)/x where G(k) = 1 - 1/(x + x^2/(1 + x/G(k+1))); (continued fraction, 3-step). - Sergei N. Gladkovskii, Nov 28 2012
MATHEMATICA
CoefficientList[Series[(1-x-Sqrt[1-2x-3x^2+4x^4])/(2x^2 (1+x)), {x, 0, 30}], x] (* Harvey P. Dale, Feb 10 2015 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Jun Ma (majun(AT)math.sinica.edu.tw), Nov 27 2008
STATUS
approved