OFFSET
1,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..2000
Eric Weisstein's World of Mathematics, Magic Hexagon
Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,5,0,0,0,0,-10,0,0,0,0,10,0,0,0,0,-5,0,0,0,0,1).
MAPLE
A096430:=n->numer((9*(n^4 - 2*n^3 + 2*n^2 - n) + 2)/(2*(2*n-1))): seq(A096430(n), n=1..50); # Wesley Ivan Hurt, Jan 21 2017
MATHEMATICA
Table[Numerator[(9*n*(n^3-2*n^2+2*n-1)+2)/(2*(2*n-1))], {n, 50}] (* G. C. Greubel, Oct 14 2024 *)
PROG
(Magma)
A096430:= func< n | Numerator((9*n*(n^3-2*n^2+2*n-1)+2)/(2*(2*n-1))) >;
[A096430(n): n in [1..50]]; // G. C. Greubel, Oct 14 2024
(SageMath)
def A096430(n): return numerator((9*n*(n^3-2*n^2+2*n-1)+2)/(2*(2*n-1)))
[A096430(n) for n in range(1, 51)] # G. C. Greubel, Oct 14 2024
CROSSREFS
KEYWORD
nonn,easy,frac
AUTHOR
Eric W. Weisstein, Aug 09 2004
STATUS
approved