OFFSET
0,4
LINKS
FORMULA
a(n) + a(n+1) = A099213(n+1).
G.f.: (1-x)/(1-x-x^2-3*x^3).
If p[1]=0, p[2]=1, p[i]=4, (i>2), and if A is Hessenberg matrix of order n defined by: A[i,j]=p[j-i+1], (i<=j), A[i,j]=-1, (i=j+1), and A[i,j]=0 otherwise, then, for n>=1, a(n)=det A. - Milan Janjic, May 02 2010
MATHEMATICA
LinearRecurrence[{1, 1, 3}, {1, 0, 1}, 40] (* Harvey P. Dale, May 04 2018 *)
PROG
(PARI) Vec((1-x)/(1-x-x^2-3*x^3) + O(x^40)) \\ Michel Marcus, Aug 07 2022
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Philippe Deléham, Sep 27 2006
EXTENSIONS
Corrected by T. D. Noe, Nov 07 2006
STATUS
approved