login
A295892
a(n) = 1 if binary weights of n and A003961(n) are of the same parity, 0 otherwise.
2
1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 1, 1
OFFSET
1
FORMULA
a(n) = A000035(1+A000120(n)+A000120(A003961(n))).
a(n) = 1 - A295891(n).
PROG
(Scheme) (define (A295892 n) (A000035 (+ 1 (A000120 n) (A000120 (A003961 n)))))
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Nov 30 2017
STATUS
approved