Exploring the Times Table

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

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

The times table provides a rich source for mathematical discoveries. The plus table, on the other hand, is pretty dull. This Demonstration lets you explore both for comparison.


You can select which elements of the table will be shown or highlighted. Click the table's left border and top border to select (row and column) operands and the corresponding result. You can also click a result to select it and the corresponding operands. Deselect by clicking again or by clicking the top left-hand corner (in the operator position). The crosshairs highlight the selected row and column.

The diagonal can be highlighted to help emphasize the mirror symmetry of the table. In the times table, the diagonal contains the square numbers.

One observation about the times table is illustrated by highlighting the rectangle that contains 1 and that has the selected result in the lower right-hand corner. The area of this rectangle (its number of cells) equals the selected result. You do not need to know the results to play around with that rectangle. How many other such rectangles are there with the same area?

The "also highlight" control lets you highlight additional results, related to the selected result.

The slider labeled "modulo" highlights all cells equal to the selected result (or equal to 0, if no result is selected) modulo this slider's value. Slider value 0 disables it.


Contributed by: Tom Verhoeff (March 2011)
(Eindhoven University of Technology)
Open content licensed under CC BY-NC-SA



When counting occurrences in the times table, it is best to imagine it infinitely extended. This is reinforced by clicking "extension". How often does the result 1 occur? Once! And 2? Twice! And 3? Also twice! Any others that occur exactly twice? These turn out to be the prime numbers. And 4? It occurs three times. Any others occurring exactly three times? Is there a pattern to how often a number occurs?

To help in this exploration, you can use the "also highlight" control. In its default setting, it only highlights the result. In its third setting, it will highlight all cells containing a value equal to the selected result, including in the right and bottom border if those occurrences fall outside the shown table range. This simplifies the counting of occurrences.

The fourth setting of the "also highlight" control highlights all cells that occur the same number of times as the selected result. Select result 6 to see all values that occur 4 times. What is special about these values?

The fifth setting highlights all cells whose occurrence count has the same parity (odd or even) as the selected result. This way, you can easily see all values that occur an odd number of times. Just select 4.

The "modulo" slider highlights cells whose value equals the selected result modulo the slider's value or whose value is divisible by the slider's value if no result is selected. This gives rise to nice patterns. Can you understand those patterns?

These explorations show that the times table is full of surprises. There are some regularities, but otherwise it is a very rich world, containing the seeds of advanced mathematics.

Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.