Let's divide 174507 by 4
The aim is to understand the frequency of 4 in 174507.

Advancing to step 1:
If we divide 1 by 4, we get 0 and a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Grab the next digit (7) from the dividend, add it to 1, then carry on: 17 / 4

Advancing to step 2:
If we divide 17 by 4, we get 4 and a remainder of 1.
The next digit of our result is 4. 
Result so far: 4.0
If we take 16 away from 17, we end up with 1.
Include the next digit (4) from the dividend after 1, then repeat: 14 / 4

Advancing to step 3:
The number 4 fits into 14 3 times, leaving a remainder of 2.
The next digit of our result is 3. 
Result so far: 43.0
Subtract 12 from 14 to get 2.
Bring next digit (5) of the dividend behind the 2 and repeat the process: 25 / 4

Step 4:
4 can be fit into 25 6 times, resulting in a remainder of 1.
The number 6 becomes the next digit in our result. 
Result so far: 436.0
Deduct 24 from 25 and we're left with 1.
Take the next digit (0) from the dividend and append it to 1, then repeat: 10 / 4

Moving on to step 5:
4 can be fit into 10 2 times, resulting in a remainder of 2.
Use 2 as the next digit of our solution. 
Result so far: 4362.0
Subtracting 8 from 10 leaves us with 2.
Take the next digit (7) from the dividend and append it to 2, then repeat: 27 / 4

Moving on to step 6:
The number 4 fits into 27 6 times, leaving a remainder of 3.
Write down 6 as next digit of the result. 
Result so far: 43626.0
Subtracting 24 from 27 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 7:
When dividing 30 by 4, we get 7 with a remainder of 2.
Put 7 as the next digit of the answer. 
Result so far: 43626.7
If we subtract 28 from 30, we 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.

Step 8:
4 goes into 20 5 times with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 43626.75
Deduct 20 from 20 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.

Let's proceed to step 9:
The number 4 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 43626.75
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.

Step 10:
0 divided by 4 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 43626.75
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.

The quotient of the division is 43626.75, and the remainder is 0.0.