OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000 (terms 1..1000 from Harvey P. Dale)
EXAMPLE
k = 25: divisors(25) = {1,5,25}, 3 divisors; divisors(sigma(25)) = {1,31}, 2 divisors; 2 < 3, so 25 is a term.
k = 48: divisors(48) = {1,2,3,4,6,8,12,16,24,48}, 10 divisors; divisors(sigma(48)) = {1,2,4,31,62,124}, 6 divisors, 6 < 10 so 48 is a term.
MATHEMATICA
Do[s=DivisorSigma[0, DivisorSigma[1, n]]; s0=DivisorSigma[0, n]; If[Greater[s0, s], Print[n]], {n, 1, 1000}]
Select[Range[900], DivisorSigma[0, #]>DivisorSigma[0, DivisorSigma[1, #]]&] (* Harvey P. Dale, Jan 18 2017 *)
PROG
(PARI) isok(k) = {my(f = factor(k)); numdiv(f) > numdiv(sigma(f)); } \\ Amiram Eldar, Mar 07 2025
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
Labos Elemer, Aug 13 2002
STATUS
approved