← All projects / The 13 Times Table

The 13 times table

Every product from 1 × 1 up to 13 × 13, laid out as a multiplication table. It has 169 cells, but far fewer different numbers, and most of the numbers up to 169 never show up at all. The primes are the ones it can't make.

169 cells13 rows of 13
72different numbers in them
97numbers up to 169 that never appear

The table

Pick any cell. Every other cell holding the same product lights up. The green row and column are the multiples of 13, and the orange numbers are primes.

exact

Primes only sit on the edge

The only primes in the table are 2, 3, 5, 7, 11 and 13, and each appears twice: once in the first row and once in the first column. A prime is a number with no other place to go.

exact

The table is its own mirror

3 × 7 and 7 × 3 are the same, so the table reads the same across and down. That leaves 91 cells that matter: the diagonal and one side of it.

counted

Once, and six times

The multiples of 13

The last row on its own: 1 × 13 up to 13 × 13.

ProductIn binaryLast digitDigits added up

exact

The last digits start 3, 6, 9

13 ends in 3, so its multiples end the same way the multiples of 3 do: 3, 6, 9, 2, 5, 8, 1, 4, 7, 0. Every digit turns up once before the pattern starts again.

exact

The digit sums step by 4

Add up the digits of each multiple until one digit is left: 4, 8, 3, 7, 2, 6, 1, 5, 9. That's counting in 4s and casting out nines, because 1 + 3 = 4. All nine digits again.

exact

Doubling adds a 0

13 is 1101 in binary. 26, 52 and 104 are 1101 with zeros after it. Only the odd multiples bring a new pattern of bits: 13, 39, 65, 91, 117, 143, 169.

exact

Where 13 comes back round

13 × 315 = 4,095, which is twelve 1s in binary. 13 × 76,923 = 999,999, which is six 9s. So 13's echo is 12 long in binary and 6 long in decimal: the first multiple of 13 that is all 1s, or all 9s.

What's in it, and what isn't

Every number from 1 to 169, thirteen to a row. A number is lit if it appears somewhere in the table, and brighter the more times it appears. Pick one to see why it's in or out.

counted

Most numbers never appear

exact

Two ways to be left out

exact

The last column is the 13 times table

With thirteen numbers to a row, the last column of the map is 13, 26, 39 and so on down to 169. Every one of them is lit, and it's the only column that is lit all the way down.

The table in the loop systems

Every product can be translated in one of this site's systems, and the answer translated again, until it stops on one number or goes round a loop. Here each cell of the table is coloured by where its product ends. The table is its own mirror across the diagonal, so laying copies together with every other one flipped makes every edge meet, the same way the kaleidoscopes do.

System

Line-up

Riemann's zeros

counted

What loops, and what doesn't

counted

The diagonal against the rest

exact

The repeat families make a plaid

With nothing moved, places 1 2 on repeat give a number's remainder by 3, and remainders multiply. So the picture repeats exactly every 3 rows and 3 columns: every third line is one colour and the rest is a two-colour check. Places 1 2 4 repeat every 7 and 1 2 4 8 every 15. Move the 1 to the end and the plaid breaks up.

exact

A zero draws rings on the table

measured

All the zeros together light the primes

Add the waves of the first 600 zeros and a number scores about 1 if it's prime, about a half if it's the square of a prime, a third for a cube, and about 0 otherwise. On the table that lights the primes along the two edges, and fainter spots where a product is a power of one prime, like 2 × 4 or 3 × 3. It's sharp for products up to about 300 and blurs beyond, as on The Zeros Behind the Primes.

known

The zeros keep off the bit squares

A zero whose wave turned a whole number of times per doubling would sit exactly on the bit squares. The first ten zeros turn 1.56, 2.32, 2.76, 3.36, 3.63, 4.15, 4.51, 4.78, 5.30 and 5.49 times. None lands on a whole number, and the zeros are known to avoid it: among the first 600, 68 come near one where chance would put 120.

counted

Products with a prime on each side

measured, explained

The table is good at sitting between two primes

In the 13 × 13 table nine products sit exactly between two primes: 4, 6, 12, 18, 30, 42, 60, 72 and 108. Only twelve numbers up to 169 do. In a 300 × 300 table it's 621 of the multiples of 6, where numbers of the same size predict 551. The cause is small factors: a multiple of 5 can't have a multiple of 5 next to it, so it sits between two primes twice as often (7.9 of 63 against 3.9 of 63 among multiples of 6). Match on the small factors and the gap is gone.

tested, nothing

The table doesn't pick its own endings

The products of the table were compared with all the numbers from 1 to 169 in seventeen systems, and later in the seesaw and three arms too. They end in the same places in about the same shares. One lean, in the 369 with the 1 at the end, was followed into bigger tables and was gone by 300 × 300. The systems read a number's bits, and being in the table is about how a number factors.

Bigger tables, thinner coverage

The same count for every table from 1 × 1 up to 30 × 30: what share of the cells hold a number not seen earlier in that table.

What each new ring adds, and whether the next ring can be forecast from the table inside it, has a page of its own: Is 12 the Limit?

TableCellsDifferent productsShare of the cellsPrimes in it

counted

The share slides down

known

It's an old question

How many different numbers a multiplication table holds was asked by Paul Erdős in 1955. The share falls towards nothing as the table grows, but very slowly, and the exact rate was only pinned down in 2008. Nothing on this page is new.

13 elsewhere on this site

link

The anchor reaches 13

On The Anchor, the switches -7 -5 -1 on one side and 1 3 9 on the other add up to 13 each, and they make every number from -13 to 13.

link

Counting in 13s

Base 13 and base 13 with no zero write numbers with 13 as the step. In base 13 the last row of this table is 10, 20, 30 and so on.