317829 ÷ 4 
The aim is to understand the frequency of 4 in 317829.

Let's proceed to step 1:
4 can be fit into 3 0 times, resulting in a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 4

On to step 2:
4 goes into 31 7 times with a remainder of 3.
The number 7 becomes the next digit in our result. 
Result so far: 7.0
Deduct 28 from 31 and we're left with 3.
Append the next digit (7) from the dividend to 3 and continue with: 37 / 4

Let's proceed to step 3:
When dividing 37 by 4, we get 9 with a remainder of 1.
Use 9 as the next digit of our solution. 
Result so far: 79.0
If we subtract 36 from 37, we get 1.
Bring next digit (8) of the dividend behind the 1 and repeat the process: 18 / 4

Advancing to step 4:
18 divided by 4 is 4 with a remainder of 2.
Use 4 as the next digit of our solution. 
Result so far: 794.0
If we take 16 away from 18, we end up with 2.
Include the next digit (2) from the dividend after 2, then repeat: 22 / 4

On to step 5:
If we divide 22 by 4, we get 5 and a remainder of 2.
Write down 5 as next digit of the result. 
Result so far: 7945.0
If we take 20 away from 22, we end up with 2.
Include the next digit (9) from the dividend after 2, then repeat: 29 / 4

Advancing to step 6:
29 divided by 4 is 7 with a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 79457.0
If we take 28 away from 29, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 7:
When dividing 10 by 4, we get 2 with a remainder of 2.
Record the quotient 2 as the next digit in the result. 
Result so far: 79457.2
Subtracting 8 from 10 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.

Moving on to step 8:
The number 4 fits into 20 5 times, leaving a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 79457.25
If we subtract 20 from 20, we 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.

Moving on to step 9:
4 can be fit into 0 0 times, resulting in a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 79457.25
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.

Moving on to step 10:
0 divided by 4 is 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 79457.25
If we subtract 0 from 0, we 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.

The final result is 79457.25 with a remainder of 0.0.