We look at the division of 99905791 by 142 
The aim is to understand the frequency of 142 in 99905791.

Step 1:
If we divide 9 by 142, we get 0 and a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 9 to get 9.
Bring next digit (9) of the dividend behind the 9 and repeat the process: 99 / 142

Moving on to step 2:
99 divided by 142 is 0 with a remainder of 99.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 99 to get 99.
Include the next digit (9) from the dividend after 99, then repeat: 999 / 142

Going ahead to step 3:
999 divided by 142 is 7 with a remainder of 5.
Write down 7 as next digit of the result. 
Result so far: 7.0
Deduct 994 from 999 and we're left with 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 142

Let's proceed to step 4:
When dividing 50 by 142, we get 0 with a remainder of 50.
Put 0 as the next digit of the answer. 
Result so far: 70.0
If we subtract 0 from 50, we get 50.
Take the next digit (5) from the dividend and append it to 50, then repeat: 505 / 142

Advancing to step 5:
142 can be fit into 505 3 times, resulting in a remainder of 79.
Put 3 as the next digit of the answer. 
Result so far: 703.0
Deduct 426 from 505 and we're left with 79.
Fetch the next digit (7) from the dividend, attach it to 79 and continue: 797 / 142

Step 6:
When dividing 797 by 142, we get 5 with a remainder of 87.
Put 5 as the next digit of the answer. 
Result so far: 7035.0
If we take 710 away from 797, we end up with 87.
Fetch the next digit (9) from the dividend, attach it to 87 and continue: 879 / 142

On to step 7:
879 divided by 142 is 6 with a remainder of 27.
Record the quotient 6 as the next digit in the result. 
Result so far: 70356.0
Deduct 852 from 879 and we're left with 27.
Take the next digit (1) from the dividend and append it to 27, then repeat: 271 / 142

Moving on to step 8:
271 divided by 142 is 1 with a remainder of 129.
Use 1 as the next digit of our solution. 
Result so far: 703561.0
If we subtract 142 from 271, we get 129.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1290, and continue the process.

Let's proceed to step 9:
142 can be fit into 1290 9 times, resulting in a remainder of 12.
Put 9 as the next digit of the answer. 
Result so far: 703561.9
Subtracting 1278 from 1290 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 10:
When dividing 120 by 142, we get 0 with a remainder of 120.
The next digit of our result is 0. 
Result so far: 703561.9
Deduct 0 from 120 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.

Let's proceed to step 11:
When dividing 1200 by 142, we get 8 with a remainder of 64.
Write down 8 as next digit of the result. 
Result so far: 703561.908
The remainder is 64 after subtracting 1136 from 1200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Going ahead to step 12:
When dividing 640 by 142, we get 4 with a remainder of 72.
Use 4 as the next digit of our solution. 
Result so far: 703561.9084
If we take 568 away from 640, we end up with 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Going ahead to step 13:
When dividing 720 by 142, we get 5 with a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 703561.90845
If we take 710 away from 720, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 14:
100 divided by 142 is 0 with a remainder of 100.
The number 0 becomes the next digit in our result. 
Result so far: 703561.90845
Deduct 0 from 100 and we're left with 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

Moving on to step 15:
When dividing 1000 by 142, we get 7 with a remainder of 6.
Use 7 as the next digit of our solution. 
Result so far: 703561.9084507
If we subtract 994 from 1000, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 16:
When dividing 60 by 142, we get 0 with a remainder of 60.
Use 0 as the next digit of our solution. 
Result so far: 703561.9084507
If we subtract 0 from 60, we get 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

The final outcome is 703561.9084507, with a leftover of 6e-08.