login
A353812
a(n) = 1 if sigma(n) is of the form 4m+2, otherwise 0.
7
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, 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, 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
OFFSET
1
FORMULA
a(n) = A347870(n) - A353811(n).
a(n) >= A353813(n).
MATHEMATICA
a[n_] := If[Mod[DivisorSigma[1, n], 4] == 2, 1, 0]; Array[a, 100] (* Amiram Eldar, May 13 2022 *)
PROG
(PARI) A353812(n) = (2==(sigma(n)%4));
CROSSREFS
Characteristic function of A191217.
Differs from A353813 for the first time at n=325, where a(325) = 1, while A353813(325) = 0.
Sequence in context: A261990 A144601 A188009 * A353813 A353814 A144596
KEYWORD
nonn
AUTHOR
Antti Karttunen, May 13 2022
STATUS
approved