OFFSET
1,1
COMMENTS
The last digit of the first prime number in base 10 with n digits for n = 1, 2, 3 is 211, because 2 is the least with 1 digit, 11 the least with 2 digits, 101 the least with 3 digits. The concatenation, 211, is prime. This does not happen again through 24 digits. - Jonathan Vos Post, Jul 04 2012
FORMULA
a(1) = 2, and a(n) = A033873(n) mod 10 for n>1.
a(n) = A003617(n) mod 10. - Michel Marcus, Aug 06 2013
MATHEMATICA
Table[Mod[NextPrime[10^n], 10], {n, 0, 30}] (* Harvey P. Dale, Jan 25 2013 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Tjandra Satria Gunawan, Jul 19 2012
EXTENSIONS
More terms from Harvey P. Dale, Jan 25 2013
STATUS
approved