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

On to step 1:
If we divide 2 by 4, we get 0 and a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 2 after subtracting 0 from 2.
Grab the next digit (3) from the dividend, add it to 2, then carry on: 23 / 4

Moving on to step 2:
When dividing 23 by 4, we get 5 with a remainder of 3.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
Subtract 20 from 23 to get 3.
Take the next digit (7) from the dividend and append it to 3, then repeat: 37 / 4

Going ahead to step 3:
4 goes into 37 9 times with a remainder of 1.
The next digit of our result is 9. 
Result so far: 59.0
Subtracting 36 from 37 leaves us with 1.
Grab the next digit (3) from the dividend, add it to 1, then carry on: 13 / 4

Step 4:
4 goes into 13 3 times with a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 593.0
Deduct 12 from 13 and we're left with 1.
Append the next digit (5) from the dividend to 1 and continue with: 15 / 4

Advancing to step 5:
If we divide 15 by 4, we get 3 and a remainder of 3.
Write down 3 as next digit of the result. 
Result so far: 5933.0
Deduct 12 from 15 and we're left with 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 4

Advancing to step 6:
4 goes into 31 7 times with a remainder of 3.
The next digit of our result is 7. 
Result so far: 59337.0
Subtract 28 from 31 to get 3.
Include the next digit (8) from the dividend after 3, then repeat: 38 / 4

Let's proceed to step 7:
When dividing 38 by 4, we get 9 with a remainder of 2.
Record the quotient 9 as the next digit in the result. 
Result so far: 593379.0
If we subtract 36 from 38, we get 2.
Append the next digit (7) from the dividend to 2 and continue with: 27 / 4

Step 8:
When dividing 27 by 4, we get 6 with a remainder of 3.
The number 6 becomes the next digit in our result. 
Result so far: 5933796.0
The remainder is 3 after subtracting 24 from 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 9:
When dividing 30 by 4, we get 7 with a remainder of 2.
Use 7 as the next digit of our solution. 
Result so far: 5933796.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.

Going ahead to step 10:
The number 4 fits into 20 5 times, leaving a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 5933796.75
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.

Let's proceed to step 11:
If we divide 0 by 4, we get 0 and a remainder of 0.
The next digit of our result is 0. 
Result so far: 5933796.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.

On to step 12:
0 divided by 4 is 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 5933796.75
The remainder is 0 after subtracting 0 from 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 5933796.75, with a leftover of 0.0.