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!)
A172096 Primes having no representation of the form prime(n)-+n. 1
13, 17, 23, 31, 41, 47, 53, 59, 61, 67, 71, 73, 89, 97, 103, 107, 109, 131, 137, 151, 157, 167, 181, 191, 193, 199, 211, 227, 229, 233, 239, 241, 257, 263, 277, 281, 283, 293, 311, 313, 317, 331, 337, 347, 353, 359, 367, 379, 389 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
13 is a term because it's prime and prime(n)+n < 13 for n <= 4 and > 13 for n > 4, and prime(n)-n < 13 for n <= 8 and > 13 for n > 8.
MATHEMATICA
nn=100; p=Select[Union[Flatten[Table[Prime[n]+{-n, n}, {n, nn}]]], PrimeQ]; Complement[Prime[Range[PrimePi[p[[-1]]]]], p]
CROSSREFS
Cf. A064270.
Sequence in context: A207991 A120157 A143822 * A022893 A211490 A038680
KEYWORD
nonn
AUTHOR
EXTENSIONS
Corrected by T. D. Noe, Nov 21 2010
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 18 20:26 EDT 2024. Contains 371781 sequences. (Running on oeis4.)