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

Moving on to step 1:
When dividing 4 by 42, we get 0 with a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Bring next digit (9) of the dividend behind the 4 and repeat the process: 49 / 42

Advancing to step 2:
42 goes into 49 1 times with a remainder of 7.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtracting 42 from 49 leaves us with 7.
Include the next digit (7) from the dividend after 7, then repeat: 77 / 42

Advancing to step 3:
77 divided by 42 is 1 with a remainder of 35.
The next digit of our result is 1. 
Result so far: 11.0
Subtracting 42 from 77 leaves us with 35.
Grab the next digit (5) from the dividend, add it to 35, then carry on: 355 / 42

Let's proceed to step 4:
When dividing 355 by 42, we get 8 with a remainder of 19.
Record the quotient 8 as the next digit in the result. 
Result so far: 118.0
Subtracting 336 from 355 leaves us with 19.
Take the next digit (7) from the dividend and append it to 19, then repeat: 197 / 42

Let's proceed to step 5:
If we divide 197 by 42, we get 4 and a remainder of 29.
Use 4 as the next digit of our solution. 
Result so far: 1184.0
Subtracting 168 from 197 leaves us with 29.
Fetch the next digit (9) from the dividend, attach it to 29 and continue: 299 / 42

On to step 6:
299 divided by 42 is 7 with a remainder of 5.
Use 7 as the next digit of our solution. 
Result so far: 11847.0
The remainder is 5 after subtracting 294 from 299.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 7:
When dividing 50 by 42, we get 1 with a remainder of 8.
Record the quotient 1 as the next digit in the result. 
Result so far: 11847.1
If we take 42 away from 50, 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.

Going ahead to step 8:
42 goes into 80 1 times with a remainder of 38.
Record the quotient 1 as the next digit in the result. 
Result so far: 11847.11
If we subtract 42 from 80, 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.

After the division, we end up with 11847.11 and a remainder of 0.038.