OFFSET
1,2
PROG
(Haskell)
a239674 n = a239674_list !! (n-1)
(PARI) list(lim)=my(v=List(), t); forprime(p=2, (lim)^(1/3), forprime(q=p+1, sqrt(lim\p), t=p*q; forprime(r=q+1, lim\t, listput(v, t*r)))); vecsort(Vec(v)) ; \\ A007304
chk(lim) = my(v=list(lim), dv = vector(#v-1, k, v[k+1] - v[k]), r=0); for (i=1, #dv, if (dv[i] > r, r=dv[i]; print1(i, ", ")); ); \\ Michel Marcus, Sep 20 2023
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Reinhard Zumkeller, Mar 23 2014
EXTENSIONS
a(12)-a(14) from Michel Marcus, Sep 20 2023
a(15)-a(20) from Amiram Eldar, May 19 2024
STATUS
approved