OFFSET
1,1
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..100
EXAMPLE
a(2) = lcm(6,8,10,12) = 120.
MATHEMATICA
Table[LCM@@(2*Range[1-n+n^2, n+n^2]), {n, 15}] (* Harvey P. Dale, Jul 18 2015 *)
Module[{nn=11, tl}, tl=TakeList[Range[2, 2nn+(2nn)^2, 2], Range[2, 2nn, 2]]; LCM@@@ tl] (* Harvey P. Dale, Jan 29 2023 *)
PROG
(PARI) for(n=1, 20, p=1:forstep(k=2*(n^2-n+1), 2*(n^2+n), 2, p=lcm(p, k)):print1(p", "))
(PARI) { for (n=1, 100, a=b=2*n^2 - 2*n + 2; for (k=1, 2*n - 1, a=lcm(a, b + 2*k)); write("b062081.txt", n, " ", a) ) } \\ Harry J. Smith, Jul 31 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Jun 15 2001
EXTENSIONS
Corrected and extended by Ralf Stephan, Mar 20 2003
STATUS
approved