We look at the division of 30491794 by 42 
The aim is to understand the frequency of 42 in 30491794.

Moving on to step 1:
42 goes into 3 0 times with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Include the next digit (0) from the dividend after 3, then repeat: 30 / 42

Going ahead to step 2:
If we divide 30 by 42, we get 0 and a remainder of 30.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 30 leaves us with 30.
Take the next digit (4) from the dividend and append it to 30, then repeat: 304 / 42

Going ahead to step 3:
If we divide 304 by 42, we get 7 and a remainder of 10.
Use 7 as the next digit of our solution. 
Result so far: 7.0
If we take 294 away from 304, we end up with 10.
Append the next digit (9) from the dividend to 10 and continue with: 109 / 42

Going ahead to step 4:
42 goes into 109 2 times with a remainder of 25.
Put 2 as the next digit of the answer. 
Result so far: 72.0
If we subtract 84 from 109, we get 25.
Bring next digit (1) of the dividend behind the 25 and repeat the process: 251 / 42

On to step 5:
42 can be fit into 251 5 times, resulting in a remainder of 41.
The next digit of our result is 5. 
Result so far: 725.0
The remainder is 41 after subtracting 210 from 251.
Take the next digit (7) from the dividend and append it to 41, then repeat: 417 / 42

On to step 6:
If we divide 417 by 42, we get 9 and a remainder of 39.
The number 9 becomes the next digit in our result. 
Result so far: 7259.0
If we take 378 away from 417, we end up with 39.
Append the next digit (9) from the dividend to 39 and continue with: 399 / 42

On to step 7:
42 goes into 399 9 times with a remainder of 21.
Put 9 as the next digit of the answer. 
Result so far: 72599.0
Subtracting 378 from 399 leaves us with 21.
Take the next digit (4) from the dividend and append it to 21, then repeat: 214 / 42

Moving on to step 8:
42 goes into 214 5 times with a remainder of 4.
Write down 5 as next digit of the result. 
Result so far: 725995.0
The remainder is 4 after subtracting 210 from 214.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 9:
When dividing 40 by 42, we get 0 with a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 725995.0
Deduct 0 from 40 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.

Going ahead to step 10:
42 goes into 400 9 times with a remainder of 22.
Write down 9 as next digit of the result. 
Result so far: 725995.09
Subtract 378 from 400 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 11:
42 goes into 220 5 times with a remainder of 10.
Use 5 as the next digit of our solution. 
Result so far: 725995.095
Deduct 210 from 220 and we're left 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.

On to step 12:
42 can be fit into 100 2 times, resulting in a remainder of 16.
Put 2 as the next digit of the answer. 
Result so far: 725995.0952
If we take 84 away from 100, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 13:
42 can be fit into 160 3 times, resulting in a remainder of 34.
Record the quotient 3 as the next digit in the result. 
Result so far: 725995.09523
If we take 126 away from 160, we end up with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Moving on to step 14:
The number 42 fits into 340 8 times, leaving a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 725995.095238
If we take 336 away from 340, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 15:
42 can be fit into 40 0 times, resulting in a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 725995.095238
The remainder is 40 after subtracting 0 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Let's proceed to step 16:
If we divide 400 by 42, we get 9 and a remainder of 22.
Record the quotient 9 as the next digit in the result. 
Result so far: 725995.09523809
The remainder is 22 after subtracting 378 from 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Our division results in 725995.09523809 with a remaining 2.2e-08.