AoC 2020 day 13, part 2, can't solve
@cancel I had to do some eyeballing and maths using my brain to extract some useful constraints before I could get workable code. AFAIK everyone's input is different.
If integer N == x*prime1 == y * prime2 this means prime1 and prime2 are factors of N. Without knowing x and y, can still say N==k*prime1*prime2
You can peek at my solution here https://nbviewer.jupyter.org/urls/git.sr.ht/~eliotb/code_advent_2020/blob/master/00_core.ipynb
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!