OFFSET
1,1
COMMENTS
It is observed that each term in the sequence ends either with digit 1 or 7.
LINKS
K. D. Bajpai, Table of n, a(n) for n = 1..1060
EXAMPLE
3637 is a prime formed by concatenaing 36 with 37 where 36= 6^2 and (36+1)= 37 is a prime.
576577 is a prime formed by concatenaing 576 with 577 where 576= 24^2 and (576+1)= 577 is a prime.
MAPLE
with(StringTools):KD := proc() local a, b, s; s:=n*n; b:=s+1; if isprime(b) then a:= parse(cat(s, b )); if isprime(a) then RETURN (a); fi; fi; end: seq(KD(), n=1..5000);
CROSSREFS
KEYWORD
nonn,base
AUTHOR
K. D. Bajpai, Mar 30 2014
STATUS
approved