Let's divide 774545 by 31
We want to divide 774545 by 31.

On to step 1:
The number 31 fits into 7 0 times, leaving a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 7, we get 7.
Take the next digit (7) from the dividend and append it to 7, then repeat: 77 / 31

Let's proceed to step 2:
31 can be fit into 77 2 times, resulting in a remainder of 15.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Subtracting 62 from 77 leaves us with 15.
Include the next digit (4) from the dividend after 15, then repeat: 154 / 31

Moving on to step 3:
31 goes into 154 4 times with a remainder of 30.
Put 4 as the next digit of the answer. 
Result so far: 24.0
Subtracting 124 from 154 leaves us with 30.
Grab the next digit (5) from the dividend, add it to 30, then carry on: 305 / 31

Let's proceed to step 4:
305 divided by 31 is 9 with a remainder of 26.
Put 9 as the next digit of the answer. 
Result so far: 249.0
If we take 279 away from 305, we end up with 26.
Grab the next digit (4) from the dividend, add it to 26, then carry on: 264 / 31

Going ahead to step 5:
31 goes into 264 8 times with a remainder of 16.
Write down 8 as next digit of the result. 
Result so far: 2498.0
Subtract 248 from 264 to get 16.
Include the next digit (5) from the dividend after 16, then repeat: 165 / 31

On to step 6:
When dividing 165 by 31, we get 5 with a remainder of 10.
Record the quotient 5 as the next digit in the result. 
Result so far: 24985.0
If we subtract 155 from 165, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 7:
When dividing 100 by 31, we get 3 with a remainder of 7.
Write down 3 as next digit of the result. 
Result so far: 24985.3
Deduct 93 from 100 and we're left with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Advancing to step 8:
31 goes into 70 2 times with a remainder of 8.
Use 2 as the next digit of our solution. 
Result so far: 24985.32
Subtract 62 from 70 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 9:
When dividing 80 by 31, we get 2 with a remainder of 18.
Write down 2 as next digit of the result. 
Result so far: 24985.322
If we subtract 62 from 80, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

The quotient of the division is 24985.322, and the remainder is 0.0018.