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!)
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

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

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

Adjacent sequences:  A172093 A172094 A172095 * A172097 A172098 A172099

KEYWORD

nonn

AUTHOR

Juri-Stepan Gerasimov, Nov 21 2010

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 27 04:10 EDT 2021. Contains 347673 sequences. (Running on oeis4.)