We look at the division of 31195151 by 584 
We want to divide 31195151 by 584.

On to step 1:
584 can be fit into 3 0 times, resulting in a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 584

Step 2:
The number 584 fits into 31 0 times, leaving a remainder of 31.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 31 leaves us with 31.
Take the next digit (1) from the dividend and append it to 31, then repeat: 311 / 584

Step 3:
584 goes into 311 0 times with a remainder of 311.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 311 after subtracting 0 from 311.
Append the next digit (9) from the dividend to 311 and continue with: 3119 / 584

Moving on to step 4:
The number 584 fits into 3119 5 times, leaving a remainder of 199.
The next digit of our result is 5. 
Result so far: 5.0
Subtracting 2920 from 3119 leaves us with 199.
Include the next digit (5) from the dividend after 199, then repeat: 1995 / 584

Step 5:
If we divide 1995 by 584, we get 3 and a remainder of 243.
Record the quotient 3 as the next digit in the result. 
Result so far: 53.0
Subtract 1752 from 1995 to get 243.
Grab the next digit (1) from the dividend, add it to 243, then carry on: 2431 / 584

On to step 6:
When dividing 2431 by 584, we get 4 with a remainder of 95.
The number 4 becomes the next digit in our result. 
Result so far: 534.0
The remainder is 95 after subtracting 2336 from 2431.
Take the next digit (5) from the dividend and append it to 95, then repeat: 955 / 584

On to step 7:
584 goes into 955 1 times with a remainder of 371.
Record the quotient 1 as the next digit in the result. 
Result so far: 5341.0
If we subtract 584 from 955, we get 371.
Fetch the next digit (1) from the dividend, attach it to 371 and continue: 3711 / 584

Moving on to step 8:
584 goes into 3711 6 times with a remainder of 207.
The next digit of our result is 6. 
Result so far: 53416.0
Subtract 3504 from 3711 to get 207.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2070, and continue the process.

On to step 9:
When dividing 2070 by 584, we get 3 with a remainder of 318.
Write down 3 as next digit of the result. 
Result so far: 53416.3
Deduct 1752 from 2070 and we're left with 318.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3180, and continue the process.

Advancing to step 10:
If we divide 3180 by 584, we get 5 and a remainder of 260.
Write down 5 as next digit of the result. 
Result so far: 53416.35
Subtracting 2920 from 3180 leaves us with 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2600, and continue the process.

Moving on to step 11:
584 goes into 2600 4 times with a remainder of 264.
Use 4 as the next digit of our solution. 
Result so far: 53416.354
If we subtract 2336 from 2600, we get 264.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2640, and continue the process.

Advancing to step 12:
584 goes into 2640 4 times with a remainder of 304.
Write down 4 as next digit of the result. 
Result so far: 53416.3544
If we subtract 2336 from 2640, we get 304.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3040, and continue the process.

The final outcome is 53416.3544, with a leftover of 0.00304.