31315397 divided by 545 
We want to figure out the number of times 31315397 can be divided by 545.

Advancing to step 1:
The number 545 fits into 3 0 times, leaving a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 545

On to step 2:
The number 545 fits into 31 0 times, leaving a remainder of 31.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 31 after subtracting 0 from 31.
Bring next digit (3) of the dividend behind the 31 and repeat the process: 313 / 545

Moving on to step 3:
545 goes into 313 0 times with a remainder of 313.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 313, we end up with 313.
Include the next digit (1) from the dividend after 313, then repeat: 3131 / 545

Going ahead to step 4:
The number 545 fits into 3131 5 times, leaving a remainder of 406.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
Subtracting 2725 from 3131 leaves us with 406.
Grab the next digit (5) from the dividend, add it to 406, then carry on: 4065 / 545

Advancing to step 5:
The number 545 fits into 4065 7 times, leaving a remainder of 250.
Record the quotient 7 as the next digit in the result. 
Result so far: 57.0
If we subtract 3815 from 4065, we get 250.
Include the next digit (3) from the dividend after 250, then repeat: 2503 / 545

Let's proceed to step 6:
545 goes into 2503 4 times with a remainder of 323.
Record the quotient 4 as the next digit in the result. 
Result so far: 574.0
If we take 2180 away from 2503, we end up with 323.
Fetch the next digit (9) from the dividend, attach it to 323 and continue: 3239 / 545

On to step 7:
The number 545 fits into 3239 5 times, leaving a remainder of 514.
Use 5 as the next digit of our solution. 
Result so far: 5745.0
Subtracting 2725 from 3239 leaves us with 514.
Take the next digit (7) from the dividend and append it to 514, then repeat: 5147 / 545

Step 8:
5147 divided by 545 is 9 with a remainder of 242.
Record the quotient 9 as the next digit in the result. 
Result so far: 57459.0
Subtract 4905 from 5147 to get 242.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2420, and continue the process.

On to step 9:
545 can be fit into 2420 4 times, resulting in a remainder of 240.
Put 4 as the next digit of the answer. 
Result so far: 57459.4
If we take 2180 away from 2420, we end up with 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2400, and continue the process.

Moving on to step 10:
When dividing 2400 by 545, we get 4 with a remainder of 220.
Write down 4 as next digit of the result. 
Result so far: 57459.44
If we subtract 2180 from 2400, we get 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2200, and continue the process.

The quotient of the division is 57459.44, and the remainder is 0.22.