OFFSET
1,1
COMMENTS
The greater prime of a twin prime pair is prepended and the lesser one is appended to their average (nonprime, interprime).
a(n) mod 3 = 0, (See A095958).
EXAMPLE
a(1)=543: the greater prime {5} of the first twin prime pair {3, 5} is prepended and the lesser prime {3} is appended to their average {4}.
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