OFFSET
1,1
COMMENTS
All the terms in the sequence are primes which are a reverse concatenation of prime(k), prime(k+2) and prime(k+4) for some k.
LINKS
K. D. Bajpai, Table of n, a(n) for n = 1..3742
EXAMPLE
1373 is a prime and appears in the sequence because it is the concatenation of prime(2+4), prime(2+2) and prime(2).
433729 is a prime and appears in the sequence because it is the concatenation of prime(10+4), prime(10+2) and prime(10).
MAPLE
with(StringTools): KD := proc() local a, b, d, e; a:=ithprime(n+4); b:=ithprime(n+2); d:=ithprime(n); 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+4]], IntegerDigits[Prime[n+2]], IntegerDigits[Prime[n]]}]], {n, 1, 500}], PrimeQ]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
K. D. Bajpai, Mar 30 2014
STATUS
approved