Let's divide 40029146 by 140
The aim is to understand the frequency of 140 in 40029146.

Moving on to step 1:
The number 140 fits into 4 0 times, leaving a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 140

Step 2:
If we divide 40 by 140, we get 0 and a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 40 to get 40.
Append the next digit (0) from the dividend to 40 and continue with: 400 / 140

Advancing to step 3:
The number 140 fits into 400 2 times, leaving a remainder of 120.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
If we take 280 away from 400, we end up with 120.
Take the next digit (2) from the dividend and append it to 120, then repeat: 1202 / 140

Advancing to step 4:
140 can be fit into 1202 8 times, resulting in a remainder of 82.
The next digit of our result is 8. 
Result so far: 28.0
If we subtract 1120 from 1202, we get 82.
Include the next digit (9) from the dividend after 82, then repeat: 829 / 140

On to step 5:
When dividing 829 by 140, we get 5 with a remainder of 129.
The next digit of our result is 5. 
Result so far: 285.0
Deduct 700 from 829 and we're left with 129.
Include the next digit (1) from the dividend after 129, then repeat: 1291 / 140

On to step 6:
When dividing 1291 by 140, we get 9 with a remainder of 31.
Put 9 as the next digit of the answer. 
Result so far: 2859.0
Deduct 1260 from 1291 and we're left with 31.
Fetch the next digit (4) from the dividend, attach it to 31 and continue: 314 / 140

Let's proceed to step 7:
314 divided by 140 is 2 with a remainder of 34.
Put 2 as the next digit of the answer. 
Result so far: 28592.0
Subtract 280 from 314 to get 34.
Take the next digit (6) from the dividend and append it to 34, then repeat: 346 / 140

Step 8:
346 divided by 140 is 2 with a remainder of 66.
The number 2 becomes the next digit in our result. 
Result so far: 285922.0
If we take 280 away from 346, we end up with 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Let's proceed to step 9:
The number 140 fits into 660 4 times, leaving a remainder of 100.
Write down 4 as next digit of the result. 
Result so far: 285922.4
Subtract 560 from 660 to get 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

On to step 10:
140 goes into 1000 7 times with a remainder of 20.
Record the quotient 7 as the next digit in the result. 
Result so far: 285922.47
Deduct 980 from 1000 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 11:
When dividing 200 by 140, we get 1 with a remainder of 60.
The number 1 becomes the next digit in our result. 
Result so far: 285922.471
The remainder is 60 after subtracting 140 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

On to step 12:
600 divided by 140 is 4 with a remainder of 40.
Put 4 as the next digit of the answer. 
Result so far: 285922.4714
Deduct 560 from 600 and we're left with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Advancing to step 13:
The number 140 fits into 400 2 times, leaving a remainder of 120.
The next digit of our result is 2. 
Result so far: 285922.47142
Deduct 280 from 400 and we're left with 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

On to step 14:
The number 140 fits into 1200 8 times, leaving a remainder of 80.
Record the quotient 8 as the next digit in the result. 
Result so far: 285922.471428
If we take 1120 away from 1200, we end up with 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Going ahead to step 15:
140 goes into 800 5 times with a remainder of 100.
Write down 5 as next digit of the result. 
Result so far: 285922.4714285
The remainder is 100 after subtracting 700 from 800.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

Let's proceed to step 16:
1000 divided by 140 is 7 with a remainder of 20.
The number 7 becomes the next digit in our result. 
Result so far: 285922.47142857
Deduct 980 from 1000 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

After the division, we end up with 285922.47142857 and a remainder of 2e-08.