[go: up one dir, main page]

login
A024122
a(n) = 10^n - n^8.
2
1, 9, -156, -5561, -55536, -290625, -679616, 4235199, 83222784, 956953279, 9900000000, 99785641119, 999570018304, 9999184269279, 99998524210944, 999997437109375, 9999995705032704, 99999993024242559, 999999988980039424
OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (19,-126,444,-966,1386,-1344,876,-369,91,-10).
FORMULA
a(n) = 19*a(n-1) - 126*a(n-2) + 444*a(n-3) - 966*a(n-4) + 1386*a(n-5) - 1344*a(n-6) + 876*a(n-7) - 369*a(n-8) + 91*a(n-9) - 10*a(n-10). - Wesley Ivan Hurt, Oct 20 2022
PROG
(Magma) [10^n-n^8: n in [0..20]]; // Vincenzo Librandi, Jul 01 2011
(PARI) a(n)=10^n-n^8 \\ Charles R Greathouse IV, Jul 01 2011
CROSSREFS
Sequence in context: A183471 A109677 A320290 * A377450 A377447 A230180
KEYWORD
sign,easy
STATUS
approved