OFFSET
1,1
EXAMPLE
31 is the 11th prime. Since 31 and 11 both have 1 as the least significant digit, 31 is in the sequence.
37 is the 12th prime. But 37 and 12 have different least significant digits, so 37 is not in the sequence.
MATHEMATICA
Select[Prime[Range[1000]], Mod[#, 10] == Mod[PrimePi[#], 10] &] (* Alonso del Arte, Jan 23 2020 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, Jul 06 2003
STATUS
approved