https://primanota.net/children-18-3/lcm-chords.htm