OFFSET
0,3
COMMENTS
LINKS
Index entries for linear recurrences with constant coefficients, signature (29, -54).
FORMULA
a(n) = (27^n - 2^n)/25.
G.f.: x/((27*x-1)*(2*x-1)).
MATHEMATICA
(#[[1]]-#[[2]])/25&/@Partition[Riffle[27^Range[0, 20], 2^Range[0, 20]], 2] (* Harvey P. Dale, Jan 22 2011 *)
PROG
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Johannes W. Meijer, Sep 21 2010
STATUS
approved