OFFSET
1,2
EXAMPLE
14 is a term because gcd(sigma(14), pod(14)) = gcd(24, 196) = 4 = tau(14).
PROG
(Magma) [n: n in [1..10^5] | GCD(SumOfDivisors(n), &*[d: d in Divisors(n)]) eq NumberOfDivisors(n)]
(PARI) isok(n) = my(d=divisors(n)); gcd(vecsum(d), vecprod(d)) == #d; \\ Michel Marcus, Mar 05 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Jaroslav Krizek, Mar 05 2019
STATUS
approved