Let's divide 11318917 by 2
The aim is to understand the frequency of 2 in 11318917.

Step 1:
When dividing 1 by 2, we get 0 with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Fetch the next digit (1) from the dividend, attach it to 1 and continue: 11 / 2

On to step 2:
2 goes into 11 5 times with a remainder of 1.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
Deduct 10 from 11 and we're left with 1.
Append the next digit (3) from the dividend to 1 and continue with: 13 / 2

Moving on to step 3:
2 can be fit into 13 6 times, resulting in a remainder of 1.
Write down 6 as next digit of the result. 
Result so far: 56.0
Deduct 12 from 13 and we're left with 1.
Include the next digit (1) from the dividend after 1, then repeat: 11 / 2

On to step 4:
If we divide 11 by 2, we get 5 and a remainder of 1.
The next digit of our result is 5. 
Result so far: 565.0
Subtract 10 from 11 to get 1.
Take the next digit (8) from the dividend and append it to 1, then repeat: 18 / 2

On to step 5:
The number 2 fits into 18 9 times, leaving a remainder of 0.
Record the quotient 9 as the next digit in the result. 
Result so far: 5659.0
Subtract 18 from 18 to get 0.
Grab the next digit (9) from the dividend, add it to 0, then carry on: 9 / 2

Moving on to step 6:
The number 2 fits into 9 4 times, leaving a remainder of 1.
Use 4 as the next digit of our solution. 
Result so far: 56594.0
Deduct 8 from 9 and we're left with 1.
Fetch the next digit (1) from the dividend, attach it to 1 and continue: 11 / 2

Let's proceed to step 7:
If we divide 11 by 2, we get 5 and a remainder of 1.
The number 5 becomes the next digit in our result. 
Result so far: 565945.0
The remainder is 1 after subtracting 10 from 11.
Include the next digit (7) from the dividend after 1, then repeat: 17 / 2

Going ahead to step 8:
2 can be fit into 17 8 times, resulting in a remainder of 1.
Use 8 as the next digit of our solution. 
Result so far: 5659458.0
The remainder is 1 after subtracting 16 from 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 9:
2 can be fit into 10 5 times, resulting in a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 5659458.5
The remainder is 0 after subtracting 10 from 10.
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 10:
When dividing 0 by 2, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 5659458.5
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 11:
2 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 5659458.5
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.

Our division results in 5659458.5 with a remaining 0.0.