OFFSET
1,1
COMMENTS
Includes 5*p^2 for any prime != 5, and 6*p^2 for any prime > 3. Is 27 the only term not of those forms? - Robert Israel, Oct 12 2025
LINKS
Robert Israel, Table of n, a(n) for n = 1..1000
EXAMPLE
20 is in the sequence since sigma(20) = 42 = 36 + 6 = psi(20) + tau(20).
MAPLE
filter:= proc(n) local F, t;
F:= ifactors(n)[2];
mul((t[1]^(t[2]+1)-1)/(t[1]-1), t=F) = n*mul((t[1]+1)/t[1], t=F) + mul(t[2]+1, t=F);
end proc:
select(filter, [$1..10^5]); # Robert Israel, Oct 12 2025
MATHEMATICA
f1[p_, e_] := (p^(e + 1) - 1)/(p - 1);
f2[p_, e_] := (p + 1)*p^(e - 1);
f3[p_, e_] := e + 1;
q[k_] := Module[{f = FactorInteger[k]}, Times @@ f1 @@@ f == Times @@ f2 @@@ f + Times @@ f3 @@@ f]; Select[Range[2, 52000], q] (* Amiram Eldar, Oct 12 2025 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
S. I. Dimitrov, Oct 12 2025
STATUS
approved
