We look at the division of 31066 by 54 
Our goal is to divide 31066 by 54.

On to step 1:
3 divided by 54 is 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 54

Advancing to step 2:
When dividing 31 by 54, we get 0 with a remainder of 31.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 31 to get 31.
Append the next digit (0) from the dividend to 31 and continue with: 310 / 54

Moving on to step 3:
54 goes into 310 5 times with a remainder of 40.
The next digit of our result is 5. 
Result so far: 5.0
The remainder is 40 after subtracting 270 from 310.
Append the next digit (6) from the dividend to 40 and continue with: 406 / 54

Let's proceed to step 4:
When dividing 406 by 54, we get 7 with a remainder of 28.
The next digit of our result is 7. 
Result so far: 57.0
Subtracting 378 from 406 leaves us with 28.
Grab the next digit (6) from the dividend, add it to 28, then carry on: 286 / 54

Let's proceed to step 5:
286 divided by 54 is 5 with a remainder of 16.
The next digit of our result is 5. 
Result so far: 575.0
The remainder is 16 after subtracting 270 from 286.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 6:
160 divided by 54 is 2 with a remainder of 52.
The number 2 becomes the next digit in our result. 
Result so far: 575.2
Subtracting 108 from 160 leaves us with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Moving on to step 7:
The number 54 fits into 520 9 times, leaving a remainder of 34.
Use 9 as the next digit of our solution. 
Result so far: 575.29
If we subtract 486 from 520, we get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Moving on to step 8:
54 can be fit into 340 6 times, resulting in a remainder of 16.
Use 6 as the next digit of our solution. 
Result so far: 575.296
If we take 324 away from 340, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 9:
54 can be fit into 160 2 times, resulting in a remainder of 52.
The next digit of our result is 2. 
Result so far: 575.2962
If we take 108 away from 160, we end up with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Advancing to step 10:
If we divide 520 by 54, we get 9 and a remainder of 34.
Write down 9 as next digit of the result. 
Result so far: 575.29629
Subtracting 486 from 520 leaves us with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Step 11:
The number 54 fits into 340 6 times, leaving a remainder of 16.
Record the quotient 6 as the next digit in the result. 
Result so far: 575.296296
Deduct 324 from 340 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 12:
When dividing 160 by 54, we get 2 with a remainder of 52.
Put 2 as the next digit of the answer. 
Result so far: 575.2962962
Deduct 108 from 160 and we're left with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Let's proceed to step 13:
When dividing 520 by 54, we get 9 with a remainder of 34.
Put 9 as the next digit of the answer. 
Result so far: 575.29629629
Subtract 486 from 520 to get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

The final outcome is 575.29629629, with a leftover of 3.4e-08.