login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A074926 Numbers n such that p(n)*p(n+1)+4 is a prime. 1
2, 11, 18, 40, 47, 51, 74, 76, 91, 96, 97, 105, 108, 164, 185, 203, 205, 208, 227, 238, 243, 252, 271, 291, 312, 321, 349, 351, 362, 374, 392, 396, 406, 420, 438, 449, 453, 523, 529, 541, 562, 576, 590, 602, 629, 639, 641, 668, 679, 698, 711, 720, 734, 752 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Primes of form pq+4 where p and q are consecutive primes are in A063442.

LINKS

Harvey P. Dale, Table of n, a(n) for n = 1..1000

FORMULA

prime(a(n))*prime(a(n)+1)+4 = A063442(n). - Zak Seidov, Oct 03 2013

EXAMPLE

a(1) = 2 because p(2)*p(3) + 4 = 3*5 + 4 = 19 = A063442(1) prime.

a(2) = 11 because p(11)*p(12) + 4 = 31*37 + 4 = 1151 = A063442(2) prime.

MATHEMATICA

Position[Times@@#+4&/@Partition[Prime[Range[800]], 2, 1], _?PrimeQ]//Flatten (* Harvey P. Dale, Jun 16 2017 *)

PROG

(PARI) isok(n) = isprime(prime(n)*prime(n+1)+4); \\ Michel Marcus, Oct 04 2013

CROSSREFS

Cf. A063442.

Sequence in context: A043461 A030551 A121848 * A066144 A102343 A023173

Adjacent sequences:  A074923 A074924 A074925 * A074927 A074928 A074929

KEYWORD

nonn

AUTHOR

Zak Seidov, Oct 02 2002

EXTENSIONS

Edited according to personal communication of Michel Marcus by Zak Seidov, Oct 03 2013

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 19 21:47 EST 2020. Contains 331066 sequences. (Running on oeis4.)