OFFSET
1,1
LINKS
Vincenzo Librandi and David A. Corneth, Table of n, a(n) for n = 1..10488 (First 222 terms from Vincenzo Librandi)
MATHEMATICA
Select[Prime[Range[10000]], IntegerQ[Sqrt[FromDigits[Join[{2}, IntegerDigits[#]]]]]&] (* Harvey P. Dale, Dec 16 2010 *)
PROG
(PARI) \\ terms upto 10^n
upto(n) = {my(sqrt21 = sqrt(2.1), sqrt30 = sqrt(3.0), r, t=0);
for(k=2, n, for(j = ceil((sqrt21 * sqrt(10^k))), floor(sqrt30 * sqrt(10^k)),
r = j^2%10^k; if(isprime(r), t++; print1(r", ")))); t} \\ David A. Corneth, Jun 24 2016
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Claudio Meller, Nov 10 2009
STATUS
approved