OFFSET
1,1
COMMENTS
Includes 11*p^2, 14*p^2 and 15*p^2 for primes p coprime to 11, 14 and 15 respectively. In the first 1000 terms, the only one that is not one of those is 343.
LINKS
Robert Israel, Table of n, a(n) for n = 1..1000
EXAMPLE
a(3) = 99 is a term because sigma(99) = 156, psi(99) = 144, tau(99) = 6 and 156 = 144 + 2*6.
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) + 2* mul(t[2]+1, t=F);
end proc:
select(filter, [$1..10^6]);
MATHEMATICA
psi[k_] := k Sum[MoebiusMu[d]^2/d, {d, Divisors[k]}]; ok[k_]:=DivisorSigma[1, k]==psi[k]+2DivisorSigma[0, k]; Select[Range[50000], ok] (* James C. McMahon, Oct 15 2025 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert Israel, Oct 12 2025
STATUS
approved
