Let's divide 30839 by 42
The aim is to understand the frequency of 42 in 30839.

On to step 1:
If we divide 3 by 42, we get 0 and a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Bring next digit (0) of the dividend behind the 3 and repeat the process: 30 / 42

Let's proceed to step 2:
42 can be fit into 30 0 times, resulting in a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 30 leaves us with 30.
Include the next digit (8) from the dividend after 30, then repeat: 308 / 42

On to step 3:
When dividing 308 by 42, we get 7 with a remainder of 14.
Record the quotient 7 as the next digit in the result. 
Result so far: 7.0
If we take 294 away from 308, we end up with 14.
Fetch the next digit (3) from the dividend, attach it to 14 and continue: 143 / 42

Moving on to step 4:
42 goes into 143 3 times with a remainder of 17.
Record the quotient 3 as the next digit in the result. 
Result so far: 73.0
Subtracting 126 from 143 leaves us with 17.
Append the next digit (9) from the dividend to 17 and continue with: 179 / 42

Moving on to step 5:
The number 42 fits into 179 4 times, leaving a remainder of 11.
The next digit of our result is 4. 
Result so far: 734.0
Subtract 168 from 179 to get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Moving on to step 6:
If we divide 110 by 42, we get 2 and a remainder of 26.
Use 2 as the next digit of our solution. 
Result so far: 734.2
Subtracting 84 from 110 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 7:
The number 42 fits into 260 6 times, leaving a remainder of 8.
The number 6 becomes the next digit in our result. 
Result so far: 734.26
If we take 252 away from 260, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 8:
When dividing 80 by 42, we get 1 with a remainder of 38.
Use 1 as the next digit of our solution. 
Result so far: 734.261
Deduct 42 from 80 and we're left 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.

On to step 9:
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: 734.2619
Subtracting 378 from 380 leaves us 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 10:
42 can be fit into 20 0 times, resulting in a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 734.2619
Subtracting 0 from 20 leaves us 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.

Advancing to step 11:
When dividing 200 by 42, we get 4 with a remainder of 32.
The next digit of our result is 4. 
Result so far: 734.261904
If we take 168 away from 200, we end up with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Let's proceed to step 12:
The number 42 fits into 320 7 times, leaving a remainder of 26.
Write down 7 as next digit of the result. 
Result so far: 734.2619047
Subtract 294 from 320 to get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Let's proceed to step 13:
If we divide 260 by 42, we get 6 and a remainder of 8.
Write down 6 as next digit of the result. 
Result so far: 734.26190476
Subtracting 252 from 260 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

After the division, we end up with 734.26190476 and a remainder of 8e-09.