OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (15,-84,252,-462,546,-420,204,-57,7).
FORMULA
G.f.: (55*x^8+546*x^7+8966*x^6+14692*x^5+6726*x^4-694*x^3-50*x^2-1) / ((x-1)^8*(7*x-1)). - Colin Barker, May 09 2013
EXAMPLE
a(1) = 1^7 + 7*1 + 7^1 = 15.
a(2) = 2^7 + 7*2 + 7^2 = 191.
MATHEMATICA
Table[n^7 + 7*n + 7^n, {n, 0, 30}] (* T. D. Noe, Dec 17 2012 *)
PROG
(Maxima) makelist(n^7 + 7*n + 7^n, n, 0, 20); /* Martin Ettl, Jan 15 2013 */
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Jonathan Vos Post, Dec 15 2012
STATUS
approved