OFFSET
1,1
COMMENTS
The lesser prime of a twin prime pair is prepended and the greater prime is appended to their average (nonprime, interprime).
a(n) mod 3 = 0, (See A095958).
EXAMPLE
a(1)=345: the lesser prime {3} of the first twin prime pair {3, 5} is prepended and the greater prime {5} is appended to their average {4}.
a(3)=111213: the lesser {11} of the 3rd twin prime pair {11, 13} is prepended and the greater prime {13} is appended to their average {12}.
MATHEMATICA
UpToN[k_]:=FromDigits//@ StringJoin//@ ToString/@ {#-1, #, #+1} &/@ Select[ Table[ Prime[n]+1, {n, 2, PrimePi[k]}], PrimeQ[#+1] &]; UpToN[10000]
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Mikk Heidemaa, Jan 27 2016
STATUS
approved