We're dividing 97827 by 42 
The aim is to understand the frequency of 42 in 97827.

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
If we subtract 0 from 9, we get 9.
Append the next digit (7) from the dividend to 9 and continue with: 97 / 42

Step 2:
When dividing 97 by 42, we get 2 with a remainder of 13.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we subtract 84 from 97, we get 13.
Append the next digit (8) from the dividend to 13 and continue with: 138 / 42

Step 3:
If we divide 138 by 42, we get 3 and a remainder of 12.
Write down 3 as next digit of the result. 
Result so far: 23.0
If we subtract 126 from 138, we get 12.
Bring next digit (2) of the dividend behind the 12 and repeat the process: 122 / 42

Let's proceed to step 4:
122 divided by 42 is 2 with a remainder of 38.
Record the quotient 2 as the next digit in the result. 
Result so far: 232.0
If we subtract 84 from 122, we get 38.
Fetch the next digit (7) from the dividend, attach it to 38 and continue: 387 / 42

Let's proceed to step 5:
The number 42 fits into 387 9 times, leaving a remainder of 9.
Put 9 as the next digit of the answer. 
Result so far: 2329.0
The remainder is 9 after subtracting 378 from 387.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Step 6:
The number 42 fits into 90 2 times, leaving a remainder of 6.
Record the quotient 2 as the next digit in the result. 
Result so far: 2329.2
Subtracting 84 from 90 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 7:
When dividing 60 by 42, we get 1 with a remainder of 18.
Record the quotient 1 as the next digit in the result. 
Result so far: 2329.21
Deduct 42 from 60 and we're left with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 8:
If we divide 180 by 42, we get 4 and a remainder of 12.
Write down 4 as next digit of the result. 
Result so far: 2329.214
The remainder is 12 after subtracting 168 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Going ahead to step 9:
42 goes into 120 2 times with a remainder of 36.
The next digit of our result is 2. 
Result so far: 2329.2142
Subtracting 84 from 120 leaves us with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Moving on to step 10:
360 divided by 42 is 8 with a remainder of 24.
The number 8 becomes the next digit in our result. 
Result so far: 2329.21428
Deduct 336 from 360 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Let's proceed to step 11:
42 goes into 240 5 times with a remainder of 30.
Put 5 as the next digit of the answer. 
Result so far: 2329.214285
Deduct 210 from 240 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 12:
When dividing 300 by 42, we get 7 with a remainder of 6.
The next digit of our result is 7. 
Result so far: 2329.2142857
If we subtract 294 from 300, 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.

Let's proceed to step 13:
42 goes into 60 1 times with a remainder of 18.
The number 1 becomes the next digit in our result. 
Result so far: 2329.21428571
If we subtract 42 from 60, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

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