OFFSET
0,3
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
R. Brignall et al., Almost avoiding permutations, Discrete Math., 309 (2009), 6626-6631.
FORMULA
G.f.: (1-5*x-6*x^2 + 45*x^3-24*x^4-(1 + x-4*x^2 + x^3)*(1-4*x)^(3/2))/(-2*x^2*(1-4*x)^(3/2)).
a(n) ~ 2^(2*n-2)*sqrt(n)/sqrt(Pi). - Vaclav Kotesovec, Aug 23 2014
Conjecture: 2*(n+2)*(2013*n^2-10435*n+41550)*a(n) +(4026*n^3 -128025*n^2 +34955*n+59010)*a(n-1) -2 *(2*n-5)*(20130*n^2 -110855*n +93819) *a(n-2)=0. - R. J. Mathar, Jun 14 2016
MATHEMATICA
CoefficientList[Series[(1 - 5*x - 6*x^2 + 45*x^3 - 24*x^4 - (1 + x - 4*x^2 + x^3)*(1 - 4*x)^(3/2))/(-2*x^2*(1 - 4*x)^(3/2)), {x, 0, 50}], x] (* G. C. Greubel, Mar 22 2017 *)
PROG
(PARI) x='x+O('x^50); Vec((1 - 5*x - 6*x^2 + 45*x^3 - 24*x^4 - (1 + x - 4*x^2 + x^3)*(1 - 4*x)^(3/2))/(-2*x^2*(1 - 4*x)^(3/2))) \\ G. C. Greubel, Mar 22 2017
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
N. J. A. Sloane, Nov 26 2010
STATUS
approved
