login
A359770
a(n) = 1 if n and bigomega(n) are of different parity, otherwise 0. Here bigomega (A001222) gives the number of prime factors of n with multiplicity.
7
1, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 1
OFFSET
1
FORMULA
a(n) = A000035(A069345(n)) = A000035(n-A001222(n)).
a(n) = A353556(n) + A353557(n).
PROG
(PARI) A359770(n) = ((n-bigomega(n))%2);
CROSSREFS
Parity of A069345, and of A359769 (also the absolute values).
Characteristic function of A359771, whose complement A359772 gives the positions of 0's.
Sum of A353556 and A353557.
Cf. A000035, A001222, A065043 [= a(A003961(n))], A359815 (Dirichlet inverse).
Sequence in context: A015556 A336040 A359769 * A015780 A011642 A016338
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jan 15 2023
STATUS
approved