# Distribution of the Last Digit of the Primes

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

This Demonstration shows the distribution of the last significant digit of the prime numbers expressed in any base. You will notice that bases that are themselves prime tend to produce much more even distributions than those that are not. The axis shows the density, that is, the fraction of prime numbers that end in that digit.

Contributed by: Soumyajit Mandal (March 2011)

Open content licensed under CC BY-NC-SA

## Snapshots

## Details

This Demonstration was created during the New Kind of Science Summer School 2008 (*NKS|Online*) in Burlington, Vermont.

## Permanent Citation

"Distribution of the Last Digit of the Primes"

http://demonstrations.wolfram.com/DistributionOfTheLastDigitOfThePrimes/

Wolfram Demonstrations Project

Published: March 7 2011