OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..3591 (terms below 30000)
MATHEMATICA
fun[p_, e_] := If[OddQ[e], (p^(e+1)-1)/(p-1), (p^(e+1)-1)/(p-1)-p^(e/2)]; bsigma[1] = 1; bsigma[n_] := bsigma[n] = Times @@ (fun @@@ FactorInteger[n]); untouchableQ[n_] := Catch[ Do[ If[n == bsigma[k]-k, Throw[True]], {k, 0, (n-1)^2}]] === Null; Reap[ Table[ If[ untouchableQ[n], Sow[n]], {n, 2, 550}]][[2, 1]] (* after Jean-François Alcover at A005114 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, Feb 20 2019
STATUS
approved