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

On to step 1:
The number 4 fits into 1 0 times, leaving a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Take the next digit (6) from the dividend and append it to 1, then repeat: 16 / 4

Let's proceed to step 2:
4 can be fit into 16 4 times, resulting in a remainder of 0.
The next digit of our result is 4. 
Result so far: 4.0
Subtract 16 from 16 to get 0.
Fetch the next digit (4) from the dividend, attach it to 0 and continue: 4 / 4

Step 3:
4 goes into 4 1 times with a remainder of 0.
Put 1 as the next digit of the answer. 
Result so far: 41.0
If we subtract 4 from 4, we get 0.
Bring next digit (4) of the dividend behind the 0 and repeat the process: 4 / 4

On to step 4:
4 can be fit into 4 1 times, resulting in a remainder of 0.
Write down 1 as next digit of the result. 
Result so far: 411.0
The remainder is 0 after subtracting 4 from 4.
Fetch the next digit (5) from the dividend, attach it to 0 and continue: 5 / 4

On to step 5:
If we divide 5 by 4, we get 1 and a remainder of 1.
Use 1 as the next digit of our solution. 
Result so far: 4111.0
If we take 4 away from 5, we end up with 1.
Fetch the next digit (1) from the dividend, attach it to 1 and continue: 11 / 4

Let's proceed to step 6:
4 can be fit into 11 2 times, resulting in a remainder of 3.
Use 2 as the next digit of our solution. 
Result so far: 41112.0
Deduct 8 from 11 and we're left 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.

Step 7:
If we divide 30 by 4, we get 7 and a remainder of 2.
Put 7 as the next digit of the answer. 
Result so far: 41112.7
The remainder is 2 after subtracting 28 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 8:
The number 4 fits into 20 5 times, leaving a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 41112.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.

Step 9:
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: 41112.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:
4 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 41112.75
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.

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