2

(not another factorization post lol)

So I found something cool.

Let s() be a function that returns the unit digit and mantissa of any number.
Let p be our product a*b
Let w = √p

Q = p/(s)w

q = Q/w

Finally
(Q-(w*n))/w

will allow you to count up or down without changing anything to the left (except for carrying) or to the right (mantissa).

Edit: Also can anyone tell me why this is?

Comments
Add Comment