The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A353812 a(n) = 1 if sigma(n) is of the form 4m+2, otherwise 0. 7

%I #11 May 15 2022 17:21:19

%S 0,0,0,0,1,0,0,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,0,0,0,1,0,0,1,0,0,0,0,1,

%T 0,0,1,0,0,1,1,0,0,0,1,0,0,0,0,0,0,1,1,0,0,0,0,1,0,0,1,0,0,0,0,0,0,1,

%U 0,0,0,0,1,1,0,0,0,0,0,1,0,1,0,0,0,0,0,0,1,1,0,0,0,0,0,0,1,0,0,0,1,0,0,1,0,1,0,0,1,0,0,0,1,0,0,1,1,0,0,0,0,1,0,0,0

%N a(n) = 1 if sigma(n) is of the form 4m+2, otherwise 0.

%H Antti Karttunen, <a href="/A353812/b353812.txt">Table of n, a(n) for n = 1..100000</a>

%H <a href="/index/Ch#char_fns">Index entries for characteristic functions</a>

%H <a href="/index/Si#SIGMAN">Index entries for sequences related to sigma(n)</a>

%F a(n) = A347870(n) - A353811(n).

%F a(n) >= A353813(n).

%t a[n_] := If[Mod[DivisorSigma[1, n], 4] == 2, 1, 0]; Array[a, 100] (* _Amiram Eldar_, May 13 2022 *)

%o (PARI) A353812(n) = (2==(sigma(n)%4));

%Y Characteristic function of A191217.

%Y Cf. A000203, A347870, A353811.

%Y Differs from A353813 for the first time at n=325, where a(325) = 1, while A353813(325) = 0.

%K nonn

%O 1

%A _Antti Karttunen_, May 13 2022

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 June 5 23:50 EDT 2024. Contains 373110 sequences. (Running on oeis4.)