yes then just find the common denominator of the eqn[5]

you will end up something like: (15625n+b)/1024+1

where b is an integer constant. then just solve the diaphantine equation
15625n+b=1024x, where n and x are both integers