OFFSET
1
LINKS
MATHEMATICA
a[n_] := If[!CompositeQ[DivisorSigma[1, n^2]], 1, 0]; Array[a, 100] (* Amiram Eldar, Jul 21 2022 *)
PROG
(PARI) A355938(n) = ((1==n)||isprime(sigma(n^2)));
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jul 21 2022
STATUS
approved