https://primanota.net/children-183/lcm-chords.htm