OFFSET
1
COMMENTS
This is the characteristic function of A345452, see comments there.
LINKS
FORMULA
PROG
(PARI) A353374(n) = if(bigomega(n)%2, 0, my(f = factor(n)); 0==((sum(i=1, #f~, f[i, 2]*f[i, 1]))%2));
(PARI) A353374(n) = (!(bigomega(n)%2) && !(valuation(n, 2)%2)); \\ After the function "is" provided in A345452 by David A. Corneth, Jun 24 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Apr 17 2022
STATUS
approved