If with this code you still need to waste an electricity for #105, then this code is still useless. In order to have it profitable it must solve #105 in a few seconds... ok, few minutes... ok, few hours... )))
To do this, you need to solve problem function Modular multiplicative inverse (ModInv). Takes a long time. Will using Jacobian coordinates take so much time?