We're dividing 316059 by 4 
The aim is to understand the frequency of 4 in 316059.

Advancing to step 1:
If we divide 3 by 4, we get 0 and a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 4

Let's proceed to step 2:
When dividing 31 by 4, we get 7 with a remainder of 3.
Put 7 as the next digit of the answer. 
Result so far: 7.0
If we take 28 away from 31, we end up with 3.
Bring next digit (6) of the dividend behind the 3 and repeat the process: 36 / 4

Advancing to step 3:
4 can be fit into 36 9 times, resulting in a remainder of 0.
The number 9 becomes the next digit in our result. 
Result so far: 79.0
The remainder is 0 after subtracting 36 from 36.
Take the next digit (0) from the dividend and append it to 0, then repeat: 0 / 4

Going ahead to step 4:
4 goes into 0 0 times with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 790.0
If we subtract 0 from 0, we get 0.
Grab the next digit (5) from the dividend, add it to 0, then carry on: 5 / 4

Let's proceed to step 5:
4 can be fit into 5 1 times, resulting in a remainder of 1.
Write down 1 as next digit of the result. 
Result so far: 7901.0
Subtracting 4 from 5 leaves us with 1.
Grab the next digit (9) from the dividend, add it to 1, then carry on: 19 / 4

Let's proceed to step 6:
4 can be fit into 19 4 times, resulting in a remainder of 3.
Record the quotient 4 as the next digit in the result. 
Result so far: 79014.0
The remainder is 3 after subtracting 16 from 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 7:
30 divided by 4 is 7 with a remainder of 2.
The next digit of our result is 7. 
Result so far: 79014.7
Subtract 28 from 30 to 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.

Going ahead to step 8:
4 goes into 20 5 times with a remainder of 0.
The next digit of our result is 5. 
Result so far: 79014.75
If we take 20 away from 20, 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.

Let's proceed to step 9:
4 can be fit into 0 0 times, resulting in a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 79014.75
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.

Advancing to step 10:
0 divided by 4 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 79014.75
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

After the division, we end up with 79014.75 and a remainder of 0.0.