Look up what multiplicative persistance is if you don't know. Numberphile vid about it: https://www.youtube.com/watch?v=Wim9WJeDTHQ Press the green flag enter a number and it will tell you the steps
Credit to me for code. Please don't look up the best ones and enter them! Lets work together and find them ourselves!