516230 divided by 42 
The aim is to understand the frequency of 42 in 516230.

Moving on to step 1:
42 can be fit into 5 0 times, resulting in a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Grab the next digit (1) from the dividend, add it to 5, then carry on: 51 / 42

Let's proceed to step 2:
If we divide 51 by 42, we get 1 and a remainder of 9.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtract 42 from 51 to get 9.
Fetch the next digit (6) from the dividend, attach it to 9 and continue: 96 / 42

On to step 3:
42 goes into 96 2 times with a remainder of 12.
Use 2 as the next digit of our solution. 
Result so far: 12.0
Deduct 84 from 96 and we're left with 12.
Bring next digit (2) of the dividend behind the 12 and repeat the process: 122 / 42

Let's proceed to step 4:
When dividing 122 by 42, we get 2 with a remainder of 38.
Put 2 as the next digit of the answer. 
Result so far: 122.0
If we take 84 away from 122, we end up with 38.
Bring next digit (3) of the dividend behind the 38 and repeat the process: 383 / 42

Step 5:
When dividing 383 by 42, we get 9 with a remainder of 5.
Record the quotient 9 as the next digit in the result. 
Result so far: 1229.0
If we take 378 away from 383, we end up with 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 42

Let's proceed to step 6:
The number 42 fits into 50 1 times, leaving a remainder of 8.
Record the quotient 1 as the next digit in the result. 
Result so far: 12291.0
The remainder is 8 after subtracting 42 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 7:
42 can be fit into 80 1 times, resulting in a remainder of 38.
Write down 1 as next digit of the result. 
Result so far: 12291.1
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.

Advancing to step 8:
42 can be fit into 380 9 times, resulting in a remainder of 2.
Use 9 as the next digit of our solution. 
Result so far: 12291.19
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.

On to step 9:
When dividing 20 by 42, we get 0 with a remainder of 20.
The next digit of our result is 0. 
Result so far: 12291.19
The remainder is 20 after subtracting 0 from 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 10:
42 can be fit into 200 4 times, resulting in a remainder of 32.
The number 4 becomes the next digit in our result. 
Result so far: 12291.1904
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.

Step 11:
42 goes into 320 7 times with a remainder of 26.
Record the quotient 7 as the next digit in the result. 
Result so far: 12291.19047
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.

Moving on to step 12:
42 goes into 260 6 times with a remainder of 8.
The number 6 becomes the next digit in our result. 
Result so far: 12291.190476
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.

Going ahead to step 13:
42 can be fit into 80 1 times, resulting in a remainder of 38.
Record the quotient 1 as the next digit in the result. 
Result so far: 12291.1904761
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.

On to step 14:
When dividing 380 by 42, we get 9 with a remainder of 2.
Put 9 as the next digit of the answer. 
Result so far: 12291.19047619
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.

The quotient of the division is 12291.19047619, and the remainder is 2e-09.