login
A024134
a(n) = 11^n - n^7.
2
1, 10, -7, -856, -1743, 82926, 1491625, 18663628, 212261729, 2353164722, 25927424601, 285292183440, 3138392544913, 34522649395414, 379749728169737, 4177247998556276, 45949729595136705, 505447028088955098
OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (19,-116,364,-686,826,-644,316,-89,11).
FORMULA
a(n) = 19*a(n-1) - 116*a(n-2) + 364*a(n-3) - 686*a(n-4) + 826*a(n-5) - 644*a(n-6) + 316*a(n-7) - 89*a(n-8) + 11*a(n-9) with a(0)=1, a(1)=10, a(2)=-7, a(3)=-856, a(4)=-1743, a(5)=82926, a(6)=1491625, a(7)=18663628, a(8)=212261729. - Harvey P. Dale, Aug 12 2012
MATHEMATICA
Table[11^n-n^7, {n, 0, 20}] (* or *) LinearRecurrence[ {19, -116, 364, -686, 826, -644, 316, -89, 11}, {1, 10, -7, -856, -1743, 82926, 1491625, 18663628, 212261729}, 20] (* Harvey P. Dale, Aug 12 2012 *)
PROG
(Magma) [11^n-n^7: n in [0..20]]; // Vincenzo Librandi, Jul 01 2011
(PARI) a(n)= 11^n-n^7 \\ Charles R Greathouse IV, Jul 01 2011
CROSSREFS
Sequence in context: A038309 A185264 A128357 * A180197 A280871 A110934
KEYWORD
sign,easy
STATUS
approved