OFFSET
3,1
MATHEMATICA
FromDigits[Flatten[IntegerDigits/@#]]&/@Table[{NextPrime[n, -1], n, NextPrime[n]}, {n, 3, 40}] (* Harvey P. Dale, Dec 02 2019 *)
PROG
(PARI) a(n) = eval(concat(Str(precprime(n-1)), concat(Str(n), Str(nextprime(n+1))))); \\ Michel Marcus, Aug 11 2017
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved