We divide 6266587 by 4
The aim is to understand the frequency of 4 in 6266587.

Moving on to step 1:
The number 4 fits into 6 1 times, leaving a remainder of 2.
The next digit of our result is 1. 
Result so far: 1.0
The remainder is 2 after subtracting 4 from 6.
Take the next digit (2) from the dividend and append it to 2, then repeat: 22 / 4

Moving on to step 2:
4 can be fit into 22 5 times, resulting in a remainder of 2.
The number 5 becomes the next digit in our result. 
Result so far: 15.0
Subtract 20 from 22 to get 2.
Grab the next digit (6) from the dividend, add it to 2, then carry on: 26 / 4

Moving on to step 3:
The number 4 fits into 26 6 times, leaving a remainder of 2.
Write down 6 as next digit of the result. 
Result so far: 156.0
Deduct 24 from 26 and we're left with 2.
Include the next digit (6) from the dividend after 2, then repeat: 26 / 4

Going ahead to step 4:
4 goes into 26 6 times with a remainder of 2.
Write down 6 as next digit of the result. 
Result so far: 1566.0
The remainder is 2 after subtracting 24 from 26.
Include the next digit (5) from the dividend after 2, then repeat: 25 / 4

Going ahead to step 5:
When dividing 25 by 4, we get 6 with a remainder of 1.
Write down 6 as next digit of the result. 
Result so far: 15666.0
Deduct 24 from 25 and we're left with 1.
Bring next digit (8) of the dividend behind the 1 and repeat the process: 18 / 4

Advancing to step 6:
The number 4 fits into 18 4 times, leaving a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 156664.0
The remainder is 2 after subtracting 16 from 18.
Bring next digit (7) of the dividend behind the 2 and repeat the process: 27 / 4

On to step 7:
The number 4 fits into 27 6 times, leaving a remainder of 3.
Record the quotient 6 as the next digit in the result. 
Result so far: 1566646.0
If we subtract 24 from 27, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Going ahead to step 8:
When dividing 30 by 4, we get 7 with a remainder of 2.
The number 7 becomes the next digit in our result. 
Result so far: 1566646.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 9:
When dividing 20 by 4, we get 5 with a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 1566646.75
If we take 20 away from 20, we end up 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 next digit of our result is 0. 
Result so far: 1566646.75
If we take 0 away from 0, we end up 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.

On to step 11:
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: 1566646.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 1566646.75, and the remainder is 0.0.