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

Going ahead to step 1:
If we divide 4 by 4, we get 1 and a remainder of 0.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtract 4 from 4 to get 0.
Take the next digit (2) from the dividend and append it to 0, then repeat: 2 / 4

Advancing to step 2:
4 goes into 2 0 times with a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 10.0
Subtracting 0 from 2 leaves us with 2.
Bring next digit (5) of the dividend behind the 2 and repeat the process: 25 / 4

Let's proceed to step 3:
25 divided by 4 is 6 with a remainder of 1.
The next digit of our result is 6. 
Result so far: 106.0
Subtracting 24 from 25 leaves us with 1.
Bring next digit (8) of the dividend behind the 1 and repeat the process: 18 / 4

Let's proceed to step 4:
If we divide 18 by 4, we get 4 and a remainder of 2.
The next digit of our result is 4. 
Result so far: 1064.0
Deduct 16 from 18 and we're left with 2.
Fetch the next digit (6) from the dividend, attach it to 2 and continue: 26 / 4

Moving on to step 5:
When dividing 26 by 4, we get 6 with a remainder of 2.
Put 6 as the next digit of the answer. 
Result so far: 10646.0
Subtracting 24 from 26 leaves us with 2.
Fetch the next digit (5) from the dividend, attach it to 2 and continue: 25 / 4

Step 6:
4 can be fit into 25 6 times, resulting in a remainder of 1.
Put 6 as the next digit of the answer. 
Result so far: 106466.0
Deduct 24 from 25 and we're left with 1.
Bring next digit (1) of the dividend behind the 1 and repeat the process: 11 / 4

Going ahead to step 7:
11 divided by 4 is 2 with a remainder of 3.
Use 2 as the next digit of our solution. 
Result so far: 1064662.0
The remainder is 3 after subtracting 8 from 11.
Fetch the next digit (3) from the dividend, attach it to 3 and continue: 33 / 4

Advancing to step 8:
If we divide 33 by 4, we get 8 and a remainder of 1.
The number 8 becomes the next digit in our result. 
Result so far: 10646628.0
Subtracting 32 from 33 leaves us 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.

Let's proceed to step 9:
4 can be fit into 10 2 times, resulting in a remainder of 2.
The next digit of our result is 2. 
Result so far: 10646628.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.

Advancing to step 10:
When dividing 20 by 4, we get 5 with a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 10646628.25
Subtract 20 from 20 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.

On to step 11:
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: 10646628.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.

Advancing to step 12:
The number 4 fits into 0 0 times, leaving a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 10646628.25
Subtracting 0 from 0 leaves us 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 10646628.25, and the remainder is 0.0.