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!)
A232012 Numbers n such that p^2 + n is prime for some prime p. 4
1, 2, 3, 4, 6, 7, 8, 9, 10, 12, 13, 14, 15, 16, 18, 19, 20, 22, 24, 25, 27, 28, 30, 32, 33, 34, 36, 37, 38, 39, 40, 42, 43, 44, 46, 48, 49, 50, 52, 54, 55, 57, 58, 60, 62, 63, 64, 66, 67, 69, 70, 72, 74, 75, 76, 78, 79, 80, 82, 84, 85, 88, 90, 92, 93, 94, 96, 97, 98, 99, 100 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Supersequence of A023200 (primes p such that p + 4 is also prime). Complement of A232010.
LINKS
EXAMPLE
2 is in sequence because 3^2 + 2 = 11 (3 and 11 are primes).
MATHEMATICA
Module[{nn=50, prs}, prs=Prime[Range[nn]]^2; Select[Range[ 100], AnyTrue[ prs+#, PrimeQ]&]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Nov 04 2020 *)
CROSSREFS
Sequence in context: A157846 A285126 A187388 * A029596 A039160 A175439
KEYWORD
nonn
AUTHOR
Jaroslav Krizek, Nov 22 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 19 06:56 EDT 2024. Contains 370953 sequences. (Running on oeis4.)