OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..285
Ivana Jovović and Branko Malešević, Some enumerations of non-trivial composition of the differential operations and the directional derivative, Notes on Number Theory and Discrete Mathematics, Vol. 23, 2017, No. 1, 28-38.
Index entries for linear recurrences with constant coefficients, signature (2,0,-1).
FORMULA
G.f.: ( 3-2*x-4*x^2 ) / ( (x-1)*(x^2+x-1) ). - R. J. Mathar, Aug 08 2012
a(0) = 3, a(1) = 4, a(n) = a(n - 2) + a(n - 1) - 3. - Reinhard Zumkeller, Jul 30 2013
MATHEMATICA
Fibonacci[Range[0, 45]]+3 (* Harvey P. Dale, Oct 26 2011 *)
PROG
(Magma) [ Fibonacci(n) + 3: n in [0..40] ]; // Vincenzo Librandi, Apr 24 2011
(PARI) a(n)=fibonacci(n)+3 \\ Charles R Greathouse IV, Jul 02 2013
(Haskell)
a157726 = (+ 3) . a000045
a157726_list = 3 : 4 : map (subtract 3)
(zipWith (+) a157726_list $ tail a157726_list)
-- Reinhard Zumkeller, Jul 30 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jun 26 2010
STATUS
approved