OFFSET
1,2
LINKS
Donovan Johnson, Table of n, a(n) for n = 1..10000
FORMULA
Both sigma_1(x)/sigma_0(x) and x/sigma_0(x) are integers. - clarified by Harvey P. Dale, Apr 27 2012
EXAMPLE
x = 56, sigma(x) = 120, number of divisors of x = 8. 120/8 and 56/8 are integers.
MATHEMATICA
adiQ[n_]:=Module[{ds1=DivisorSigma[1, n], ds0=DivisorSigma[0, n]} , Divisible[ ds1, ds0]&&Divisible[n, ds0]]; Select[Range[2000], adiQ] (* Harvey P. Dale, Apr 27 2012 *)
PROG
(PARI) isok(n) = my(d = numdiv(n)); !(n % d) && !(sigma(n) % d); \\ Michel Marcus, Oct 15 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved