318265 divided by 4 
The aim is to understand the frequency of 4 in 318265.

Let's proceed to step 1:
3 divided by 4 is 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 4

Advancing to step 2:
31 divided by 4 is 7 with a remainder of 3.
Put 7 as the next digit of the answer. 
Result so far: 7.0
Deduct 28 from 31 and we're left with 3.
Fetch the next digit (8) from the dividend, attach it to 3 and continue: 38 / 4

Step 3:
4 goes into 38 9 times with a remainder of 2.
Write down 9 as next digit of the result. 
Result so far: 79.0
Subtract 36 from 38 to get 2.
Take the next digit (2) from the dividend and append it to 2, then repeat: 22 / 4

Step 4:
When dividing 22 by 4, we get 5 with a remainder of 2.
The next digit of our result is 5. 
Result so far: 795.0
If we subtract 20 from 22, we get 2.
Take the next digit (6) from the dividend and append it to 2, then repeat: 26 / 4

Step 5:
When dividing 26 by 4, we get 6 with a remainder of 2.
Write down 6 as next digit of the result. 
Result so far: 7956.0
If we take 24 away from 26, we end up with 2.
Grab the next digit (5) from the dividend, add it to 2, then carry on: 25 / 4

Step 6:
When dividing 25 by 4, we get 6 with a remainder of 1.
The number 6 becomes the next digit in our result. 
Result so far: 79566.0
If we take 24 away from 25, we end up 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.

Moving on to step 7:
4 goes into 10 2 times with a remainder of 2.
The number 2 becomes the next digit in our result. 
Result so far: 79566.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:
The number 4 fits into 20 5 times, leaving a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 79566.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.

Going ahead to step 9:
4 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 79566.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.

Step 10:
When dividing 0 by 4, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 79566.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 final outcome is 79566.25, with a leftover of 0.0.