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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A249666 Numbers n such that the sum of n and the largest prime<n (A151799(n)) is prime. 3
3, 4, 6, 10, 12, 16, 22, 24, 30, 36, 42, 46, 50, 54, 56, 66, 70, 76, 78, 84, 90, 92, 100, 114, 116, 120, 126, 130, 132, 142, 144, 156, 160, 170, 174, 176, 180, 186, 192, 196, 202, 210, 220, 222, 226, 232, 234, 240, 246, 250, 252, 276, 280, 282, 286, 288, 294, 300, 306, 310, 324 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..61.

EXAMPLE

66 is in the sequence because A151799(66)=61, and 66+61=127 is prime.

PROG

(PARI) {for(i=3, 10^3, k=i+precprime(i-1); if(isprime(k), print1(i, ", ")))}

CROSSREFS

Cf. A151799, A249624, A249667, A249676.

Sequence in context: A004793 A031132 A057477 * A113887 A103000 A310001

Adjacent sequences:  A249663 A249664 A249665 * A249667 A249668 A249669

KEYWORD

nonn

AUTHOR

Antonio Roldán, Dec 03 2014

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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 21 19:29 EDT 2018. Contains 315260 sequences. (Running on oeis4.)