OFFSET
0,2
LINKS
Martin Burtscher, Igor Szczyrba, and RafaĆ Szczyrba, Analytic Representations of the n-anacci Constants and Generalizations Thereof, Journal of Integer Sequences, Vol. 18 (2015), Article 15.4.5.
Index entries for linear recurrences with constant coefficients, signature (1,1,1).
FORMULA
a(n) = a(n-1) + a(n-2) + a(n-3).
G.f.: (1+7x+18x^2)/(1-x-x^2-x^3).
MAPLE
a[0] := 1: a[1] := 8: a[2] := 27: for n from 3 to 40 do a[n] := a[n-1]+a[n-2]+a[n-3] od: seq(a[n], n=0..40);
MATHEMATICA
LinearRecurrence[{1, 1, 1}, {1, 8, 27}, 32] (* Ray Chandler, Dec 08 2013 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Jun Mizuki (suzuki32(AT)sanken.osaka-u.ac.jp), Aug 28 2003
EXTENSIONS
Edited by Emeric Deutsch, Mar 09 2004
STATUS
approved