login
A353558
a(n) = 1 if n is an odd number with an odd number of prime factors (counted with multiplicity), otherwise 0.
16
0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1
OFFSET
1
FORMULA
a(n) = A000035(n) * A066829(n).
a(n) = A000035(n) - A353557(n).
a(n) = A066829(n) - A353556(n).
PROG
(PARI) A353558(n) = ((n%2)&&(bigomega(n)%2));
CROSSREFS
Characteristic function of A067019.
Sequence in context: A337802 A257531 A151763 * A353638 A324908 A353760
KEYWORD
nonn
AUTHOR
Antti Karttunen, May 01 2022
STATUS
approved