|
|
A024054
|
|
a(n) = 5^n - n^5.
|
|
10
|
|
|
1, 4, -7, -118, -399, 0, 7849, 61318, 357857, 1894076, 9665625, 48667074, 243891793, 1220331832, 6102977801, 30516818750, 152586842049, 762938033268, 3814695376057, 19073483852026, 95367428440625
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
G.f.: (-6*x^6 - 123*x^5 - 319*x^4 - 44*x^3 + 6*x^2 + 7*x - 1)/((x - 1)^6*(5*x - 1)). - Harvey P. Dale, Oct 15 2014
a(0)=1, a(1)=4, a(2)=-7, a(3)=-118, a(4)=-399, a(5)=0, a(6)=7849, a(n) = 11*a(n-1) - 45*a(n-2) + 95*a(n-3) - 115*a(n-4) + 81*a(n-5) - 31*a(n-6) + 5*a(n-7). - Harvey P. Dale, Oct 15 2014
|
|
MATHEMATICA
|
Table[5^n-n^5, {n, 0, 20}] (* or *) LinearRecurrence[{11, -45, 95, -115, 81, -31, 5}, {1, 4, -7, -118, -399, 0, 7849}, 30] (* Harvey P. Dale, Oct 15 2014 *)
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
sign,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|