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

Advancing to step 1:
42 can be fit into 1 0 times, resulting in a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Grab the next digit (2) from the dividend, add it to 1, then carry on: 12 / 42

Going ahead to step 2:
42 goes into 12 0 times with a remainder of 12.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 12 to get 12.
Append the next digit (8) from the dividend to 12 and continue with: 128 / 42

Moving on to step 3:
42 can be fit into 128 3 times, resulting in a remainder of 2.
Write down 3 as next digit of the result. 
Result so far: 3.0
Subtract 126 from 128 to get 2.
Take the next digit (6) from the dividend and append it to 2, then repeat: 26 / 42

Going ahead to step 4:
The number 42 fits into 26 0 times, leaving a remainder of 26.
Put 0 as the next digit of the answer. 
Result so far: 30.0
Subtracting 0 from 26 leaves us with 26.
Fetch the next digit (7) from the dividend, attach it to 26 and continue: 267 / 42

Going ahead to step 5:
42 can be fit into 267 6 times, resulting in a remainder of 15.
Write down 6 as next digit of the result. 
Result so far: 306.0
The remainder is 15 after subtracting 252 from 267.
Bring next digit (2) of the dividend behind the 15 and repeat the process: 152 / 42

Advancing to step 6:
152 divided by 42 is 3 with a remainder of 26.
Write down 3 as next digit of the result. 
Result so far: 3063.0
Subtracting 126 from 152 leaves us with 26.
Include the next digit (1) from the dividend after 26, then repeat: 261 / 42

Let's proceed to step 7:
42 can be fit into 261 6 times, resulting in a remainder of 9.
Put 6 as the next digit of the answer. 
Result so far: 30636.0
Deduct 252 from 261 and we're left with 9.
Include the next digit (6) from the dividend after 9, then repeat: 96 / 42

Step 8:
When dividing 96 by 42, we get 2 with a remainder of 12.
The next digit of our result is 2. 
Result so far: 306362.0
Subtract 84 from 96 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.

Going ahead to step 9:
42 goes into 120 2 times with a remainder of 36.
Put 2 as the next digit of the answer. 
Result so far: 306362.2
If we take 84 away from 120, we end up with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Step 10:
42 can be fit into 360 8 times, resulting in a remainder of 24.
Use 8 as the next digit of our solution. 
Result so far: 306362.28
Subtract 336 from 360 to 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.

On to step 11:
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: 306362.285
If we take 210 away from 240, we end up 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.

Let's proceed to step 12:
When dividing 300 by 42, we get 7 with a remainder of 6.
The next digit of our result is 7. 
Result so far: 306362.2857
The remainder is 6 after subtracting 294 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 13:
42 goes into 60 1 times with a remainder of 18.
Use 1 as the next digit of our solution. 
Result so far: 306362.28571
Deduct 42 from 60 and we're left with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 14:
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: 306362.285714
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.

Advancing to step 15:
120 divided by 42 is 2 with a remainder of 36.
Put 2 as the next digit of the answer. 
Result so far: 306362.2857142
The remainder is 36 after subtracting 84 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Let's proceed to step 16:
The number 42 fits into 360 8 times, leaving a remainder of 24.
The next digit of our result is 8. 
Result so far: 306362.28571428
The remainder is 24 after subtracting 336 from 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

The quotient of the division is 306362.28571428, and the remainder is 2.4e-08.