login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A268146
Twin prime pairs concatenated to their average in decimal representation (the greater twin prepended, the lesser appended).
0
543, 765, 131211, 191817, 313029, 434241, 616059, 737271, 103102101, 109108107, 139138137, 151150149, 181180179, 193192191, 199198197, 229228227, 241240239, 271270269, 283282281, 313312311, 349348347, 421420419, 433432431, 463462461, 523522521, 571570569, 601600599
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