PROJECT EULER · #0443
GCD Sequence
Let
The first few values are:
| 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | ... | |
| 13 | 14 | 16 | 17 | 18 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 51 | 54 | 55 | 60 | ... |
You are given that
Find
Write-up coming later
The complete problem is available here. An approach, code, and answer will be added later.