[go: up one dir, main page]

login
A374471
a(n) = 1 if bigomega(n) and A064547(n) are both even, otherwise 0, where A064547 is the count of 1-bits in the exponents of the prime factorization of n, and bigomega is the number of prime factors of n (with multiplicity).
4
1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0
OFFSET
1
FORMULA
a(n) = A065043(n) * A359464(n).
a(n) = A059841(A374470(n)).
PROG
(PARI)
A064547(n) = { my(f = factor(n)[, 2]); sum(k=1, #f, hammingweight(f[k])); };
A374471(n) = (!(bigomega(n)%2) && !(A064547(n)%2));
CROSSREFS
Characteristic function of A374472, whose complement A374473 gives the indices of 0's.
Sequence in context: A356170 A353629 A339661 * A320656 A354819 A322075
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jul 14 2024
STATUS
approved