31878944 divided by 583 
We want to figure out the number of times 31878944 can be divided by 583.

Let's proceed to step 1:
When dividing 3 by 583, we get 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 583

Let's proceed to step 2:
The number 583 fits into 31 0 times, leaving a remainder of 31.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Include the next digit (8) from the dividend after 31, then repeat: 318 / 583

Step 3:
The number 583 fits into 318 0 times, leaving a remainder of 318.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 318 leaves us with 318.
Grab the next digit (7) from the dividend, add it to 318, then carry on: 3187 / 583

Going ahead to step 4:
583 can be fit into 3187 5 times, resulting in a remainder of 272.
Use 5 as the next digit of our solution. 
Result so far: 5.0
The remainder is 272 after subtracting 2915 from 3187.
Fetch the next digit (8) from the dividend, attach it to 272 and continue: 2728 / 583

Going ahead to step 5:
583 can be fit into 2728 4 times, resulting in a remainder of 396.
The next digit of our result is 4. 
Result so far: 54.0
Subtracting 2332 from 2728 leaves us with 396.
Append the next digit (9) from the dividend to 396 and continue with: 3969 / 583

Going ahead to step 6:
When dividing 3969 by 583, we get 6 with a remainder of 471.
The number 6 becomes the next digit in our result. 
Result so far: 546.0
If we subtract 3498 from 3969, we get 471.
Fetch the next digit (4) from the dividend, attach it to 471 and continue: 4714 / 583

Step 7:
The number 583 fits into 4714 8 times, leaving a remainder of 50.
Record the quotient 8 as the next digit in the result. 
Result so far: 5468.0
If we subtract 4664 from 4714, we get 50.
Take the next digit (4) from the dividend and append it to 50, then repeat: 504 / 583

Moving on to step 8:
If we divide 504 by 583, we get 0 and a remainder of 504.
Write down 0 as next digit of the result. 
Result so far: 54680.0
The remainder is 504 after subtracting 0 from 504.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5040, and continue the process.

Going ahead to step 9:
When dividing 5040 by 583, we get 8 with a remainder of 376.
The number 8 becomes the next digit in our result. 
Result so far: 54680.8
If we take 4664 away from 5040, we end up with 376.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3760, and continue the process.

Advancing to step 10:
If we divide 3760 by 583, we get 6 and a remainder of 262.
Write down 6 as next digit of the result. 
Result so far: 54680.86
If we subtract 3498 from 3760, we get 262.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2620, and continue the process.

Advancing to step 11:
When dividing 2620 by 583, we get 4 with a remainder of 288.
Write down 4 as next digit of the result. 
Result so far: 54680.864
If we take 2332 away from 2620, we end up with 288.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2880, and continue the process.

Moving on to step 12:
583 can be fit into 2880 4 times, resulting in a remainder of 548.
The next digit of our result is 4. 
Result so far: 54680.8644
If we subtract 2332 from 2880, we get 548.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5480, and continue the process.

The final result is 54680.8644 with a remainder of 0.00548.