Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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
OFFSET
1,1
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