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

Moving on to step 1:
42 goes into 5 0 times with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 42

On to step 2:
When dividing 50 by 42, we get 1 with a remainder of 8.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we take 42 away from 50, we end up with 8.
Append the next digit (3) from the dividend to 8 and continue with: 83 / 42

On to step 3:
If we divide 83 by 42, we get 1 and a remainder of 41.
The number 1 becomes the next digit in our result. 
Result so far: 11.0
If we take 42 away from 83, we end up with 41.
Include the next digit (1) from the dividend after 41, then repeat: 411 / 42

Let's proceed to step 4:
42 goes into 411 9 times with a remainder of 33.
Use 9 as the next digit of our solution. 
Result so far: 119.0
The remainder is 33 after subtracting 378 from 411.
Append the next digit (7) from the dividend to 33 and continue with: 337 / 42

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

Moving on to step 6:
42 can be fit into 11 0 times, resulting in a remainder of 11.
Record the quotient 0 as the next digit in the result. 
Result so far: 11980.0
Subtracting 0 from 11 leaves us with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Advancing to step 7:
42 can be fit into 110 2 times, resulting in a remainder of 26.
Use 2 as the next digit of our solution. 
Result so far: 11980.2
Deduct 84 from 110 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.

On to step 8:
If we divide 260 by 42, we get 6 and a remainder of 8.
Write down 6 as next digit of the result. 
Result so far: 11980.26
Subtracting 252 from 260 leaves us 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.

On to step 9:
42 can be fit into 80 1 times, resulting in a remainder of 38.
The next digit of our result is 1. 
Result so far: 11980.261
Subtracting 42 from 80 leaves us 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.

On to step 10:
42 goes into 380 9 times with a remainder of 2.
Record the quotient 9 as the next digit in the result. 
Result so far: 11980.2619
If we subtract 378 from 380, we 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 11:
42 goes into 20 0 times with a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 11980.2619
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.

Moving on to step 12:
200 divided by 42 is 4 with a remainder of 32.
Use 4 as the next digit of our solution. 
Result so far: 11980.261904
Subtract 168 from 200 to get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

On to step 13:
The number 42 fits into 320 7 times, leaving a remainder of 26.
The number 7 becomes the next digit in our result. 
Result so far: 11980.2619047
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.

On to step 14:
The number 42 fits into 260 6 times, leaving a remainder of 8.
Use 6 as the next digit of our solution. 
Result so far: 11980.26190476
If we take 252 away from 260, 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.

The final result is 11980.26190476 with a remainder of 8e-09.