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

On to step 1:
5 divided by 42 is 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Include the next digit (1) from the dividend after 5, then repeat: 51 / 42

On to step 2:
42 goes into 51 1 times with a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtracting 42 from 51 leaves us with 9.
Take the next digit (3) from the dividend and append it to 9, then repeat: 93 / 42

Advancing to step 3:
42 can be fit into 93 2 times, resulting in a remainder of 9.
Write down 2 as next digit of the result. 
Result so far: 12.0
Subtracting 84 from 93 leaves us with 9.
Include the next digit (4) from the dividend after 9, then repeat: 94 / 42

Step 4:
When dividing 94 by 42, we get 2 with a remainder of 10.
Record the quotient 2 as the next digit in the result. 
Result so far: 122.0
If we take 84 away from 94, we end up with 10.
Append the next digit (7) from the dividend to 10 and continue with: 107 / 42

Advancing to step 5:
42 can be fit into 107 2 times, resulting in a remainder of 23.
Record the quotient 2 as the next digit in the result. 
Result so far: 1222.0
If we take 84 away from 107, we end up with 23.
Fetch the next digit (4) from the dividend, attach it to 23 and continue: 234 / 42

Let's proceed to step 6:
The number 42 fits into 234 5 times, leaving a remainder of 24.
Use 5 as the next digit of our solution. 
Result so far: 12225.0
Subtracting 210 from 234 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 7:
The number 42 fits into 240 5 times, leaving a remainder of 30.
Record the quotient 5 as the next digit in the result. 
Result so far: 12225.5
If we subtract 210 from 240, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 8:
300 divided by 42 is 7 with a remainder of 6.
Put 7 as the next digit of the answer. 
Result so far: 12225.57
Deduct 294 from 300 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 9:
60 divided by 42 is 1 with a remainder of 18.
The next digit of our result is 1. 
Result so far: 12225.571
The remainder is 18 after subtracting 42 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 10:
If we divide 180 by 42, we get 4 and a remainder of 12.
The number 4 becomes the next digit in our result. 
Result so far: 12225.5714
Subtract 168 from 180 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 11:
42 can be fit into 120 2 times, resulting in a remainder of 36.
The number 2 becomes the next digit in our result. 
Result so far: 12225.57142
Subtract 84 from 120 to get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Advancing to step 12:
42 can be fit into 360 8 times, resulting in a remainder of 24.
The next digit of our result is 8. 
Result so far: 12225.571428
If we subtract 336 from 360, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Moving on to step 13:
42 can be fit into 240 5 times, resulting in a remainder of 30.
Use 5 as the next digit of our solution. 
Result so far: 12225.5714285
Deduct 210 from 240 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 14:
The number 42 fits into 300 7 times, leaving a remainder of 6.
The next digit of our result is 7. 
Result so far: 12225.57142857
Deduct 294 from 300 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

The quotient of the division is 12225.57142857, and the remainder is 6e-09.