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!)
A354036 a(n) = 1 if n is odd and sigma(n^2) == 1 (mod 4), otherwise 0. 3
1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 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) = A000035(n) * [A010873(A065764(n)) == 1], where [ ] is the Iverson bracket.
a(n) = A000035(n) - A354035(n).
MATHEMATICA
a[n_] := If[OddQ[n] && Mod[DivisorSigma[1, n^2], 4] == 1, 1, 0]; Array[a, 100] (* Amiram Eldar, May 16 2022 *)
PROG
(PARI) A354036(n) = ((n%2)&&1==(sigma(n*n)%4));
CROSSREFS
Characteristic function of A354039.
Sequence in context: A285142 A267525 A014429 * A284948 A011637 A016229
KEYWORD
nonn
AUTHOR
Antti Karttunen, May 16 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 4 14:53 EDT 2024. Contains 372245 sequences. (Running on oeis4.)