OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..215
FORMULA
EXAMPLE
a(1) = 2*4 = 8, a(2) = (2*3)*(4*6)=144.
MATHEMATICA
Module[{nn=50, prs, coms, len}, prs=Select[Range[nn], PrimeQ]; coms=Complement[ Range[4, nn], prs]; len=Min[Length[prs], Length[coms]]; Rest[FoldList[ Times, 1, Times@@@Thread[{Take[prs, len], Take[coms, len]}]]]] (* Harvey P. Dale, Jan 11 2014 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Aug 17 2005
EXTENSIONS
Corrected and extended by Rick L. Shepherd, Aug 20 2005
STATUS
approved