|
|
A030685
|
|
Smallest nontrivial extension of n-th square which is a prime.
|
|
1
|
|
|
11, 41, 97, 163, 251, 367, 491, 641, 811, 1009, 1213, 1447, 1693, 19661, 2251, 25621, 2897, 32411, 3613, 4001, 44111, 48413, 5297, 57637, 6257, 6761, 7297, 7841, 8419, 9001, 9613, 10243, 10891, 115613, 12251, 12967, 13691, 14447
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Extensions here cannot contain leading 0's, otherwise we would have a(14)=19603. - Sean A. Irvine, Apr 05 2020
|
|
LINKS
|
|
|
PROG
|
(PARI) a(n) = {my(k=1); while(!isprime(x=eval(concat(Str(n^2), Str(k)))), k++); x; } \\ Michel Marcus, Apr 06 2020
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|