A024081 a(n) = 7^n - n^6.
1, 6, -15, -386, -1695, 1182, 70993, 705894, 5502657, 39822166, 281475249, 1975555182, 13838301217, 96884183598, 678215543313, 4747550119318, 33232913792385, 232630489849638, 1628413563898225, 11398895138327262
Offset: 0
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..400
- Index entries for linear recurrences with constant coefficients, signature (14,-70,182,-280,266,-154,50,-7).
Programs
-
Magma
[7^n-n^6: n in [0..20]]; // Vincenzo Librandi, Jul 2011
-
Mathematica
Table[7^n-n^6,{n,0,30}] (* Harvey P. Dale, May 28 2019 *)