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!)
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
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
Sequence in context: A363187 A098711 A087053 * A099181 A040989 A040969
KEYWORD
nonn,easy
AUTHOR
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)