4 ms·> is far more inefficient Is it?by saagarjha 7y ago> is far more inefficient Is it?bjoli 7y agoProbably not, at least not compared to the naive solution using Euclidean division. for larger numbers it is probably faster.