OFFSET
0,3
COMMENTS
LINKS
Nathaniel Johnston, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (83,-162).
FORMULA
a(n) = (81^n - 2^n)/79.
G.f.: x/((81*x-1)*(2*x-1)).
MATHEMATICA
Table[(81^n-2^n)/79, {n, 0, 15}] (* Vladimir Joseph Stephan Orlovsky, Apr 13 2011 *)
PROG
(Magma) [(81^n-2^n)/79: n in [0..50]]; // Vincenzo Librandi, Apr 15 2011
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Johannes W. Meijer, Sep 21 2010
STATUS
approved