OFFSET
0,2
LINKS
FORMULA
G.f.: -x*(-1-2*x+4*x^2) / ( (x-1)*(x^2+x-1) ). - R. J. Mathar, Mar 15 2011
MATHEMATICA
Join[{a=1, b=4}, Table[c=a+b-1; a=b; b=c, {n, 100}]]
LinearRecurrence[{2, 0, -1}, {1, 4, 4}, 40] (* Harvey P. Dale, Jun 06 2020 *)
PROG
(PARI) a(n)=3*fibonacci(n)+1 \\ Charles R Greathouse IV, Oct 29 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vladimir Joseph Stephan Orlovsky, Mar 15 2011
STATUS
approved