OFFSET
1,1
LINKS
K. D. Bajpai, Table of n, a(n) for n = 1..10000
EXAMPLE
a(2)=1759: prime(7)= 17 and prime(17)= 59. Concatenating 17 and 59 gives 1759 which is prime.
a(4)=41179: prime(13)= 41 and prime(41)= 179. Concatenating 41 and 179 gives 41179 which is prime.
MAPLE
K := proc(n) local a, b, d; a :=ithprime(n); b:=ithprime(a); d:=parse(cat(a, b)); if isprime(d) then return (d) end if; end proc:
seq(K(n), n=1..1000);
CROSSREFS
KEYWORD
nonn,base,less
AUTHOR
K. D. Bajpai, Sep 30 2013
STATUS
approved