OFFSET
1
LINKS
EXAMPLE
n = 45 = 3^2 * 5 is an odd number with two distinct prime factors, therefore a(45) = 1.
n = 1155 = 3*5*7*11 is an odd number with four distinct prime factors, therefore a(1155) = 1.
MATHEMATICA
Table[If[OddQ[n]&&EvenQ[PrimeNu[n]], 1, 0], {n, 130}] (* Harvey P. Dale, Feb 07 2024 *)
PROG
(PARI) A353675(n) = ((n%2) && !(omega(n)%2));
KEYWORD
nonn
AUTHOR
Antti Karttunen, May 03 2022
STATUS
approved