We look at the division of 35142291 by 2 
The aim is to understand the frequency of 2 in 35142291.

Going ahead to step 1:
2 can be fit into 3 1 times, resulting in a remainder of 1.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtracting 2 from 3 leaves us with 1.
Fetch the next digit (5) from the dividend, attach it to 1 and continue: 15 / 2

Step 2:
When dividing 15 by 2, we get 7 with a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 17.0
Subtract 14 from 15 to get 1.
Include the next digit (1) from the dividend after 1, then repeat: 11 / 2

Advancing to step 3:
2 can be fit into 11 5 times, resulting in a remainder of 1.
Record the quotient 5 as the next digit in the result. 
Result so far: 175.0
If we take 10 away from 11, we end up with 1.
Include the next digit (4) from the dividend after 1, then repeat: 14 / 2

Step 4:
2 can be fit into 14 7 times, resulting in a remainder of 0.
Use 7 as the next digit of our solution. 
Result so far: 1757.0
Subtract 14 from 14 to get 0.
Take the next digit (2) from the dividend and append it to 0, then repeat: 2 / 2

Step 5:
2 can be fit into 2 1 times, resulting in a remainder of 0.
Write down 1 as next digit of the result. 
Result so far: 17571.0
If we take 2 away from 2, we end up with 0.
Bring next digit (2) of the dividend behind the 0 and repeat the process: 2 / 2

Going ahead to step 6:
2 goes into 2 1 times with a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 175711.0
Subtract 2 from 2 to get 0.
Append the next digit (9) from the dividend to 0 and continue with: 9 / 2

Going ahead to step 7:
If we divide 9 by 2, we get 4 and a remainder of 1.
Record the quotient 4 as the next digit in the result. 
Result so far: 1757114.0
The remainder is 1 after subtracting 8 from 9.
Fetch the next digit (1) from the dividend, attach it to 1 and continue: 11 / 2

Advancing to step 8:
2 can be fit into 11 5 times, resulting in a remainder of 1.
The next digit of our result is 5. 
Result so far: 17571145.0
Deduct 10 from 11 and we're left 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.

Going ahead to step 9:
2 goes into 10 5 times with a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 17571145.5
If we subtract 10 from 10, we 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.

Moving on to step 10:
0 divided by 2 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 17571145.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.

Step 11:
2 can be fit into 0 0 times, resulting in a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 17571145.5
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 final outcome is 17571145.5, with a leftover of 0.0.