# Prime Number Endings

A look at what digits prime numbers end with the most

In the first 50'000 prime numbers, 3 remains the most frequent digit that prime numbers end in (12'537 of 50'000).

However, in the first 100'000 prime numbers, most of those numbers end with the digit 7 (25'007 of 100'000).

Ending digit: | 1 | 2 | 3 | 5 | 7 | 9 |
---|---|---|---|---|---|---|

First 10'000 primes | 2484 | 1 | 2515 | 1 | 2508 | 2491 |

First 50'000 primes | 12487 | 1 | 12537 | 1 | 12505 | 12469 |

First 100'000 primes | 24967 | 1 | 25007 | 1 | 25015 | 25009 |

The only prime numbers ending with the digits 2 or 5 are 2 or 5, respectively.

List of ending digits, sorted by amount, biggest first:

- First 10'000: 3, 7, 9, 1
- First 50'000: 3, 7, 1, 9
- First 100'000: 7, 9, 3, 1

Back to prime numbers main