PROJECT EULER · #0466
Distinct Terms in a Multiplication Table
Let
For example, a
| 1 | 2 | 3 | 4 | |
|---|---|---|---|---|
| 1 | 1 | 2 | 3 | 4 |
| 2 | 2 | 4 | 6 | 8 |
| 3 | 3 | 6 | 9 | 12 |
There are
You are given that:
Find
Write-up coming later
The complete problem is available here. An approach, code, and answer will be added later.