Let's divide 50587971 by 820
The aim is to understand the frequency of 820 in 50587971.

On to step 1:
5 divided by 820 is 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Take the next digit (0) from the dividend and append it to 5, then repeat: 50 / 820

Moving on to step 2:
If we divide 50 by 820, we get 0 and a remainder of 50.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 50 leaves us with 50.
Include the next digit (5) from the dividend after 50, then repeat: 505 / 820

On to step 3:
If we divide 505 by 820, we get 0 and a remainder of 505.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 505 leaves us with 505.
Grab the next digit (8) from the dividend, add it to 505, then carry on: 5058 / 820

Going ahead to step 4:
820 can be fit into 5058 6 times, resulting in a remainder of 138.
The number 6 becomes the next digit in our result. 
Result so far: 6.0
Subtract 4920 from 5058 to get 138.
Include the next digit (7) from the dividend after 138, then repeat: 1387 / 820

Advancing to step 5:
820 can be fit into 1387 1 times, resulting in a remainder of 567.
The next digit of our result is 1. 
Result so far: 61.0
If we take 820 away from 1387, we end up with 567.
Bring next digit (9) of the dividend behind the 567 and repeat the process: 5679 / 820

Let's proceed to step 6:
820 goes into 5679 6 times with a remainder of 759.
The number 6 becomes the next digit in our result. 
Result so far: 616.0
Subtracting 4920 from 5679 leaves us with 759.
Include the next digit (7) from the dividend after 759, then repeat: 7597 / 820

On to step 7:
820 can be fit into 7597 9 times, resulting in a remainder of 217.
Put 9 as the next digit of the answer. 
Result so far: 6169.0
If we subtract 7380 from 7597, we get 217.
Append the next digit (1) from the dividend to 217 and continue with: 2171 / 820

On to step 8:
820 goes into 2171 2 times with a remainder of 531.
Use 2 as the next digit of our solution. 
Result so far: 61692.0
Deduct 1640 from 2171 and we're left with 531.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5310, and continue the process.

Advancing to step 9:
The number 820 fits into 5310 6 times, leaving a remainder of 390.
Write down 6 as next digit of the result. 
Result so far: 61692.6
Subtracting 4920 from 5310 leaves us with 390.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3900, and continue the process.

Moving on to step 10:
820 can be fit into 3900 4 times, resulting in a remainder of 620.
The number 4 becomes the next digit in our result. 
Result so far: 61692.64
Subtracting 3280 from 3900 leaves us with 620.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6200, and continue the process.

Let's proceed to step 11:
6200 divided by 820 is 7 with a remainder of 460.
The number 7 becomes the next digit in our result. 
Result so far: 61692.647
If we subtract 5740 from 6200, we get 460.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4600, and continue the process.

Step 12:
If we divide 4600 by 820, we get 5 and a remainder of 500.
The next digit of our result is 5. 
Result so far: 61692.6475
Deduct 4100 from 4600 and we're left with 500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5000, and continue the process.

On to step 13:
5000 divided by 820 is 6 with a remainder of 80.
Put 6 as the next digit of the answer. 
Result so far: 61692.64756
If we subtract 4920 from 5000, we get 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Advancing to step 14:
If we divide 800 by 820, we get 0 and a remainder of 800.
Record the quotient 0 as the next digit in the result. 
Result so far: 61692.64756
The remainder is 800 after subtracting 0 from 800.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8000, and continue the process.

Let's proceed to step 15:
8000 divided by 820 is 9 with a remainder of 620.
The number 9 becomes the next digit in our result. 
Result so far: 61692.6475609
The remainder is 620 after subtracting 7380 from 8000.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6200, and continue the process.

On to step 16:
When dividing 6200 by 820, we get 7 with a remainder of 460.
Put 7 as the next digit of the answer. 
Result so far: 61692.64756097
Subtracting 5740 from 6200 leaves us with 460.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4600, and continue the process.

The final outcome is 61692.64756097, with a leftover of 4.6e-07.