OFFSET
1,2
LINKS
MATHEMATICA
With[{upto = 500}, Table[If[Count[Divisible[n, #[[;; n]]], True] == 1, n, Nothing], {n, upto}] & [DivisorSigma[1, Range[upto]]]]
PROG
(PARI) isok(m) = for(k=2, m, if (!(m % sigma(k)), return(0))); 1; \\ Michel Marcus, Dec 12 2024
CROSSREFS
KEYWORD
nonn,new
AUTHOR
Paolo Xausa, Dec 11 2024
STATUS
approved