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

Let's proceed to step 1:
When dividing 5 by 42, we get 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Grab the next digit (5) from the dividend, add it to 5, then carry on: 55 / 42

Let's proceed to step 2:
42 goes into 55 1 times with a remainder of 13.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 42 away from 55, we end up with 13.
Grab the next digit (7) from the dividend, add it to 13, then carry on: 137 / 42

Advancing to step 3:
42 goes into 137 3 times with a remainder of 11.
The number 3 becomes the next digit in our result. 
Result so far: 13.0
If we subtract 126 from 137, we get 11.
Grab the next digit (2) from the dividend, add it to 11, then carry on: 112 / 42

Step 4:
112 divided by 42 is 2 with a remainder of 28.
Use 2 as the next digit of our solution. 
Result so far: 132.0
Subtract 84 from 112 to get 28.
Take the next digit (7) from the dividend and append it to 28, then repeat: 287 / 42

On to step 5:
When dividing 287 by 42, we get 6 with a remainder of 35.
The next digit of our result is 6. 
Result so far: 1326.0
If we subtract 252 from 287, we get 35.
Include the next digit (6) from the dividend after 35, then repeat: 356 / 42

Going ahead to step 6:
356 divided by 42 is 8 with a remainder of 20.
Write down 8 as next digit of the result. 
Result so far: 13268.0
Subtract 336 from 356 to get 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 7:
200 divided by 42 is 4 with a remainder of 32.
The number 4 becomes the next digit in our result. 
Result so far: 13268.4
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.

Going ahead to step 8:
320 divided by 42 is 7 with a remainder of 26.
Put 7 as the next digit of the answer. 
Result so far: 13268.47
Subtracting 294 from 320 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.

Moving on to step 9:
If we divide 260 by 42, we get 6 and a remainder of 8.
Record the quotient 6 as the next digit in the result. 
Result so far: 13268.476
If we subtract 252 from 260, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 10:
The number 42 fits into 80 1 times, leaving a remainder of 38.
Record the quotient 1 as the next digit in the result. 
Result so far: 13268.4761
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.

Moving on to step 11:
42 goes into 380 9 times with a remainder of 2.
Use 9 as the next digit of our solution. 
Result so far: 13268.47619
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 12:
42 can be fit into 20 0 times, resulting in a remainder of 20.
The next digit of our result is 0. 
Result so far: 13268.47619
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.

Step 13:
When dividing 200 by 42, we get 4 with a remainder of 32.
Record the quotient 4 as the next digit in the result. 
Result so far: 13268.4761904
The remainder is 32 after subtracting 168 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Moving on to step 14:
When dividing 320 by 42, we get 7 with a remainder of 26.
The next digit of our result is 7. 
Result so far: 13268.47619047
Deduct 294 from 320 and we're left 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.

The final result is 13268.47619047 with a remainder of 2.6e-08.