OFFSET
1,1
COMMENTS
Both the members of the twin prime pairs are included.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
a(2k) = a(2k-1) + 2.
MATHEMATICA
s = Select[Flatten @ Table[FromDigits /@ Tuples[{1, 3}, k], {k, 1, 9}], And @@ PrimeQ[10 # + {1, 3}] &]; Flatten @ Transpose @ {10 s + 1, 10 s + 3} (* Amiram Eldar, Dec 28 2019 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Jan 02 2006
EXTENSIONS
Corrected and extended by Farideh Firoozbakht, Jan 05 2006
STATUS
approved