OFFSET
1,1
COMMENTS
This is different from A007534, which gives positive even numbers which are not the same of a pair of twin primes. The old definition of the present sequence was misleading. - N. J. A. Sloane, Feb 16 2024
LINKS
A.H.M. Smeets, Table of n, a(n) for n = 1..20177
EXAMPLE
The lesser of the twin primes < 200 are 3, 5, 11, 17, 29, 41, 59, 71, 101, 107, 137, 149, 179, 191, 197 and the greater of the twin primes < 200 are 5, 7, 13, 19, 31, 43, 61, 73, 103, 109, 139, 151, 181, 193, 199. 20 is in the current sequence because no combination of any two numbers from each set just enumerated can be summed to make 20.
MATHEMATICA
p = Select[ Range[ 200 ], PrimeQ[ # ] && PrimeQ[ # 2 ] & ]; q = p 2; Complement[ Table[ n, {n, 2, 200, 2} ], Union[ Flatten[ Table[ p[ [ i ] ] q[ [ j ] ], {i, 1, 15}, {j, 1, 15} ] ] ] ]
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Sep 29 2001
STATUS
approved