aha, it is more mathematical problem then programming one.
it is funny, my son was learning about "least common multiple" and "greatest common divider" some weeks ago and I could not figure it out.
so I did find some hints on reddit, thanks to #DerGernTod pointing me to "common denominator"
#dergerntod #lcm #gcd #python #adventofcode #day11