We divide 519138 by 3
The aim is to understand the frequency of 3 in 519138.

On to step 1:
If we divide 5 by 3, we get 1 and a remainder of 2.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 3 from 5, we get 2.
Grab the next digit (1) from the dividend, add it to 2, then carry on: 21 / 3

Going ahead to step 2:
3 goes into 21 7 times with a remainder of 0.
Put 7 as the next digit of the answer. 
Result so far: 17.0
If we take 21 away from 21, we end up with 0.
Fetch the next digit (9) from the dividend, attach it to 0 and continue: 9 / 3

Going ahead to step 3:
3 can be fit into 9 3 times, resulting in a remainder of 0.
Write down 3 as next digit of the result. 
Result so far: 173.0
Subtract 9 from 9 to get 0.
Grab the next digit (1) from the dividend, add it to 0, then carry on: 1 / 3

Step 4:
3 can be fit into 1 0 times, resulting in a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 1730.0
Subtract 0 from 1 to get 1.
Fetch the next digit (3) from the dividend, attach it to 1 and continue: 13 / 3

Moving on to step 5:
When dividing 13 by 3, we get 4 with a remainder of 1.
The number 4 becomes the next digit in our result. 
Result so far: 17304.0
If we take 12 away from 13, we end up with 1.
Take the next digit (8) from the dividend and append it to 1, then repeat: 18 / 3

Moving on to step 6:
The number 3 fits into 18 6 times, leaving a remainder of 0.
The next digit of our result is 6. 
Result so far: 173046.0
Deduct 18 from 18 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 7:
The number 3 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 173046.0
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 8:
0 divided by 3 is 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 173046.0
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

In conclusion, the division gives 173046.0 with a balance of 0.0.