Let's divide 9983122 by 520
The aim is to understand the frequency of 520 in 9983122.

Going ahead to step 1:
520 can be fit into 9 0 times, resulting in a remainder of 9.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Grab the next digit (9) from the dividend, add it to 9, then carry on: 99 / 520

On to step 2:
99 divided by 520 is 0 with a remainder of 99.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 99, we end up with 99.
Grab the next digit (8) from the dividend, add it to 99, then carry on: 998 / 520

Advancing to step 3:
When dividing 998 by 520, we get 1 with a remainder of 478.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 478 after subtracting 520 from 998.
Bring next digit (3) of the dividend behind the 478 and repeat the process: 4783 / 520

Step 4:
The number 520 fits into 4783 9 times, leaving a remainder of 103.
The next digit of our result is 9. 
Result so far: 19.0
If we subtract 4680 from 4783, we get 103.
Fetch the next digit (1) from the dividend, attach it to 103 and continue: 1031 / 520

Advancing to step 5:
The number 520 fits into 1031 1 times, leaving a remainder of 511.
Put 1 as the next digit of the answer. 
Result so far: 191.0
If we take 520 away from 1031, we end up with 511.
Include the next digit (2) from the dividend after 511, then repeat: 5112 / 520

Advancing to step 6:
The number 520 fits into 5112 9 times, leaving a remainder of 432.
The number 9 becomes the next digit in our result. 
Result so far: 1919.0
Subtract 4680 from 5112 to get 432.
Bring next digit (2) of the dividend behind the 432 and repeat the process: 4322 / 520

Advancing to step 7:
4322 divided by 520 is 8 with a remainder of 162.
The number 8 becomes the next digit in our result. 
Result so far: 19198.0
If we subtract 4160 from 4322, we get 162.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1620, and continue the process.

Advancing to step 8:
520 can be fit into 1620 3 times, resulting in a remainder of 60.
Use 3 as the next digit of our solution. 
Result so far: 19198.3
If we take 1560 away from 1620, we end up 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.

On to step 9:
If we divide 600 by 520, we get 1 and a remainder of 80.
The next digit of our result is 1. 
Result so far: 19198.31
If we take 520 away from 600, we end up with 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Moving on to step 10:
When dividing 800 by 520, we get 1 with a remainder of 280.
Write down 1 as next digit of the result. 
Result so far: 19198.311
Subtracting 520 from 800 leaves us with 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2800, and continue the process.

The quotient of the division is 19198.311, and the remainder is 0.028.