OFFSET
1,1
COMMENTS
LINKS
FORMULA
a(n) = A002315(n) - 2.
G.f. x*(1+x)*(x-5) / ( (x-1)*(1-6*x+x^2) ). - R. J. Mathar, Dec 19 2011
a(n+2) = 6*a(n+1) - a(n) + 8; a(n+3) = 7*a(n+2) - 7*a(n+1) + a(n); a(n+1) = (-4 + (7 + 5*r)*(3 + 2*r)^n + (7 - 5*r)*(3 - 2*r)^n)/2 where r = sqrt(2). - Paul Weisenhorn, Jan 13 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Max Alekseyev, Dec 18 2011
STATUS
approved