This is a guest post by David Benjamin.
You're reading: Posts By David Benjamin
- Multiply the first and the last numbers
- Multiply then double the middle two numbers
- Sum the squares of the middle two numbers
- The Pythagorean triple is
- The Euclidean distance formula and it’s extension to higher dimensions
- The Pythagoreans and music – Donald Duck in Mathmagic Land
- Biography search of included mathematicians
- 2 High School Students Prove Pythagorean Theorem – proof awaiting verification
- Pythagorean trigonometric identities
- The latest Mersenne prime and a Pythagorean triple
- Related themes – Legendre’s three-square theorem and Fermat’s theorem on sums of two squares
- Start with the number
- Multiply by each of the fourteen fractions until you find one for which the product is an integer
- Starting with this new integer, continue multiplying through the fractions until another integer is produced. (If this process reaches fraction
, the integer’s product with N is guaranteed to be another integer as N has a denominator of ; the process continues with this new integer being multiplied by fraction A) - Continue multiplying through the set to create more integers
- When the integer is a power of
, its exponent will be a prime number. - Listen to this Numberphile interview with Conway on how he invented the Game of Life
- Play the Game of Life
- Aperiodical posts about John Conway
- Conway’s publications on Scholia
- Conway and knots: ‘I proved this when I was at high school in England’
- Graduate Student Solves Decades-Old Conway Knot Problem, in Quanta
Pythagoras and his theorem
In this guest post, David Benjamin shares a cornucopia of concepts and stories relating to Pythagoras and his famous theorem.
I admit to mild irritation when I’m told that Pythagoras’ theorem is
The theorem
A square is added to each side of a right-angled triangle as shown in the above image. The sum of the the areas of the two smaller squares is equal to the area of the largest square. If the hypotenuse of the triangle has a length of
When the length of each side of the triangle is a positive integer, the three numbers make a Pythagorean triple.
Generating Pythagorean triples
The sequence
…
As an added bonus, the decimal equivalent of each term of the sequence converges to
Another method to find Pythagorean triples uses consecutive even numbers and the sum of their reciprocals as shown below.
Choose any pair of consecutive even numbers:
and
and
and
Euclid of Alexandria (325BC – 265BC) was a Greek mathematician who wrote a treatise, The Elements – a collection of 13 books. Books 1 to 6 are on plane geometry and books 7 to 9 on number theory. Euclid created a formula for generating Pythagorean triples from any pair of positive integers
(
) is the triple. If
and , the triple is ( ) If
and , the triple is ( )
A lovely link between Pascal, Fibonacci, Euclid and Pythagoras comes via any four consecutive Fibonacci numbers
Using
In addition, for any set of four consecutive Fibonacci numbers,
Amazingly, if we use
Triple | Fibonacci number | ||
A visual proof of the theorem
I first came across a visual proof of Pythagoras’ theorem for all right-angled triangles in Roger B. Nelsen’s wonderful book Proofs Without Words, Exercises in Visual Thinking. Nelsen noted the proof (author unknown, circa B.C. 200?) is adapted from the Chou Pei Suan Ching. The two images below combine to show the proof:
A proof by trapezium area and an untimely painful death
James Garfield (November 19, 1831 – September 19, 1881) was elected as the United States’ 20th President in 1880. He was assassinated after just 200 days in office after being shot on July 2, 1881, in a Washington railroad station. Garfield remained mortally wounded in the White House for many weeks where Alexander Graham Bell, inventor of the telephone, attempted to locate the bullet with an induction-balance electrical device which he had designed. Bell and physicians were unsuccessful in their attempts and Garfield died from an infection and an internal haemorrhage on September 19, 1881.

In 1876, Garfield had an elegant proof of Pythagoras’ theorem published. The proof makes use of the formulae for the areas of a triangle and a trapezium. The proof is demonstrated in the image below
A proof using the Shoelace formula
The brilliant German mathematician Johann Carl Friedrich Gauss (30 April 1777 – 23 February 1855) developed a formula to calculate the area of a polygon if every vertex of the polygon lies on a known Cartesian coordinate. The formula is widely known as the Shoelace formula and makes use of the calculation to find the determinant of a 2 by 2 matrix.

