login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A085598
Primes p with same final decimal digit as k, p = prime(k).
4
17, 31, 83, 109, 157, 563, 587, 599, 661, 811, 823, 859, 883, 1009, 1093, 1117, 1129, 1289, 1303, 1327, 1381, 1499, 1543, 1567, 1579, 1741, 1753, 1787, 1879, 1901, 1913, 1979, 2027, 2039, 2131, 2221, 2371, 2477, 2609, 2621, 2797, 2843
OFFSET
1,1
FORMULA
A010879(a(n)) = A010879(A049084(a(n))).
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