223897 divided by 42 
The aim is to understand the frequency of 42 in 223897.

Let's proceed to step 1:
42 goes into 2 0 times with a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 2, we get 2.
Include the next digit (2) from the dividend after 2, then repeat: 22 / 42

Let's proceed to step 2:
When dividing 22 by 42, we get 0 with a remainder of 22.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 22 leaves us with 22.
Grab the next digit (3) from the dividend, add it to 22, then carry on: 223 / 42

Step 3:
The number 42 fits into 223 5 times, leaving a remainder of 13.
Use 5 as the next digit of our solution. 
Result so far: 5.0
Subtracting 210 from 223 leaves us with 13.
Bring next digit (8) of the dividend behind the 13 and repeat the process: 138 / 42

On to step 4:
42 goes into 138 3 times with a remainder of 12.
The number 3 becomes the next digit in our result. 
Result so far: 53.0
Deduct 126 from 138 and we're left with 12.
Append the next digit (9) from the dividend to 12 and continue with: 129 / 42

Let's proceed to step 5:
42 can be fit into 129 3 times, resulting in a remainder of 3.
Record the quotient 3 as the next digit in the result. 
Result so far: 533.0
The remainder is 3 after subtracting 126 from 129.
Take the next digit (7) from the dividend and append it to 3, then repeat: 37 / 42

On to step 6:
If we divide 37 by 42, we get 0 and a remainder of 37.
The next digit of our result is 0. 
Result so far: 5330.0
Deduct 0 from 37 and we're left with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

On to step 7:
42 goes into 370 8 times with a remainder of 34.
The number 8 becomes the next digit in our result. 
Result so far: 5330.8
Subtract 336 from 370 to get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Going ahead to step 8:
340 divided by 42 is 8 with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 5330.88
The remainder is 4 after subtracting 336 from 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The final result is 5330.88 with a remainder of 0.004.