login
A144500
Column 4 of array in A144502.
5
1, 65, 946, 13219, 198773, 3289726, 60042295, 1203809111, 26367604594, 627370195033, 16127774194871, 445733080387750, 13185075339881521, 415765494276887249, 13925084982848794378, 493754789222478044011, 18480155500259244528605, 728143711886491334229526
OFFSET
0,2
LINKS
FORMULA
a(n) = ((24*n^3 + 60*n^2 + 50*n + 5)*a(n-1) + (12*n^2 + 24*n + 1)*a(n-2))/(12*n^2 - 11), with a(0) = 1, a(1) = 65. - G. C. Greubel, Oct 08 2023
MATHEMATICA
a[n_]:= a[n]= If[n<2, (65)^n, ((24*n^3+60*n^2+50*n+5)*a[n-1] +(12*n^2 + 24*n+1)*a[n-2])/(12*n^2-11)];
Table[a[n], {n, 0, 40}] (* G. C. Greubel, Oct 08 2023 *)
PROG
(Magma) [n le 2 select (65)^(n-1) else ((24*n^3-12*n^2+2*n-9)*Self(n-1) + (12*n^2-11)*Self(n-2))/(12*(n-1)^2 -11): n in [1..40]]; // G. C. Greubel, Oct 08 2023
(SageMath)
@CachedFunction
def a(n): # a = A144500
if (n<2): return (65)^n
else: return ((24*n^3 + 60*n^2 + 50*n + 5)*a(n-1) + (12*n^2 + 24*n + 1)*a(n-2))/(12*n^2 - 11)
[a(n) for n in range(41)] # G. C. Greubel, Oct 08 2023
KEYWORD
nonn
AUTHOR
STATUS
approved