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

Advancing to step 1:
42 goes into 5 0 times with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Grab the next digit (1) from the dividend, add it to 5, then carry on: 51 / 42

Step 2:
51 divided by 42 is 1 with a remainder of 9.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtracting 42 from 51 leaves us with 9.
Grab the next digit (6) from the dividend, add it to 9, then carry on: 96 / 42

On to step 3:
The number 42 fits into 96 2 times, leaving a remainder of 12.
The next digit of our result is 2. 
Result so far: 12.0
If we subtract 84 from 96, we get 12.
Append the next digit (7) from the dividend to 12 and continue with: 127 / 42

Let's proceed to step 4:
42 goes into 127 3 times with a remainder of 1.
The number 3 becomes the next digit in our result. 
Result so far: 123.0
Subtracting 126 from 127 leaves us with 1.
Append the next digit (4) from the dividend to 1 and continue with: 14 / 42

On to step 5:
42 goes into 14 0 times with a remainder of 14.
Use 0 as the next digit of our solution. 
Result so far: 1230.0
Subtract 0 from 14 to get 14.
Append the next digit (6) from the dividend to 14 and continue with: 146 / 42

Moving on to step 6:
When dividing 146 by 42, we get 3 with a remainder of 20.
The number 3 becomes the next digit in our result. 
Result so far: 12303.0
If we subtract 126 from 146, we 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.

Going ahead to step 7:
If we divide 200 by 42, we get 4 and a remainder of 32.
Put 4 as the next digit of the answer. 
Result so far: 12303.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.

Advancing to step 8:
42 goes into 320 7 times with a remainder of 26.
Write down 7 as next digit of the result. 
Result so far: 12303.47
If we take 294 away from 320, we end up 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.

Going ahead to step 9:
260 divided by 42 is 6 with a remainder of 8.
Put 6 as the next digit of the answer. 
Result so far: 12303.476
Deduct 252 from 260 and we're left 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.

Moving on to step 10:
80 divided by 42 is 1 with a remainder of 38.
Record the quotient 1 as the next digit in the result. 
Result so far: 12303.4761
Subtract 42 from 80 to 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.

On to step 11:
42 can be fit into 380 9 times, resulting in a remainder of 2.
The number 9 becomes the next digit in our result. 
Result so far: 12303.47619
Subtract 378 from 380 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 12:
20 divided by 42 is 0 with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 12303.47619
If we take 0 away from 20, we end up 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.

On to step 13:
When dividing 200 by 42, we get 4 with a remainder of 32.
The number 4 becomes the next digit in our result. 
Result so far: 12303.4761904
Subtracting 168 from 200 leaves us 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.

Moving on to step 14:
When dividing 320 by 42, we get 7 with a remainder of 26.
Write down 7 as next digit of the result. 
Result so far: 12303.47619047
The remainder is 26 after subtracting 294 from 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

After the division, we end up with 12303.47619047 and a remainder of 2.6e-08.