We divide 990389 by 42
The aim is to understand the frequency of 42 in 990389.

On to step 1:
42 can be fit into 9 0 times, resulting in a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 9 leaves us with 9.
Grab the next digit (9) from the dividend, add it to 9, then carry on: 99 / 42

Advancing to step 2:
When dividing 99 by 42, we get 2 with a remainder of 15.
Put 2 as the next digit of the answer. 
Result so far: 2.0
The remainder is 15 after subtracting 84 from 99.
Fetch the next digit (0) from the dividend, attach it to 15 and continue: 150 / 42

Moving on to step 3:
If we divide 150 by 42, we get 3 and a remainder of 24.
Use 3 as the next digit of our solution. 
Result so far: 23.0
Subtract 126 from 150 to get 24.
Fetch the next digit (3) from the dividend, attach it to 24 and continue: 243 / 42

Moving on to step 4:
When dividing 243 by 42, we get 5 with a remainder of 33.
Use 5 as the next digit of our solution. 
Result so far: 235.0
Subtracting 210 from 243 leaves us with 33.
Bring next digit (8) of the dividend behind the 33 and repeat the process: 338 / 42

Let's proceed to step 5:
When dividing 338 by 42, we get 8 with a remainder of 2.
The number 8 becomes the next digit in our result. 
Result so far: 2358.0
If we take 336 away from 338, we end up with 2.
Bring next digit (9) of the dividend behind the 2 and repeat the process: 29 / 42

Going ahead to step 6:
When dividing 29 by 42, we get 0 with a remainder of 29.
Record the quotient 0 as the next digit in the result. 
Result so far: 23580.0
If we take 0 away from 29, we end up with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

On to step 7:
If we divide 290 by 42, we get 6 and a remainder of 38.
Write down 6 as next digit of the result. 
Result so far: 23580.6
If we subtract 252 from 290, we get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Moving on to step 8:
42 goes into 380 9 times with a remainder of 2.
Record the quotient 9 as the next digit in the result. 
Result so far: 23580.69
If we take 378 away from 380, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 9:
42 goes into 20 0 times with a remainder of 20.
The next digit of our result is 0. 
Result so far: 23580.69
Subtract 0 from 20 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 10:
When dividing 200 by 42, we get 4 with a remainder of 32.
The next digit of our result is 4. 
Result so far: 23580.6904
If we subtract 168 from 200, we get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Advancing to step 11:
If we divide 320 by 42, we get 7 and a remainder of 26.
The next digit of our result is 7. 
Result so far: 23580.69047
Subtracting 294 from 320 leaves us with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Advancing to step 12:
42 goes into 260 6 times with a remainder of 8.
Write down 6 as next digit of the result. 
Result so far: 23580.690476
The remainder is 8 after subtracting 252 from 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 13:
80 divided by 42 is 1 with a remainder of 38.
The next digit of our result is 1. 
Result so far: 23580.6904761
Subtracting 42 from 80 leaves us with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Going ahead to step 14:
If we divide 380 by 42, we get 9 and a remainder of 2.
Put 9 as the next digit of the answer. 
Result so far: 23580.69047619
If we take 378 away from 380, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

The final outcome is 23580.69047619, with a leftover of 2e-09.