Uploaded December 2020 | Updated November 2026, 14 hours ago
It's that time of year again! Ok I had a lot of fun with tonight's, despite not leaderboarding. Part 2 is going to cause some serious down-board carnage, so I tried to explain what I did! It's all about the modular inverses.
Here's the code: github.com/jwise/aoc/blob/master/2020/13.lua and github.com/jwise/aoc/blob/master/2020/13b.lua
0:00 - Introduction
3:33 - Part 1
8:39 - Part 2
23:13 - A long explanation of a fun math problem!
#adventofcode
It's that time of year again! Ok I had a lot of fun with tonight's, despite not leaderboarding. Part 2 is going to cause some serious down-board carnage, so I tried to explain what I did! It's all about the modular inverses.
Here's the code: github.com/jwise/aoc/blob/master/2020/13.lua and github.com/jwise/aoc/blob/master/2020/13b.lua
0:00 - Introduction
3:33 - Part 1
8:39 - Part 2
23:13 - A long explanation of a fun math problem!
#adventofcode