John Molokach observed that the Pythagorean theorem follows from Gauss’ Shoelace Formula, as shown below
It’s not just squares
If the same regular
The spiral of Theodorus of Cyrene
When
Pythagoras and his followers, the Pythagoreans, believed that the universe can be explained by whole numbers and the ratio of whole numbers. Their moto – “All is number” – was carved above the entrance of their meeting place. However, a spanner was thrown in the works when Hippasus of Metapontum, one of the Pythagoreans suggested that
Further reading
Alternative methods of arithmetic
This is a guest post by David Benjamin, who’s previously written several other guest posts on various topics.
It’s unavoidable that part of doing mathematics will always involve arithmetic: the simple calculations, additions and multiplications that so much else is built on. But the beauty of mathematics is that even these basic operations can be performed in a multitude of interesting ways.
Recurring decimals and 1/7
This is a guest post by David Benjamin.
Rational numbers, when written in decimal, either have a terminating string of digits, like
I’ve collected some interesting observations about the patterns generated by the cycles of recurring decimals, and in particular several relating to
Sequences in the classroom
Guest author David Benjamin shares some of his favourite ways to use sequences in a teaching context.
As a maths teacher, I’ve found that sequences are a great way to engage and inspire mathematical reasoning. I thought I’d share some examples of sequences, and sequence-related activities, I’ve used with success in the past.
John Conway and his fruitful fractions
Following on from the series of ‘Pascal’s Triangle and its Secrets‘ posts, guest author David Benjamin shares another delightful piece of mathematics – this time relating to prime numbers.
At the time of writing the largest known prime number has
Patrick Laroche from Ocala, Florida discovered this Mersenne prime on December 7, 2018. I was surprised to discover that it’s exponent
The Greek mathematician Euclid of Alexandria (
Mersenne primes, named after the French monk Marin Mersenne, are of the form
Since generally testing numbers for primality is slow, some have tried to find methods to produce primes using a formula. Euler’s quadratic polynomial
The French mathematician Lejeune Dirichlet proved that the linear polynomial
14 fruitful fractions
The primes are unpredictable, and become less common as they get larger. Consequently there is no formula that will generate all the prime numbers. However, there is a finite sequence of fractions, that – given an infinite amount of time – would generate all the primes, and in sequential order.
They are the fruitful fractions, created by the brilliant Liverpool-born mathematician, John Horton Conway (1937–2020) who, until his untimely death from complications related to COVID-19, was the John von Neumann Emeritus Professor in Applied and Computational Mathematics at Princeton University, New Jersey, USA.
The fruitful fractions are
A | B | C | D | E | F | G | H | I | J | K | L | M | N |
The first time I encountered this set of fractions was in the wonderful book, The Book of Numbers, by Conway and Guy. I was so intrigued as to how Conway came up with his idea, I emailed him to ask. I was delighted to receive an outline of an explanation and even a second set of fractions, neither of which I can now find – it was 1996 and pre-cloud storage! But no worries… Conway explains everything in this lecture, which also demonstrates his passion for mathematics and his ability to express his ideas in a relaxed and humorous way, even when he searches for an error in his proof on 26 minutes. The lecture also includes an introduction to Conway’s computer language, FRACTRAN, which includes the statement:
‘It should now be obvious to you that you can write a one line fraction program that does almost anything, or one and a half lines if you want to be precise‘.
Using the fractions to find prime numbers
Here’s how the fractions are used to generate primes.
The 19 steps needed to produce the first prime number are:
The number of steps needed to produce the first 7 primes are shown in the table below:
Prime | 2 | 3 | 5 | 7 | 11 | 13 | 17 |
Steps | 19 | 69 | 281 | 710 | 2375 | 3893 | 8102 |
And here is the start and end of the sequence of fractions used to produce the next prime number from
The steps needed for the first 34 primes are given as OEIS A007547 and the first 8102 products in the B-list for A007542.
The successive primes are produced almost like magic – but the number of multiplications needed to produce each new prime becomes larger and larger, and so the method, though wonderfully inventive, is not at all efficient.
Edit: Since this article was first published, the exponent
Further Reading on John Conway
Probability, statistics and Pascal’s other contributions
This is the final part in the Pascal pentalogy, a series of guest posts by David Benjamin exploring the secrets of Pascal’s Triangle.
Probability and combinations
In Part 1 of this series we stated that Pascal is credited with being the founder of probability theory – but credit also needs to be given to other mathematicians, in particular the Italian polymath Girolamo Cardano.
The connection between probability and the numbers in Pascal’s triangle can be shown by looking at the outcomes when one or more coins are tossed. The table below, from row two, lists the outcomes for one, two and three unbiased coins.
|
| |||||||
| |
| ||||||
| | |
| |||||
|
|
|
|
|
For four coins there is
Row four shows us that when three unbiased coins are tossed, the probability they will land showing two heads and one tail in any order is
As the sum of the
Quincunx
A Quincunx, or Galton Board, is named after the English explorer and anthropologist Francis Galton (1822-1911) – although this name is now less popular, because of Galton’s views on eugenics and racist attitudes.
The board is a triangular array of pegs. Balls are dropped onto the top peg and then bounce their way down to the bottom where they are collected in containers. Each time a ball hits one of the pegs, it bounces either left or right with an equal probability of

The Quincunx is like Pascal’s triangle with pegs instead of numbers. The number on each peg represents the number of different paths a ball can take to reach that peg. If there are
The probability of landing in the third bin from the right is
Statistics and permutations
The link between statistics and the triangle can be demonstrated using combinations. Consider these 5 mathematicians Euler, Pascal, Ramanujan, Hilbert and Conway and the possible teams for a three-legged race.
There are
EPR EPH EPC ERH ERC EHC PRH PRC PHC RHC
The formula to calculate the number of combinations is
In our example
| | | | |
The animation film Of Dice and Men by John Weldon is a lovely way to introduce students to probability and statistics.
Pascal the polymath: mathematics, inventor, science and religion
Pascal’s father was a tax collector and in 1642 Blaise invented a mechanical calculator to assist his father. It was called the Pascaline and had a wheel with eight movable parts for dialing. Each part corresponded to a particular digit in a number. Numbers could be added by turning the wheels located along the bottom of the machine. Subtraction was carried out by exploiting a method called nines’ complement representation, the use of which allows subtraction to be reduced to addition. Each digit in the answer was displayed in a separate window. The workings of the Pascaline are demonstrated here.


The Musée des Arts et Métiers in Paris has one of the original Pascalines. The invention was not a commercial success – it was very expensive and often only purchased as a novelty rather than for use. Essentially, it was an adding machine. Subtraction was turned into a form of addition, as was multiplication. Division was done by repeated subtraction. Nines’ complement representation is still used in modern digital computers by a similar technique called ones’ complement which is used to represent negative numbers and hence perform subtraction in the same way as addition. Pascal did not discover this method but his calculator is the earliest known device to employ it. He continued to make improvements to his design until 1652.
Conic sections – normally just called conics – are obtained when a mathematical cone is sliced by a plane. Depending on the angle of the slice, the intersections create a circle, an ellipse, a parabola and a hyperbola. Conics have many applications including the wheel of course, ophthalmic, parabolic mirrors and reflectors, telescopes, searchlights and projectile motion.
Pascal wrote a short treatise, Essai pour les coniques (Essay on Conics) when only 16. In it he included what is known as Pascal’s Theorem which states that if a hexagon is inscribed in a conic section then the three intersection points of opposite sides lie on a straight line – the Pascal line. The theorem [also referred to as Pascal’s Hexagrammum Mysticum Theorem] was his first important mathematical discovery and a breakthrough in the field of projective geometry.

In 1647 Pascal expanded on the work of the Italian physicist Evangelista Torricelli, the inventor of the barometer by writing Experiences nouvelles touchant le vide (New experiments with the vacuum) in which Pascal gave detailed rules to describe to what degree various liquids could be supported by air pressure. In 1971 the SI unit for pressure [equal to one newton per square metre] was named the pascal.

Also in 1647 he discovered Pascal’s Law of hydrostatics allowing for the development of the hydraulic press. Pascal himself used the principle to invent the syringe.
Pascal wrote an extremely influential theological work which was unfinished at the time of his death. It was posthumously called Pensées (Thoughts) and contained a detailed and coherent examination and defence of the Christian faith.

In 1655 Pascal was trying to invent a perpetual motion machine, a machine that continues to operate without drawing energy from an external source. The laws of physics now say this is impossible. Naturally he failed but he ended up inventing a basic roulette wheel, now upgraded and used in casinos as a game of chance.
The Swiss computer scientist Niklaus Emil Wirth, born in 1934, named one of his programming languages Pascal in honour of Blaise. Wirth along with Helmut Weber also designed the programming language named after another mathematician, Euler. [Recommended read: Euler: The Master of Us All ]
Pascal died in extreme pain at the young age of 39. He had a malignant growth in his stomach which had spread to his brain. Like many others, such as Évariste Galois and Franz Schubert, we are left wondering what else Pascal could have achieved had he lived longer. His work with Fermat into the calculus of probabilities helped the German mathematician Gottfried Leibniz [1646-1716] develop the infinitesimal calculus. Pascal is buried in the Saint-Étienne-du-Mont church in Paris and his death mask is held at the J. Paul Getty museum in Los Angeles, California.
