31178640 divided by 566 
Let's see how many times 566 fits into 31178640.

Step 1:
When dividing 3 by 566, we get 0 with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 566

Moving on to step 2:
The number 566 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.
Append the next digit (1) from the dividend to 31 and continue with: 311 / 566

Step 3:
566 can be fit into 311 0 times, resulting in 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.
Include the next digit (7) from the dividend after 311, then repeat: 3117 / 566

Moving on to step 4:
When dividing 3117 by 566, we get 5 with a remainder of 287.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
The remainder is 287 after subtracting 2830 from 3117.
Append the next digit (8) from the dividend to 287 and continue with: 2878 / 566

On to step 5:
566 goes into 2878 5 times with a remainder of 48.
The number 5 becomes the next digit in our result. 
Result so far: 55.0
Deduct 2830 from 2878 and we're left with 48.
Fetch the next digit (6) from the dividend, attach it to 48 and continue: 486 / 566

Step 6:
The number 566 fits into 486 0 times, leaving a remainder of 486.
Put 0 as the next digit of the answer. 
Result so far: 550.0
If we take 0 away from 486, we end up with 486.
Append the next digit (4) from the dividend to 486 and continue with: 4864 / 566

Let's proceed to step 7:
If we divide 4864 by 566, we get 8 and a remainder of 336.
Write down 8 as next digit of the result. 
Result so far: 5508.0
If we subtract 4528 from 4864, we get 336.
Include the next digit (0) from the dividend after 336, then repeat: 3360 / 566

Let's proceed to step 8:
If we divide 3360 by 566, we get 5 and a remainder of 530.
Put 5 as the next digit of the answer. 
Result so far: 55085.0
Subtract 2830 from 3360 to get 530.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5300, and continue the process.

Moving on to step 9:
566 can be fit into 5300 9 times, resulting in a remainder of 206.
Use 9 as the next digit of our solution. 
Result so far: 55085.9
The remainder is 206 after subtracting 5094 from 5300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2060, and continue the process.

On to step 10:
566 can be fit into 2060 3 times, resulting in a remainder of 362.
Record the quotient 3 as the next digit in the result. 
Result so far: 55085.93
Subtract 1698 from 2060 to get 362.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3620, and continue the process.

Advancing to step 11:
The number 566 fits into 3620 6 times, leaving a remainder of 224.
Write down 6 as next digit of the result. 
Result so far: 55085.936
Deduct 3396 from 3620 and we're left with 224.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2240, and continue the process.

Moving on to step 12:
The number 566 fits into 2240 3 times, leaving a remainder of 542.
The number 3 becomes the next digit in our result. 
Result so far: 55085.9363
Subtract 1698 from 2240 to get 542.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5420, and continue the process.

Step 13:
5420 divided by 566 is 9 with a remainder of 326.
The number 9 becomes the next digit in our result. 
Result so far: 55085.93639
Subtract 5094 from 5420 to get 326.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3260, and continue the process.

On to step 14:
The number 566 fits into 3260 5 times, leaving a remainder of 430.
Put 5 as the next digit of the answer. 
Result so far: 55085.936395
The remainder is 430 after subtracting 2830 from 3260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4300, and continue the process.

Going ahead to step 15:
566 goes into 4300 7 times with a remainder of 338.
Put 7 as the next digit of the answer. 
Result so far: 55085.9363957
Subtracting 3962 from 4300 leaves us with 338.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3380, and continue the process.

Moving on to step 16:
566 can be fit into 3380 5 times, resulting in a remainder of 550.
Put 5 as the next digit of the answer. 
Result so far: 55085.93639575
Subtract 2830 from 3380 to get 550.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5500, and continue the process.

The final outcome is 55085.93639575, with a leftover of 5.5e-07.