We look at the division of 117258 by 4 
The aim is to understand the frequency of 4 in 117258.

On to step 1:
If we divide 1 by 4, we get 0 and a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Take the next digit (1) from the dividend and append it to 1, then repeat: 11 / 4

Moving on to step 2:
4 goes into 11 2 times with a remainder of 3.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we subtract 8 from 11, we get 3.
Bring next digit (7) of the dividend behind the 3 and repeat the process: 37 / 4

Moving on to step 3:
4 can be fit into 37 9 times, resulting in a remainder of 1.
Use 9 as the next digit of our solution. 
Result so far: 29.0
Subtract 36 from 37 to get 1.
Grab the next digit (2) from the dividend, add it to 1, then carry on: 12 / 4

On to step 4:
The number 4 fits into 12 3 times, leaving a remainder of 0.
Use 3 as the next digit of our solution. 
Result so far: 293.0
Subtracting 12 from 12 leaves us with 0.
Grab the next digit (5) from the dividend, add it to 0, then carry on: 5 / 4

Moving on to step 5:
When dividing 5 by 4, we get 1 with a remainder of 1.
Record the quotient 1 as the next digit in the result. 
Result so far: 2931.0
Deduct 4 from 5 and we're left with 1.
Append the next digit (8) from the dividend to 1 and continue with: 18 / 4

Step 6:
When dividing 18 by 4, we get 4 with a remainder of 2.
Use 4 as the next digit of our solution. 
Result so far: 29314.0
Subtracting 16 from 18 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 7:
If we divide 20 by 4, we get 5 and a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 29314.5
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.

On to step 8:
4 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 29314.5
Deduct 0 from 0 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.

Advancing to step 9:
The number 4 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 29314.5
Subtracting 0 from 0 leaves us 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 29314.5 with a balance of 0.0.