OFFSET
3,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 3..1000
MAPLE
A023418 := proc(n)
n*(n-3)*(3*n^2-6*n+2)/(3*(n-1)*(n-2)) ;
denom(%) ;
end proc: # R. J. Mathar, May 01 2015
MATHEMATICA
Denominator[Table[n*(n - 3)*(3*n^2 - 6*n + 2)/(3*(n - 1)*(n - 2)), {n, 3, 50}]] (* G. C. Greubel, Jan 01 2018 *)
PROG
(PARI) for(n=3, 30, print1(denominator(n*(n - 3)*(3*n^2 - 6*n + 2)/(3*(n - 1)*(n - 2))), ", ")) \\ G. C. Greubel, Jan 01 2018
(Magma) [Denominator(n*(n - 3)*(3*n^2 - 6*n + 2)/(3*(n - 1)*(n - 2))): n in [3..30]]; // G. C. Greubel, Jan 01 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved