algorithm for division 740096