OFFSET
1,1
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..1000
EXAMPLE
a(5) = 1001 = 7 * 11 * 13;
a(6) = 1155 = 3 * 5 * 7 * 11;
a(7) = 2310 = 2 * 3 * 5 * 7 * 11;
a(8) = 2431 = 11 * 13 * 17.
MATHEMATICA
Select[Module[{nn=1000}, Flatten[Table[Times@@@Partition[Prime[Range[nn]], d, 1], {d, 3, 7}]]]//Union, #<10^7&] (* Harvey P. Dale, Aug 04 2024 *)
PROG
(Haskell)
import Data.Set (singleton, deleteFindMin, insert)
a257891 n = a257891_list !! (n-1)
a257891_list = f $ singleton (30, 2, 5) where
f s = y : f (insert (w, p, q') $ insert (w `div` p, a151800 p, q') s')
where w = y * q'; q' = a151800 q
((y, p, q), s') = deleteFindMin s
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, May 12 2015
STATUS
approved