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

Let's proceed to step 1:
4 can be fit into 7 1 times, resulting in a remainder of 3.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we subtract 4 from 7, we get 3.
Bring next digit (6) of the dividend behind the 3 and repeat the process: 36 / 4

Moving on to step 2:
When dividing 36 by 4, we get 9 with a remainder of 0.
The number 9 becomes the next digit in our result. 
Result so far: 19.0
If we take 36 away from 36, we end up with 0.
Bring next digit (6) of the dividend behind the 0 and repeat the process: 6 / 4

Moving on to step 3:
When dividing 6 by 4, we get 1 with a remainder of 2.
The number 1 becomes the next digit in our result. 
Result so far: 191.0
Subtract 4 from 6 to get 2.
Include the next digit (6) from the dividend after 2, then repeat: 26 / 4

Going ahead to step 4:
If we divide 26 by 4, we get 6 and a remainder of 2.
The number 6 becomes the next digit in our result. 
Result so far: 1916.0
Deduct 24 from 26 and we're left with 2.
Bring next digit (4) of the dividend behind the 2 and repeat the process: 24 / 4

Going ahead to step 5:
4 can be fit into 24 6 times, resulting in a remainder of 0.
Write down 6 as next digit of the result. 
Result so far: 19166.0
If we subtract 24 from 24, we get 0.
Take the next digit (5) from the dividend and append it to 0, then repeat: 5 / 4

Moving on to step 6:
4 goes into 5 1 times with a remainder of 1.
Put 1 as the next digit of the answer. 
Result so far: 191661.0
Deduct 4 from 5 and we're left 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.

Going ahead to step 7:
If we divide 10 by 4, we get 2 and a remainder of 2.
Put 2 as the next digit of the answer. 
Result so far: 191661.2
If we subtract 8 from 10, 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.

On 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: 191661.25
The remainder is 0 after subtracting 20 from 20.
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:
4 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 191661.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:
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: 191661.25
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 191661.25, and the remainder is 0.0.