OFFSET
1,2
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (3,-2,-1,1).
FORMULA
G.f.: x*(-1+x^2+x^3) / ( (x^2+x-1)*(x-1)^2 ). - R. J. Mathar, Jul 10 2015
a(n) = A232896(n+1)-2. - R. J. Mathar, Jul 10 2015
MATHEMATICA
Array[Fibonacci[# + 2] + # - 2 &, 30] (* Michael De Vlieger, Jul 10 2015 *)
PROG
(PARI) main(size)={return( vector(size, n, fibonacci(n+2)+n-2)); } /* Anders Hellström, Jul 11 2015 */
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Geoff Ahiakwo, Mar 08 2015
EXTENSIONS
Terms a(31) and beyond from Andrew Howroyd, Dec 23 2019
STATUS
approved