login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A091979 Number of odd proper distinct prime divisors of n. That is, the number of odd distinct prime divisors of n that are less than n. 2
0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 2, 0, 0, 1, 0, 1, 2, 1, 0, 1, 1, 1, 1, 1, 0, 2, 0, 0, 2, 1, 2, 1, 0, 1, 2, 1, 0, 2, 0, 1, 2, 1, 0, 1, 1, 1, 2, 1, 0, 1, 2, 1, 2, 1, 0, 2, 0, 1, 2, 0, 2, 2, 0, 1, 2, 2, 0, 1, 0, 1, 2, 1, 2, 2, 0, 1, 1, 1, 0, 2, 2, 1, 2, 1, 0, 2, 2, 1, 2, 1, 2, 1, 0, 1, 2, 1 (list; graph; refs; listen; history; text; internal format)
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
Cf. A001227.
Sequence in context: A338203 A324930 A179519 * A321742 A228716 A029430
KEYWORD
nonn
AUTHOR
Mohammad K. Azarian, Mar 15 2004
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 10:29 EDT 2024. Contains 371905 sequences. (Running on oeis4.)