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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A159045 Primes of the form prime(k) + prime(k+5) + 1. 1
31, 41, 61, 67, 97, 103, 127, 139, 157, 191, 199, 211, 229, 263, 307, 331, 379, 421, 433, 479, 487, 509, 547, 563, 601, 659, 691, 811, 829, 863, 911, 929, 953, 971, 1009, 1051, 1093, 1201, 1249, 1291, 1303, 1453, 1471, 1571, 1693, 1741, 1747, 1789, 1801, 1873 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Shawn A. Broyles, Table of n, a(n) for n = 1..1000

EXAMPLE

31 = prime(11) = prime(4) + prime(9) + 1,

41 = prime(13) = prime(5) + prime(10) + 1, and

61 = prime(18) = prime(8) + prime(13) + 1 are in the sequence.

MATHEMATICA

lst={}; Do[p1=Prime[n]; p6=Prime[n+5]; p=p1+p6+1; If[PrimeQ[p], AppendTo[lst, p]], {n, 6!}]; lst

PROG

(PARI) lista(nn) = {for (n=1, nn, if (isprime(p = prime(n) + prime(n+5) + 1), print1(p, ", ")); ); } \\ Michel Marcus, May 01 2018

CROSSREFS

Cf. A159043, A159044, A000040.

Sequence in context: A245650 A098711 A087053 * A099181 A040989 A040969

Adjacent sequences:  A159042 A159043 A159044 * A159046 A159047 A159048

KEYWORD

nonn,easy

AUTHOR

Vladimir Joseph Stephan Orlovsky, Apr 03 2009

EXTENSIONS

Examples edited by R. J. Mathar, Apr 06 2009

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 February 25 20:04 EST 2020. Contains 332258 sequences. (Running on oeis4.)