The highest number that will terminate at 25 is 123:
123 1111011 111 x 1011 7 x 11
77 1001101 1001 x 101 9 x 5
45 101101 101 x 101 5 x 5
25 11001 stop
The highest number that will stop at 32 is 965:
965 1111000101 111 x 1000101 7 x 69
483 111100011 111 x 100011 7 x 35
245 11110101 111 x 10101 7 x 21
147 10010011 100100 x 11 36 x 3
108 1101100 110 x 1100 6 x 12
72 1001000 100 x 1000 4 x 8
32 100000 stop