297007 ÷ 42 
The aim is to understand the frequency of 42 in 297007.

Moving on to step 1:
42 goes into 2 0 times with a remainder of 2.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 2 and we're left with 2.
Fetch the next digit (9) from the dividend, attach it to 2 and continue: 29 / 42

Step 2:
The number 42 fits into 29 0 times, leaving a remainder of 29.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 29, we end up with 29.
Grab the next digit (7) from the dividend, add it to 29, then carry on: 297 / 42

Let's proceed to step 3:
42 goes into 297 7 times with a remainder of 3.
Record the quotient 7 as the next digit in the result. 
Result so far: 7.0
If we take 294 away from 297, we end up with 3.
Append the next digit (0) from the dividend to 3 and continue with: 30 / 42

On to step 4:
If we divide 30 by 42, we get 0 and a remainder of 30.
The next digit of our result is 0. 
Result so far: 70.0
Subtracting 0 from 30 leaves us with 30.
Include the next digit (0) from the dividend after 30, then repeat: 300 / 42

Going ahead to step 5:
When dividing 300 by 42, we get 7 with a remainder of 6.
Use 7 as the next digit of our solution. 
Result so far: 707.0
Subtract 294 from 300 to get 6.
Fetch the next digit (7) from the dividend, attach it to 6 and continue: 67 / 42

Let's proceed to step 6:
42 goes into 67 1 times with a remainder of 25.
Record the quotient 1 as the next digit in the result. 
Result so far: 7071.0
If we subtract 42 from 67, we get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Step 7:
42 goes into 250 5 times with a remainder of 40.
The number 5 becomes the next digit in our result. 
Result so far: 7071.5
The remainder is 40 after subtracting 210 from 250.
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 8:
400 divided by 42 is 9 with a remainder of 22.
Write down 9 as next digit of the result. 
Result so far: 7071.59
If we take 378 away from 400, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Moving on to step 9:
220 divided by 42 is 5 with a remainder of 10.
Use 5 as the next digit of our solution. 
Result so far: 7071.595
The remainder is 10 after subtracting 210 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 10:
When dividing 100 by 42, we get 2 with a remainder of 16.
Put 2 as the next digit of the answer. 
Result so far: 7071.5952
Subtract 84 from 100 to get 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 11:
When dividing 160 by 42, we get 3 with a remainder of 34.
Write down 3 as next digit of the result. 
Result so far: 7071.59523
Deduct 126 from 160 and we're left 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.

Let's proceed to step 12:
42 goes into 340 8 times with a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 7071.595238
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.

Going ahead to step 13:
42 goes into 40 0 times with a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 7071.595238
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.

Advancing to step 14:
400 divided by 42 is 9 with a remainder of 22.
Put 9 as the next digit of the answer. 
Result so far: 7071.59523809
Subtracting 378 from 400 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

The final outcome is 7071.59523809, with a leftover of 2.2e-08.