

A306572


Numbers k whose decimal representation ends with that of pi(k) (where pi denotes the prime counting function A000720).


0



16, 17, 132, 254, 374, 494, 1196, 2348, 3487, 4624, 5757, 6886, 11373, 22517, 33597, 44639, 55646, 66644, 77629, 88580, 99550, 99551, 110486, 219572, 328268, 436699, 544946, 653052, 761059, 869024, 976855, 1084604, 1192399, 2159962, 3232398, 4303026, 4303027
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


COMMENTS

This sequence contains the automorphic primes (A046883).
If p is an automorphic prime, then p1 is a term of the sequence.


LINKS

Table of n, a(n) for n=1..37.


EXAMPLE

There are 7 prime numbers <= 17, and 17 ends with 7, hence 17 is a term.
There are 13 primes numbers <= 42, and 42 does not end with 13, hence 42 is not a term.


PROG

(PARI) pi=0; for (n=1, 4303027, if (n%10^max(1, #digits(pi+=isprime(n)))==pi, print1 (n ", ")))


CROSSREFS

Cf. A000720, A046883, A067248.
Sequence in context: A041532 A300133 A041534 * A041536 A041538 A033052
Adjacent sequences: A306569 A306570 A306571 * A306573 A306574 A306575


KEYWORD

nonn,base


AUTHOR

Rémy Sigrist, Feb 24 2019


STATUS

approved



