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!)
A354037 a(n) = 1 if sigma(n)-n is a multiple of 4, otherwise 0. 3
1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
1
LINKS
FORMULA
a(n) = 1 if A010873(A001065(n)) == 0, otherwise 0.
a(n) = [A010873(n) == A105824(n)], where [ ] is the Iverson bracket.
MATHEMATICA
a[n_] := If[Divisible[DivisorSigma[1, n] - n, 4], 1, 0]; Array[a, 100] (* Amiram Eldar, May 16 2022 *)
PROG
(PARI) A354037(n) = (0==((sigma(n)-n)%4));
CROSSREFS
Characteristic function of A354038.
Cf. also A354032, A354097.
Sequence in context: A369975 A369001 A361024 * A185118 A240332 A156297
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 July 26 15:46 EDT 2024. Contains 374635 sequences. (Running on oeis4.)