We look at the division of 42223786 by 336 
The aim is to understand the frequency of 336 in 42223786.

Moving on to step 1:
336 can be fit into 4 0 times, resulting in a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Fetch the next digit (2) from the dividend, attach it to 4 and continue: 42 / 336

Step 2:
The number 336 fits into 42 0 times, leaving a remainder of 42.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 42, we end up with 42.
Append the next digit (2) from the dividend to 42 and continue with: 422 / 336

On to step 3:
422 divided by 336 is 1 with a remainder of 86.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 336 away from 422, we end up with 86.
Take the next digit (2) from the dividend and append it to 86, then repeat: 862 / 336

Step 4:
336 can be fit into 862 2 times, resulting in a remainder of 190.
Use 2 as the next digit of our solution. 
Result so far: 12.0
Subtracting 672 from 862 leaves us with 190.
Bring next digit (3) of the dividend behind the 190 and repeat the process: 1903 / 336

Advancing to step 5:
1903 divided by 336 is 5 with a remainder of 223.
The number 5 becomes the next digit in our result. 
Result so far: 125.0
Subtract 1680 from 1903 to get 223.
Fetch the next digit (7) from the dividend, attach it to 223 and continue: 2237 / 336

Let's proceed to step 6:
2237 divided by 336 is 6 with a remainder of 221.
Write down 6 as next digit of the result. 
Result so far: 1256.0
Subtracting 2016 from 2237 leaves us with 221.
Bring next digit (8) of the dividend behind the 221 and repeat the process: 2218 / 336

Step 7:
The number 336 fits into 2218 6 times, leaving a remainder of 202.
The number 6 becomes the next digit in our result. 
Result so far: 12566.0
Deduct 2016 from 2218 and we're left with 202.
Include the next digit (6) from the dividend after 202, then repeat: 2026 / 336

Let's proceed to step 8:
When dividing 2026 by 336, we get 6 with a remainder of 10.
The next digit of our result is 6. 
Result so far: 125666.0
If we subtract 2016 from 2026, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 9:
336 can be fit into 100 0 times, resulting in a remainder of 100.
Record the quotient 0 as the next digit in the result. 
Result so far: 125666.0
If we take 0 away from 100, we end up with 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

Let's proceed to step 10:
336 goes into 1000 2 times with a remainder of 328.
Write down 2 as next digit of the result. 
Result so far: 125666.02
Subtracting 672 from 1000 leaves us with 328.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3280, and continue the process.

Advancing to step 11:
The number 336 fits into 3280 9 times, leaving a remainder of 256.
Record the quotient 9 as the next digit in the result. 
Result so far: 125666.029
If we subtract 3024 from 3280, we get 256.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2560, and continue the process.

Moving on to step 12:
When dividing 2560 by 336, we get 7 with a remainder of 208.
The number 7 becomes the next digit in our result. 
Result so far: 125666.0297
Subtracting 2352 from 2560 leaves us with 208.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2080, and continue the process.

On to step 13:
336 goes into 2080 6 times with a remainder of 64.
The number 6 becomes the next digit in our result. 
Result so far: 125666.02976
If we subtract 2016 from 2080, we get 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Moving on to step 14:
336 goes into 640 1 times with a remainder of 304.
The next digit of our result is 1. 
Result so far: 125666.029761
Deduct 336 from 640 and we're left with 304.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3040, and continue the process.

Let's proceed to step 15:
3040 divided by 336 is 9 with a remainder of 16.
Write down 9 as next digit of the result. 
Result so far: 125666.0297619
Subtract 3024 from 3040 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 16:
160 divided by 336 is 0 with a remainder of 160.
The next digit of our result is 0. 
Result so far: 125666.0297619
Deduct 0 from 160 and we're left with 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1600, and continue the process.

The final result is 125666.0297619 with a remainder of 1.6e-07.