OFFSET
1,1
COMMENTS
REFERENCES
J.-M. De Koninck & A. Mercier, 1001 Problèmes en Théorie Classique des Nombres, Problème 620 pp. 82, 280, Ellipses Paris 2004
EXAMPLE
Sigma(9) = 1+3+9 = 13 < sigma(8) = 1+2+4+8 = 15 so 9 is a term.
Sigma(15) = 1+3+5+15 = 24 = sigma(14) = 1+2+7+14 = 24 so 15 is a term.
Sigma(63) = 1+3+7+9+21+63 = 104 > sigma(62) = 1+2+31+62 = 96 and 63 is not a term.
MAPLE
filter:= m -> sigma(m) <= sigma(m-1): select(filter, [$1..500]);
MATHEMATICA
Select[Range[2, 123], DivisorSigma[1, #] <= DivisorSigma[1, # - 1] &] (* Amiram Eldar, Mar 06 2020 *)
Flatten[Position[Partition[DivisorSigma[1, Range[200]], 2, 1], _?(#[[2]]<= #[[1]]&), 1, Heads->False]]+1 (* Harvey P. Dale, Mar 28 2020 *)
PROG
(PARI) isok(m) = (m>1) && (sigma(m) <= sigma(m-1)); \\ Michel Marcus, Mar 09 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Bernard Schott, Mar 06 2020
STATUS
approved