One full driver turn yields 5 full follower turns and a residual phase of 10/46.
Core Algorithm
Algorithm Explorer
Scrub Euclid Steps, Bézout Rows, and the One-Step Phase Analogy
Verified
Verified
Verified
Analogy Only
GCD
2
Steps
5
CF
[5; 4, 1, 1, 2]
Division Steps
| step | A | B | q | r |
|---|---|---|---|---|
| 1 | 240 | 46 | 5 | 10 |
| 2 | 46 | 10 | 4 | 6 |
| 3 | 10 | 6 | 1 | 4 |
| 4 | 6 | 4 | 1 | 2 |
| 5 | 4 | 2 | 2 | 0 |
Extended Euclid Rows
| i | q | r | r recurrence | s | t | identity |
|---|---|---|---|---|---|---|
| 0 | 240 | 1 | 0 | 240 * (1) + 46 * (0) = 240 | ||
| 1 | 46 | 0 | 1 | 240 * (0) + 46 * (1) = 46 | ||
| 2 | 5 | 10 | 240 - 5 * 46 | 1 | -5 | 240 * (1) + 46 * (-5) = 10 |
| 3 | 4 | 6 | 46 - 4 * 10 | -4 | 21 | 240 * (-4) + 46 * (21) = 6 |
| 4 | 1 | 4 | 10 - 1 * 6 | 5 | -26 | 240 * (5) + 46 * (-26) = 4 |
| 5 | 1 | 2 | 6 - 1 * 4 | -9 | 47 | 240 * (-9) + 46 * (47) = 2 |
| 6 | 2 | 0 | 4 - 2 * 2 | 23 | -120 | 240 * (23) + 46 * (-120) = 0 |