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

Step 1:
The number 4 fits into 3 0 times, leaving a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Bring next digit (9) of the dividend behind the 3 and repeat the process: 39 / 4

Let's proceed to step 2:
When dividing 39 by 4, we get 9 with a remainder of 3.
The number 9 becomes the next digit in our result. 
Result so far: 9.0
If we subtract 36 from 39, we get 3.
Take the next digit (6) from the dividend and append it to 3, then repeat: 36 / 4

Advancing to step 3:
The number 4 fits into 36 9 times, leaving a remainder of 0.
The number 9 becomes the next digit in our result. 
Result so far: 99.0
Subtract 36 from 36 to get 0.
Fetch the next digit (6) from the dividend, attach it to 0 and continue: 6 / 4

Let's proceed to step 4:
If we divide 6 by 4, we get 1 and a remainder of 2.
The next digit of our result is 1. 
Result so far: 991.0
Subtracting 4 from 6 leaves us with 2.
Bring next digit (1) of the dividend behind the 2 and repeat the process: 21 / 4

Let's proceed to step 5:
If we divide 21 by 4, we get 5 and a remainder of 1.
Put 5 as the next digit of the answer. 
Result so far: 9915.0
If we take 20 away from 21, we end up with 1.
Grab the next digit (3) from the dividend, add it to 1, then carry on: 13 / 4

Moving on to step 6:
If we divide 13 by 4, we get 3 and a remainder of 1.
The next digit of our result is 3. 
Result so far: 99153.0
Subtract 12 from 13 to get 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:
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: 99153.2
Deduct 8 from 10 and we're left 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:
4 goes into 20 5 times with a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 99153.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.

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

Going ahead to step 10:
When dividing 0 by 4, we get 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 99153.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 quotient of the division is 99153.25, and the remainder is 0.0.