|
|
A074503
|
|
a(n) = 1^n + 2^n + 7^n.
|
|
0
|
|
|
3, 10, 54, 352, 2418, 16840, 117714, 823672, 5765058, 40354120, 282476274, 1977328792, 13841291298, 96889018600, 678223089234, 4747561542712, 33232930635138, 232630514118280, 1628413598172594, 11398895185897432
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
LINKS
|
|
|
FORMULA
|
G.f.: 1/(1-x) + 1/(1-2*x) + 1/(1-7*x).
E.g.f.: e^x + e^(2*x) + e^(7*x). (End)
a(n) = 9*a(n-1) - 14*a(n-2) + 6 with a(0)=3, a(1)=10. - Vincenzo Librandi, Jul 21 2010
|
|
MATHEMATICA
|
Table[1^n + 2^n + 7^n, {n, 0, 20}]
LinearRecurrence[{10, -23, 14}, {3, 10, 54}, 20] (* Harvey P. Dale, May 21 2019 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|