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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A135714 Number of primes of the form p(n)#/p(k) - 1, where 1 <= k <= n. 3
0, 1, 1, 2, 2, 4, 2, 3, 4, 1, 0, 3, 3, 3, 3, 5, 2, 0, 3, 3, 5, 2, 2, 1, 5, 4, 2, 1, 2, 0, 0, 1, 1, 2, 3, 1, 2, 3, 1, 2, 1, 3, 0, 3, 4, 0, 4, 1, 0, 1, 3, 0, 2, 2, 5, 1, 2, 1, 5, 1, 1, 2, 1, 1, 3, 6, 3, 2, 4, 4, 0, 1, 2, 2, 4, 1, 4, 2, 1, 1, 2, 1, 2, 2, 2, 2, 2, 4, 2, 2, 0, 4, 3, 2, 2, 4, 1, 0, 0, 2, 2, 3, 4, 4, 3 (list; graph; refs; listen; history; internal format)
OFFSET

1,4

COMMENTS

p(k) is k-th prime; p(n)# is n-th primorial, A002110(n). For the larger n, these are only counts of highly probable primes. Of the first 500 terms, the maximum occurs twice, a(366)=a(432)=7; the mode is 2, occurring 142 times.

LINKS

Rick Shepherd, Table of n, a(n) for n = 1..500

EXAMPLE

a(6)=4 because p(6)#=A002110(6)=30030 and 30030/3-1=10009, 30030/7-1=4289, 30030/11-1=2729 and 30030/13-1=2309 are all prime and there are no other primes of this form.

PROG

(PARI) a(n)= p=prod(k=1, n, prime(k)); sum(k=1, n, isprime(p/prime(k)-1))

CROSSREFS

Cf. A135715, A135716, A002110.

Sequence in context: A057939 A163371 A061338 * A103274 A046820 A043262

Adjacent sequences:  A135711 A135712 A135713 * A135715 A135716 A135717

KEYWORD

nonn

AUTHOR

Rick L. Shepherd (rshepherd2(AT)hotmail.com), Nov 28 2007

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 17:48 EST 2012. Contains 205939 sequences.