Quote Originally Posted by Salem View Post
Well
a = 1000 + (count/100) * 1000;
b = ((count % 100) / 20 + 1) * 100;

Play around with ideas like this, there is clearly an arithmetic relationship between the values.
Figure out what it is.
Thank you very much your answer put me definitely in the right direction I think I know how to do it now!