OFFSET
1,1
COMMENTS
EXAMPLE
MATHEMATICA
ad[n_] := n * Plus @@ ((Last[#]/First[#]) & /@ FactorInteger[n]); ahQ[n_] := Divisible[DivisorSigma[2, n], DivisorSigma[1, n]]; Select[Range[2, 10^6], ahQ[#] && ahQ[ad[#]] &] (* Amiram Eldar, Dec 11 2024 *)
PROG
(Magma) f:=func<n |n le 1 select 0 else n*(&+[Factorisation(n)[i][2] / Factorisation(n)[i][1]: i in [1..#Factorisation(n)]])>; ant:=func<n|IsZero(DivisorSigma(2, n) mod DivisorSigma(1, n))>; [n:n in [2..100000]|ant(n) and ant(Floor(f(n)))];
CROSSREFS
KEYWORD
nonn
AUTHOR
Marius A. Burtea, Dec 05 2024
STATUS
approved