Let's divide 31186888 by 366
Our goal is to divide 31186888 by 366.

On to step 1:
3 divided by 366 is 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 366

Moving on to step 2:
31 divided by 366 is 0 with a remainder of 31.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 31 leaves us with 31.
Grab the next digit (1) from the dividend, add it to 31, then carry on: 311 / 366

Moving on to step 3:
311 divided by 366 is 0 with a remainder of 311.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 311, we get 311.
Fetch the next digit (8) from the dividend, attach it to 311 and continue: 3118 / 366

Going ahead to step 4:
3118 divided by 366 is 8 with a remainder of 190.
Use 8 as the next digit of our solution. 
Result so far: 8.0
Deduct 2928 from 3118 and we're left with 190.
Include the next digit (6) from the dividend after 190, then repeat: 1906 / 366

Let's proceed to step 5:
When dividing 1906 by 366, we get 5 with a remainder of 76.
Record the quotient 5 as the next digit in the result. 
Result so far: 85.0
If we take 1830 away from 1906, we end up with 76.
Grab the next digit (8) from the dividend, add it to 76, then carry on: 768 / 366

Step 6:
366 can be fit into 768 2 times, resulting in a remainder of 36.
Write down 2 as next digit of the result. 
Result so far: 852.0
The remainder is 36 after subtracting 732 from 768.
Grab the next digit (8) from the dividend, add it to 36, then carry on: 368 / 366

Step 7:
368 divided by 366 is 1 with a remainder of 2.
Put 1 as the next digit of the answer. 
Result so far: 8521.0
Deduct 366 from 368 and we're left with 2.
Bring next digit (8) of the dividend behind the 2 and repeat the process: 28 / 366

Going ahead to step 8:
When dividing 28 by 366, we get 0 with a remainder of 28.
Write down 0 as next digit of the result. 
Result so far: 85210.0
The remainder is 28 after subtracting 0 from 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Let's proceed to step 9:
366 goes into 280 0 times with a remainder of 280.
The number 0 becomes the next digit in our result. 
Result so far: 85210.0
Subtract 0 from 280 to get 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2800, and continue the process.

Let's proceed to step 10:
2800 divided by 366 is 7 with a remainder of 238.
The next digit of our result is 7. 
Result so far: 85210.07
The remainder is 238 after subtracting 2562 from 2800.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2380, and continue the process.

Let's proceed to step 11:
2380 divided by 366 is 6 with a remainder of 184.
The next digit of our result is 6. 
Result so far: 85210.076
Subtracting 2196 from 2380 leaves us with 184.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1840, and continue the process.

Advancing to step 12:
1840 divided by 366 is 5 with a remainder of 10.
Record the quotient 5 as the next digit in the result. 
Result so far: 85210.0765
Deduct 1830 from 1840 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 13:
If we divide 100 by 366, we get 0 and a remainder of 100.
Record the quotient 0 as the next digit in the result. 
Result so far: 85210.0765
Deduct 0 from 100 and we're left with 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

Let's proceed to step 14:
1000 divided by 366 is 2 with a remainder of 268.
Record the quotient 2 as the next digit in the result. 
Result so far: 85210.076502
If we take 732 away from 1000, we end up with 268.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2680, and continue the process.

On to step 15:
366 goes into 2680 7 times with a remainder of 118.
Write down 7 as next digit of the result. 
Result so far: 85210.0765027
Subtract 2562 from 2680 to get 118.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1180, and continue the process.

Going ahead to step 16:
366 can be fit into 1180 3 times, resulting in a remainder of 82.
Put 3 as the next digit of the answer. 
Result so far: 85210.07650273
Subtract 1098 from 1180 to get 82.
Since there are no more digits in the dividend, we add a zero to the remainder making it 820, and continue the process.

In conclusion, the division gives 85210.07650273 with a balance of 8.2e-08.