Let's divide 31004964 by 820
We're looking to find how many times 820 goes into 31004964.

Moving on to step 1:
If we divide 3 by 820, we get 0 and a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 820

Step 2:
If we divide 31 by 820, we get 0 and a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 31 after subtracting 0 from 31.
Append the next digit (0) from the dividend to 31 and continue with: 310 / 820

Going ahead to step 3:
820 goes into 310 0 times with a remainder of 310.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 310 to get 310.
Include the next digit (0) from the dividend after 310, then repeat: 3100 / 820

Step 4:
820 goes into 3100 3 times with a remainder of 640.
Write down 3 as next digit of the result. 
Result so far: 3.0
Subtracting 2460 from 3100 leaves us with 640.
Grab the next digit (4) from the dividend, add it to 640, then carry on: 6404 / 820

On to step 5:
The number 820 fits into 6404 7 times, leaving a remainder of 664.
The next digit of our result is 7. 
Result so far: 37.0
Subtract 5740 from 6404 to get 664.
Take the next digit (9) from the dividend and append it to 664, then repeat: 6649 / 820

Advancing to step 6:
When dividing 6649 by 820, we get 8 with a remainder of 89.
The number 8 becomes the next digit in our result. 
Result so far: 378.0
Deduct 6560 from 6649 and we're left with 89.
Include the next digit (6) from the dividend after 89, then repeat: 896 / 820

Moving on to step 7:
If we divide 896 by 820, we get 1 and a remainder of 76.
Record the quotient 1 as the next digit in the result. 
Result so far: 3781.0
Deduct 820 from 896 and we're left with 76.
Grab the next digit (4) from the dividend, add it to 76, then carry on: 764 / 820

Moving on to step 8:
The number 820 fits into 764 0 times, leaving a remainder of 764.
Put 0 as the next digit of the answer. 
Result so far: 37810.0
Subtract 0 from 764 to get 764.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7640, and continue the process.

Moving on to step 9:
When dividing 7640 by 820, we get 9 with a remainder of 260.
The next digit of our result is 9. 
Result so far: 37810.9
If we subtract 7380 from 7640, we get 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2600, and continue the process.

Step 10:
If we divide 2600 by 820, we get 3 and a remainder of 140.
Record the quotient 3 as the next digit in the result. 
Result so far: 37810.93
Subtracting 2460 from 2600 leaves us with 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1400, and continue the process.

Advancing to step 11:
1400 divided by 820 is 1 with a remainder of 580.
The number 1 becomes the next digit in our result. 
Result so far: 37810.931
Subtract 820 from 1400 to get 580.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5800, and continue the process.

Moving on to step 12:
5800 divided by 820 is 7 with a remainder of 60.
Write down 7 as next digit of the result. 
Result so far: 37810.9317
Deduct 5740 from 5800 and we're left with 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Let's proceed to step 13:
When dividing 600 by 820, we get 0 with a remainder of 600.
The next digit of our result is 0. 
Result so far: 37810.9317
The remainder is 600 after subtracting 0 from 600.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6000, and continue the process.

Moving on to step 14:
The number 820 fits into 6000 7 times, leaving a remainder of 260.
The next digit of our result is 7. 
Result so far: 37810.931707
If we take 5740 away from 6000, we end up with 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2600, and continue the process.

Going ahead to step 15:
The number 820 fits into 2600 3 times, leaving a remainder of 140.
Put 3 as the next digit of the answer. 
Result so far: 37810.9317073
If we take 2460 away from 2600, we end up with 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1400, and continue the process.

Let's proceed to step 16:
When dividing 1400 by 820, we get 1 with a remainder of 580.
The number 1 becomes the next digit in our result. 
Result so far: 37810.93170731
Subtract 820 from 1400 to get 580.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5800, and continue the process.

In conclusion, the division gives 37810.93170731 with a balance of 5.8e-07.