OFFSET
1,15
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
EXAMPLE
The odd distinct prime divisors of 15 that are less than 15 are 3 and 5. Thus the number of odd distinct prime divisors of 15 that are less than 15 is 2.
MATHEMATICA
Join[{0, 0}, Table[PrimeNu[n]-If[Divisible[n, 2], 1, 0]-If[PrimeQ[n], 1, 0], {n, 3, 100}]] (* Harvey P. Dale, Feb 08 2013 *)
PROG
(PARI) a(n)=omega(n)-if(n%2, isprime(n), 1) \\ Charles R Greathouse IV, Apr 25 2012
CROSSREFS
KEYWORD
nonn
AUTHOR
Mohammad K. Azarian, Mar 15 2004
STATUS
approved
