Done it by brute force. Ugh. Ended up checking like 60m cases for each of the last 3 digits. 12 minute runtime for each part in pypy.
@frankenbike started
London Fixed Gear and Single-Speed is a community of predominantly fixed gear and single-speed cyclists in and around London, UK.
This site is supported almost exclusively by donations. Please consider donating a small amount regularly.
Done it by brute force. Ugh. Ended up checking like 60m cases for each of the last 3 digits. 12 minute runtime for each part in pypy.