OFFSET
1,1
COMMENTS
1 and 2 have no anti-divisors.
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..41
EXAMPLE
The sum of the divisors of 772 is 1358 while the sum of its anti-divisors is 958. Then (1358 + 958) / 772 = 3.
MAPLE
with(numtheory); P:=proc(q) local a, j, k, n;
for n from 3 to q do k:=0; j:=n; while j mod 2 <> 1 do k:=k+1; j:=j/2; od;
a:=sigma(2*n+1)+sigma(2*n-1)+sigma(n/2^k)*2^(k+1)-6*n-2;
if type((sigma(n)+a)/n, integer) then print(n); fi; od; end: P(10^9);
PROG
(PARI) is(n)=my(k=valuation(n, 2)); (sigma(2*n+1)+sigma(2*n-1)+sigma(n>>k)<<(k+1)+sigma(n))%n==2 \\ Charles R Greathouse IV, Jun 19 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Paolo P. Lava, Apr 23 2014
EXTENSIONS
a(24)-a(34) from Michel Marcus, Jun 19 2015
STATUS
approved