A081717 Primes prime(j) such that prime(j) + j is composite.
5, 11, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 67, 71, 73, 83, 97, 103, 107, 109, 113, 127, 137, 149, 151, 157, 163, 167, 173, 179, 191, 193, 197, 199, 211, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 331, 337, 347
Offset: 1
Keywords
Examples
127 is the 31st prime and 127+31 = 158 is composite.
Links
- Amiram Eldar, Table of n, a(n) for n = 1..10000
Programs
-
Mathematica
Do[s=Prime[n]+n; If[ !PrimeQ[s], Print[Prime[n]]], {n, 1, 100}]