OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = A030665(n^2). - Robert Israel, May 16 2018
MAPLE
f:= proc(n) local d, m, r;
for d from 1 do
for m from 1 to 10^d-1 by 2 do
r:= 10^d*n^2 + m;
if isprime(r) then return r fi
od od
end proc:
map(f, [$1..100]); # Robert Israel, May 16 2018
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Reinhard Zumkeller, Oct 17 2001
STATUS
approved