We're dividing 3830131 by 2 
The aim is to understand the frequency of 2 in 3830131.

Step 1:
If we divide 3 by 2, we get 1 and a remainder of 1.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Deduct 2 from 3 and we're left with 1.
Append the next digit (8) from the dividend to 1 and continue with: 18 / 2

Moving on to step 2:
If we divide 18 by 2, we get 9 and a remainder of 0.
The next digit of our result is 9. 
Result so far: 19.0
Subtract 18 from 18 to get 0.
Take the next digit (3) from the dividend and append it to 0, then repeat: 3 / 2

On to step 3:
3 divided by 2 is 1 with a remainder of 1.
Put 1 as the next digit of the answer. 
Result so far: 191.0
If we subtract 2 from 3, we get 1.
Bring next digit (0) of the dividend behind the 1 and repeat the process: 10 / 2

Let's proceed to step 4:
When dividing 10 by 2, we get 5 with a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 1915.0
If we take 10 away from 10, we end up with 0.
Fetch the next digit (1) from the dividend, attach it to 0 and continue: 1 / 2

Step 5:
When dividing 1 by 2, we get 0 with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 19150.0
If we subtract 0 from 1, we get 1.
Grab the next digit (3) from the dividend, add it to 1, then carry on: 13 / 2

Going ahead to step 6:
If we divide 13 by 2, we get 6 and a remainder of 1.
Write down 6 as next digit of the result. 
Result so far: 191506.0
If we take 12 away from 13, we end up with 1.
Include the next digit (1) from the dividend after 1, then repeat: 11 / 2

Advancing to step 7:
If we divide 11 by 2, we get 5 and a remainder of 1.
Put 5 as the next digit of the answer. 
Result so far: 1915065.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 8:
The number 2 fits into 10 5 times, leaving a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 1915065.5
If we take 10 away from 10, 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 9:
0 divided by 2 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 1915065.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.

Step 10:
The number 2 fits into 0 0 times, leaving a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 1915065.5
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 quotient of the division is 1915065.5, and the remainder is 0.0.