OFFSET
1,2
COMMENTS
The range of this sequence is the union of squares and the odd numbers: A128201.
LINKS
R. Zumkeller, Table of n, a(n) for n = 1..10000
MATHEMATICA
sppQ[n_] := With[{f = FactorInteger[n][[All, 2]]}, n == 1 || Length[f] == 1 && EvenQ[f[[1]]] || Length[f] == 2 && f[[1]] == f[[2]]];
DivisorSigma[0, #]& /@ Select[Range[1000], sppQ] (* Jean-François Alcover, Nov 21 2020 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Mar 04 2007
STATUS
approved