We divide 522904 by 42
The aim is to understand the frequency of 42 in 522904.

Going ahead to step 1:
42 goes into 5 0 times 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.
Take the next digit (2) from the dividend and append it to 5, then repeat: 52 / 42

Step 2:
52 divided by 42 is 1 with a remainder of 10.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we take 42 away from 52, we end up with 10.
Append the next digit (2) from the dividend to 10 and continue with: 102 / 42

Let's proceed to step 3:
When dividing 102 by 42, we get 2 with a remainder of 18.
Put 2 as the next digit of the answer. 
Result so far: 12.0
If we subtract 84 from 102, we get 18.
Bring next digit (9) of the dividend behind the 18 and repeat the process: 189 / 42

Going ahead to step 4:
If we divide 189 by 42, we get 4 and a remainder of 21.
Use 4 as the next digit of our solution. 
Result so far: 124.0
The remainder is 21 after subtracting 168 from 189.
Take the next digit (0) from the dividend and append it to 21, then repeat: 210 / 42

Advancing to step 5:
If we divide 210 by 42, we get 5 and a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 1245.0
Subtract 210 from 210 to get 0.
Include the next digit (4) from the dividend after 0, then repeat: 4 / 42

On to step 6:
42 can be fit into 4 0 times, resulting in a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 12450.0
If we subtract 0 from 4, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 7:
When dividing 40 by 42, we get 0 with a remainder of 40.
The next digit of our result is 0. 
Result so far: 12450.0
Subtract 0 from 40 to get 40.
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:
If we divide 400 by 42, we get 9 and a remainder of 22.
Use 9 as the next digit of our solution. 
Result so far: 12450.09
Deduct 378 from 400 and we're left 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.

Advancing to step 9:
If we divide 220 by 42, we get 5 and a remainder of 10.
The next digit of our result is 5. 
Result so far: 12450.095
If we take 210 away from 220, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 10:
If we divide 100 by 42, we get 2 and a remainder of 16.
Record the quotient 2 as the next digit in the result. 
Result so far: 12450.0952
The remainder is 16 after subtracting 84 from 100.
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:
If we divide 160 by 42, we get 3 and a remainder of 34.
Record the quotient 3 as the next digit in the result. 
Result so far: 12450.09523
If we subtract 126 from 160, we 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.

On to step 12:
If we divide 340 by 42, we get 8 and a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 12450.095238
If we subtract 336 from 340, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 13:
42 goes into 40 0 times with a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 12450.095238
Deduct 0 from 40 and we're left with 40.
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 14:
42 goes into 400 9 times with a remainder of 22.
Record the quotient 9 as the next digit in the result. 
Result so far: 12450.09523809
Deduct 378 from 400 and we're left 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 12450.09523809, with a leftover of 2.2e-08.