OFFSET
1,1
LINKS
K. D. Bajpai, Table of n, a(n) for n = 1..3738
EXAMPLE
172331 is a prime and appears in the sequence because it is the concatenation of prime(7), prime(7+2) and prime(7+4).
233141 is a prime and appears in the sequence because it is the concatenation of prime(9), prime(9+2) and prime(9+4).
MAPLE
with(StringTools): KD := proc() local a, b, d, e; a:=ithprime(n); b:=ithprime(n+2); d:=ithprime(n+4);
e:= parse(cat(a, b, d)); if isprime(e) then RETURN (e); fi; end: seq(KD(), n=1..500);
MATHEMATICA
Select[Table[FromDigits[Flatten[{IntegerDigits[Prime[n]], IntegerDigits[Prime[n+2]], IntegerDigits[Prime[n+4]]}]], {n, 1, 500}], PrimeQ]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
K. D. Bajpai, Mar 26 2014
STATUS
approved