login
A017238
a(n) = (9*n + 6)^6.
1
46656, 11390625, 191102976, 1291467969, 5489031744, 17596287801, 46656000000, 107918163081, 225199600704, 433626201009, 782757789696, 1340095640625, 2194972623936, 3462825991689, 5289852801024, 7858047974841, 11390625000000, 16157819263041, 22483074023424
OFFSET
0,1
FORMULA
G.f.: -729*(64 + 15177*x + 154113*x^2 + 262438*x^3 + 88998*x^4 + 4089*x^5 + x^6)/(x-1)^7. - R. J. Mathar, Mar 20 2018
MATHEMATICA
(9*Range[0, 20]+6)^6 (* Harvey P. Dale, Oct 20 2025 *)
(* Alternative: *)
LinearRecurrence[{7, -21, 35, -35, 21, -7, 1}, {46656, 11390625, 191102976, 1291467969, 5489031744, 17596287801, 46656000000}, 20] (* Harvey P. Dale, Oct 20 2025 *)
PROG
(Magma) [(9*n+6)^6: n in [0..25]]; // Vincenzo Librandi, Jul 25 2011
(Python)
def A017238(n): return (9*n+6)**6 # Aidan Chen, Jan 13 2026
CROSSREFS
Sequence in context: A183620 A017058 A017142 * A223275 A017346 A017466
KEYWORD
nonn,easy
STATUS
approved