login
A024095
a(n) = 8^n - n^7.
2
1, 7, -64, -1675, -12288, -45357, -17792, 1273609, 14680064, 129434759, 1063741824, 8570447421, 68683644928, 549693065371, 4397941097600, 35184201229457, 281474708275200, 2251799403346575, 18014397897261952
OFFSET
0,2
LINKS
FORMULA
From Chai Wah Wu, Jan 26 2020: (Start)
a(n) = 16*a(n-1) - 92*a(n-2) + 280*a(n-3) - 518*a(n-4) + 616*a(n-5) - 476*a(n-6) + 232*a(n-7) - 65*a(n-8) + 8*a(n-9) for n > 8.
G.f.: (-9*x^8 - 951*x^7 - 9436*x^6 - 18081*x^5 - 7182*x^4 + 287*x^3 + 84*x^2 + 9*x - 1)/((x - 1)^8*(8*x - 1)). (End)
PROG
(Magma) [8^n-n^7: n in [0..20]]; // Vincenzo Librandi, Jul 05 2011
CROSSREFS
Sequence in context: A252654 A352841 A197787 * A274823 A174508 A253802
KEYWORD
sign,easy
STATUS
approved