We look at the division of 29871866 by 583 
We're looking to find how many times 583 goes into 29871866.

Advancing to step 1:
583 goes into 2 0 times with a remainder of 2.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 2, we get 2.
Include the next digit (9) from the dividend after 2, then repeat: 29 / 583

On to step 2:
If we divide 29 by 583, we get 0 and a remainder of 29.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 29 leaves us with 29.
Fetch the next digit (8) from the dividend, attach it to 29 and continue: 298 / 583

Advancing to step 3:
The number 583 fits into 298 0 times, leaving a remainder of 298.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 298 and we're left with 298.
Grab the next digit (7) from the dividend, add it to 298, then carry on: 2987 / 583

Advancing to step 4:
The number 583 fits into 2987 5 times, leaving a remainder of 72.
Use 5 as the next digit of our solution. 
Result so far: 5.0
The remainder is 72 after subtracting 2915 from 2987.
Include the next digit (1) from the dividend after 72, then repeat: 721 / 583

Going ahead to step 5:
583 can be fit into 721 1 times, resulting in a remainder of 138.
Use 1 as the next digit of our solution. 
Result so far: 51.0
Subtracting 583 from 721 leaves us with 138.
Take the next digit (8) from the dividend and append it to 138, then repeat: 1388 / 583

Going ahead to step 6:
1388 divided by 583 is 2 with a remainder of 222.
Use 2 as the next digit of our solution. 
Result so far: 512.0
Subtracting 1166 from 1388 leaves us with 222.
Include the next digit (6) from the dividend after 222, then repeat: 2226 / 583

On to step 7:
583 goes into 2226 3 times with a remainder of 477.
Write down 3 as next digit of the result. 
Result so far: 5123.0
The remainder is 477 after subtracting 1749 from 2226.
Grab the next digit (6) from the dividend, add it to 477, then carry on: 4776 / 583

Moving on to step 8:
583 can be fit into 4776 8 times, resulting in a remainder of 112.
Record the quotient 8 as the next digit in the result. 
Result so far: 51238.0
Subtract 4664 from 4776 to get 112.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1120, and continue the process.

On to step 9:
If we divide 1120 by 583, we get 1 and a remainder of 537.
Write down 1 as next digit of the result. 
Result so far: 51238.1
Deduct 583 from 1120 and we're left with 537.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5370, and continue the process.

Step 10:
583 goes into 5370 9 times with a remainder of 123.
Write down 9 as next digit of the result. 
Result so far: 51238.19
If we subtract 5247 from 5370, we get 123.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1230, and continue the process.

Going ahead to step 11:
583 can be fit into 1230 2 times, resulting in a remainder of 64.
The number 2 becomes the next digit in our result. 
Result so far: 51238.192
The remainder is 64 after subtracting 1166 from 1230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Advancing to step 12:
The number 583 fits into 640 1 times, leaving a remainder of 57.
The next digit of our result is 1. 
Result so far: 51238.1921
Deduct 583 from 640 and we're left with 57.
Since there are no more digits in the dividend, we add a zero to the remainder making it 570, and continue the process.

Moving on to step 13:
583 goes into 570 0 times with a remainder of 570.
Write down 0 as next digit of the result. 
Result so far: 51238.1921
If we take 0 away from 570, we end up with 570.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5700, and continue the process.

Going ahead to step 14:
When dividing 5700 by 583, we get 9 with a remainder of 453.
The number 9 becomes the next digit in our result. 
Result so far: 51238.192109
The remainder is 453 after subtracting 5247 from 5700.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4530, and continue the process.

Going ahead to step 15:
When dividing 4530 by 583, we get 7 with a remainder of 449.
The number 7 becomes the next digit in our result. 
Result so far: 51238.1921097
If we take 4081 away from 4530, we end up with 449.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4490, and continue the process.

Let's proceed to step 16:
583 can be fit into 4490 7 times, resulting in a remainder of 409.
The number 7 becomes the next digit in our result. 
Result so far: 51238.19210977
If we take 4081 away from 4490, we end up with 409.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4090, and continue the process.

After the division, we end up with 51238.19210977 and a remainder of 4.09e-07.