We're dividing 315028 by 6 
The aim is to understand the frequency of 6 in 315028.

Step 1:
When dividing 3 by 6, we get 0 with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 6

Step 2:
The number 6 fits into 31 5 times, leaving a remainder of 1.
Write down 5 as next digit of the result. 
Result so far: 5.0
Subtract 30 from 31 to get 1.
Take the next digit (5) from the dividend and append it to 1, then repeat: 15 / 6

Let's proceed to step 3:
If we divide 15 by 6, we get 2 and a remainder of 3.
Use 2 as the next digit of our solution. 
Result so far: 52.0
Subtract 12 from 15 to get 3.
Fetch the next digit (0) from the dividend, attach it to 3 and continue: 30 / 6

Advancing to step 4:
30 divided by 6 is 5 with a remainder of 0.
The next digit of our result is 5. 
Result so far: 525.0
Deduct 30 from 30 and we're left with 0.
Grab the next digit (2) from the dividend, add it to 0, then carry on: 2 / 6

Let's proceed to step 5:
If we divide 2 by 6, we get 0 and a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 5250.0
Subtract 0 from 2 to get 2.
Include the next digit (8) from the dividend after 2, then repeat: 28 / 6

Advancing to step 6:
If we divide 28 by 6, we get 4 and a remainder of 4.
Use 4 as the next digit of our solution. 
Result so far: 52504.0
If we take 24 away from 28, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 7:
The number 6 fits into 40 6 times, leaving a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 52504.6
If we take 36 away from 40, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 8:
6 can be fit into 40 6 times, resulting in a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 52504.66
Subtract 36 from 40 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The final result is 52504.66 with a remainder of 0.004.