PROJECT EULER · #0061
Cyclical Figurate Numbers
Triangle, square, pentagonal, hexagonal, heptagonal, and octagonal numbers are all figurate (polygonal) numbers and are generated by the following formulae:
| Triangle | ||||
| Square | ||||
| Pentagonal | ||||
| Hexagonal | ||||
| Heptagonal | ||||
| Octagonal |
The ordered set of three
- The set is cyclic, in that the last two digits of each number is the first two digits of the next number (including the last number with the first).
- Each polygonal type: triangle (
), square ( ), and pentagonal ( ), is represented by a different number in the set. - This is the only set of
-digit numbers with this property.
Find the sum of the only ordered set of six cyclic
Write-up coming later
The complete problem is available here. An approach, code, and answer will be added later.