OFFSET
1,1
COMMENTS
Differs from A030670 in that here the appended digits may start with 0 which is not possible there (although zeros are allowed there, too, if they are not the first appended digit): The first difference appears at a(16) = 5303 where A030670(16) = 5323. - M. F. Hasler, Jan 15 2025
LINKS
Daniel Mondot, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = A030665(prime(n)). - Michel Marcus, Jan 17 2025
PROG
(PARI) apply( {A064792(n)=n=prime(n); for(L=1, oo, n*=10; forstep(s=1, 10^L-1, 2, isprime(n+s)&& return(n+s)))}, [1..44]) \\ M. F. Hasler, Jan 15 2025
CROSSREFS
KEYWORD
nonn,base,changed
AUTHOR
Reinhard Zumkeller, Oct 17 2001
STATUS
approved