OFFSET
1,1
EXAMPLE
a(1) = 283, because 283 and 283 + 10 = 293 are two consecutive primes with the same last digit 3 and no smaller p has this property.
PROG
(PARI) a(n) = my(p=3); while (!isprime(p) || ((nextprime(p+1)-p) != 10*n), p+=10); p; \\ Michel Marcus, Feb 24 2025
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Jean-Marc Rebert, Feb 23 2025
STATUS
approved
