Back to the treasure game, with a new rule: a jump of 1 is not allowed. Where can Grumpy hide two treasures so Jumpy can't reach both?
- 12 and 26: a jump of 2 reaches both. Not safe.
- 4 and 9: no jump size except 1 reaches both. Safe.
Two numbers are co-prime if their only common factor is 1.
| Pair | Common factor | Co-prime? |
|---|---|---|
| 15 and 39 | 3 | no |
| 4 and 15 | only 1 | yes |
| 18 and 29 | only 1 | yes |
| 20 and 55 | 5 | no |
| 18 and 35 | only 1 | yes |
| 30 and 415 | 5 | no |
| 81 and 18 | 9 | no |
Anshu's discovery: in the idli-vada game, the first common multiple equals the product when the numbers are co-prime (3 and 5 → 15; 4 and 9 → 36). Otherwise it is less (3 and 6 → 6, not 18).
Co-prime art. Pegs are placed around a circle and a thread is tied to every k-th peg (the thread-gap). With 12 pegs and gap 4 the thread closes after only 3 pegs (a triangle). With 13 pegs and gap 3 it visits every peg. The thread reaches every peg exactly when the number of pegs and the thread-gap are co-prime.
Tap the diagram to enlarge it
- 4 and 9 are co-prime
- Co-prime: first common multiple = product
- Thread reaches all pegs when co-prime