520988 divided by 3 
The aim is to understand the frequency of 3 in 520988.

Step 1:
The number 3 fits into 5 1 times, leaving a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 3 away from 5, we end up with 2.
Fetch the next digit (2) from the dividend, attach it to 2 and continue: 22 / 3

Going ahead to step 2:
3 can be fit into 22 7 times, resulting in a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 17.0
If we take 21 away from 22, we end up with 1.
Bring next digit (0) of the dividend behind the 1 and repeat the process: 10 / 3

On to step 3:
3 goes into 10 3 times with a remainder of 1.
Use 3 as the next digit of our solution. 
Result so far: 173.0
Subtracting 9 from 10 leaves us with 1.
Take the next digit (9) from the dividend and append it to 1, then repeat: 19 / 3

Going ahead to step 4:
19 divided by 3 is 6 with a remainder of 1.
Record the quotient 6 as the next digit in the result. 
Result so far: 1736.0
Subtract 18 from 19 to get 1.
Grab the next digit (8) from the dividend, add it to 1, then carry on: 18 / 3

Advancing to step 5:
18 divided by 3 is 6 with a remainder of 0.
The next digit of our result is 6. 
Result so far: 17366.0
If we subtract 18 from 18, we get 0.
Take the next digit (8) from the dividend and append it to 0, then repeat: 8 / 3

Let's proceed to step 6:
3 goes into 8 2 times with a remainder of 2.
The next digit of our result is 2. 
Result so far: 173662.0
Deduct 6 from 8 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 7:
3 can be fit into 20 6 times, resulting in a remainder of 2.
Record the quotient 6 as the next digit in the result. 
Result so far: 173662.6
If we subtract 18 from 20, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 8:
3 can be fit into 20 6 times, resulting in a remainder of 2.
Write down 6 as next digit of the result. 
Result so far: 173662.66
Subtracting 18 from 20 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

The quotient of the division is 173662.66, and the remainder is 0.002.