login
A354032
a(n) = 1 if phi(n)+sigma(n) == 2 (mod 4), otherwise 0.
3
1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1
OFFSET
1
FORMULA
For n > 1, a(n) = A353812(n) + A354029(n).
PROG
(PARI) A354032(m) = (2==((sigma(m)+eulerphi(m))%4)); \\ See "isok" function in A292763
CROSSREFS
Characteristic function of A292763.
Sequence in context: A094934 A245837 A245656 * A285625 A283966 A054354
KEYWORD
nonn
AUTHOR
Antti Karttunen, May 15 2022
STATUS
approved