login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A355938 a(n) = 1 if sigma(n^2) is a noncomposite, otherwise 0. 2
1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1
LINKS
FORMULA
a(n) = A080339(A000203(n^2)) = A080339(A065764(n)).
For all n >= 1, a(n) <= A010055(n).
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
Characteristic function of {1} UNION A055638.
Cf. also A355937.
Sequence in context: A059318 A071029 A071030 * A268240 A104037 A014044
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jul 21 2022
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 2 07:19 EDT 2024. Contains 372178 sequences. (Running on oeis4.)