login
A368997
a(n) = 1 if A342001(n) is even, otherwise 0.
5
1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1
OFFSET
1
COMMENTS
Asymptotic mean of this sequence seems to be about 0.416..., i.e., about twice what it is for A368994.
FORMULA
a(n) = A059841(A003415(n) / A003557(n)) = 1 - A342001(n) mod 2.
A368994(n) <= a(n) <= A358680(n).
From Antti Karttunen, Jun 03 2024: (Start)
a(n) >= A369001(n).
a(n) = A035263(n) * A358680(n) = A059841(A373145(n)). [For a proof, consider A001787]
(End)
PROG
(PARI)
A003415(n) = if(n<=1, 0, my(f=factor(n)); n*sum(i=1, #f~, f[i, 2]/f[i, 1]));
A003557(n) = (n/factorback(factorint(n)[, 1]));
A342001(n) = (A003415(n) / A003557(n));
A368997(n) = !(A342001(n)%2);
CROSSREFS
Characteristic function of A368998, whose complement A368999 gives the positions of 0's.
Sequence in context: A353374 A326072 A304362 * A373830 A330682 A230135
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jan 14 2024
STATUS
approved