Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 1.47 KB

chaitens_proof_of_the_infinitude_of_primes.md

File metadata and controls

19 lines (10 loc) · 1.47 KB

In Gregory Chaiten Meta Math! The Quest for Omega, he gives his complexity-based proof there are an infinite number of primes. Consider this question: For each number N, what is the smallest computer program required to print it out? Although we can name many numbers that can be printed with extremely concise programs, e.g.

puts '9' * 999

The simple fact is that there are infinitely many numbers that cannot be printed by such trivial means. In general, the smallest program that prints a number N looks like this:

puts '19620614' # explicitly listing each digit

Given base ten notation, the size of the program to print N is roughly logN. So what about prime numbers? Well, we know that any number N can be expressed as a prime factorization, e.g. 19620614 can be expressed as 2^1 times 13^1 times 754639^1. If there are an infinite number of numbers N and an infinite number of primes, programs that look like this:

puts '19620614'

And like this:

2**1 * 13**1 * 754639**1

Will both require roughly logN characters to print any number N. But what if there are only a finite number of primes? Now things get interesting! The number of characters required to print any number N is now only loglogN, not logN. (Exercise for readers: Prove this is the case.)

TODO: Prove this is a problem!