OFFSET
1,1
EXAMPLE
MATHEMATICA
f[p_, e_] := (p^(e + 1) - 1)/(p - 1); pracQ[n_] := (ind = Position[(fct = FactorInteger[n])[[;; , 1]]/(1 + FoldList[Times, 1, f @@@ Most@fct]), _?(# > 1 &)]) == {}; d[0] = d[1] = 0; d[n_] := n*Plus @@ ((Last[#]/First[#]) & /@ FactorInteger[n]); Select[Range[2, 500], pracQ[#] && pracQ[d[#]] &] (* Amiram Eldar, Aug 21 2023 *)
PROG
(Magma) sk:=func<n, k|&+[Divisors(n)[i]:i in [1..k]]>; ff:=func<n|forall{k:k
in [2..#Divisors(n)]|sk(n, k-1) ge Divisors(n)[k]-1}>; f:=func<n|n le 1 select 0 else n*(&+[Factorisation(n)[i][2] /Factorisation(n)[i][1]: i in [1..#Factorisation(n)]])>; [n:n in [2..500]|ff(n) and ff(Floor(f(n)))];
CROSSREFS
KEYWORD
nonn
AUTHOR
Marius A. Burtea, Aug 18 2023
STATUS
approved