OFFSET
1,2
COMMENTS
Includes 3 * p for all primes p <> 3, 5^2 * p and 5 * p^2 for all primes p <> 5, 7 * p * q for distinct primes p, q <> 7, 12 * p for all primes p > 3, 16 * p^2 for all odd primes p. - Robert Israel, Mar 12 2025
LINKS
Felix Huber, Table of n, a(n) for n = 1..10000
EXAMPLE
15 is in the sequence because it has the 4 divisors 1, 3, 5, 15 and sigma(3) = 1 + 3 = 4.
60 is in the sequence because it has the 12 divisors 1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30, 60 and sigma(6) = 1 + 2 + 3 + 6 = 12.
MAPLE
MATHEMATICA
q[k_] := AnyTrue[Divisors[k], DivisorSigma[1, #] == DivisorSigma[0, k] &]; Select[Range[300], q] (* Amiram Eldar, Mar 12 2025 *)
PROG
(PARI) isok(k) = sumdiv(k, d, sigma(d) == numdiv(k)) >= 1; \\ Michel Marcus, Mar 12 2025
CROSSREFS
KEYWORD
nonn,new
AUTHOR
Felix Huber, Mar 12 2025
STATUS
approved