login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A039736 a(n) = number of primes q<p having (p mod q) = 2, where p = n-th prime. 0
0, 0, 1, 1, 1, 1, 2, 1, 2, 1, 1, 2, 2, 1, 2, 2, 2, 1, 2, 2, 1, 2, 1, 2, 2, 2, 1, 3, 1, 2, 1, 2, 2, 1, 2, 1, 2, 2, 3, 2, 2, 1, 2, 1, 3, 1, 2, 2, 2, 1, 3, 2, 1, 2, 3, 2, 2, 1, 2, 2, 1, 2, 2, 2, 1, 3, 2, 2, 3, 1, 2, 3, 2, 2, 2, 2, 2, 2, 3, 2, 2, 1, 3, 1, 2, 2, 2, 3, 2, 1, 3, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 3, 3, 2, 1 (list; graph; refs; listen; history; internal format)
OFFSET

1,7

COMMENTS

Number of distinct prime factors of p_n-2.

EXAMPLE

First prime is 2, p_1-2 = 0 which has no prime factors, 2nd is 3, 3-2 = 1 which also has no prime factors. p_6 is 17 and 15 has 2 distinct prime divisors. a(219) = A001221(Prime(219)-2) = A001221(1365) = A001221(3*5*7*13) = 4

MATHEMATICA

Length[ FactorInteger[ Prime[ n ]-2 ] ]

CROSSREFS

Cf. A001221.

Sequence in context: A094840 A035218 A139355 * A093921 A140192 A065373

Adjacent sequences:  A039733 A039734 A039735 * A039737 A039738 A039739

KEYWORD

nonn

AUTHOR

Clark Kimberling (ck6(AT)evansville.edu)

EXTENSIONS

More terms from Labos E. (labos(AT)ana.sote.hu)

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 12:41 EST 2012. Contains 205909 sequences.