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!)
A103960 Number of primes p such that prime(n)*p - 2 is prime and p <= prime(n). 4
1, 1, 2, 2, 2, 3, 1, 2, 4, 3, 2, 5, 3, 3, 5, 3, 4, 4, 4, 5, 6, 3, 4, 6, 3, 5, 6, 5, 3, 6, 5, 8, 5, 5, 6, 5, 7, 9, 7, 6, 6, 5, 7, 6, 8, 5, 8, 10, 5, 6, 8, 6, 7, 7, 10, 10, 3, 11, 8, 11, 6, 10, 8, 12, 9, 9, 7, 11, 9, 7, 8, 9, 6, 14, 8, 10, 11, 11, 12, 11, 7, 8 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
Conjecture: All items of this sequence are greater than or equal to 1. Tested to prime(1000000).
a(A137291(n)) = A210481(A137291(n)) + 1. - Reinhard Zumkeller, Jul 30 2015
LINKS
EXAMPLE
Prime(1)*2-2 = 2, so a(1)=1;
Prime(3) = 5, 5*3-2 = 13, 5*5-2 = 23, so a(3)=2;
MATHEMATICA
Table[p=Prime[n]; ct=0; Do[pk=Prime[k]; If[PrimeQ[p*pk-2], ct=ct+1], {k, n}]; ct, {n, 100}]
PROG
(Haskell)
a103960 n = sum [a010051' $ p * q - 2 |
let p = a000040 n, q <- takeWhile (<= p) a000040_list]
-- Reinhard Zumkeller, Jul 30 2015
CROSSREFS
Cf. A103959.
Sequence in context: A348367 A209254 A227738 * A242626 A360387 A306399
KEYWORD
easy,nonn
AUTHOR
Lei Zhou, Feb 22 2005
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 September 1 14:36 EDT 2024. Contains 375591 sequences. (Running on oeis4.)