We're dividing 27459824 by 338 
The aim is to understand the frequency of 338 in 27459824.

On to step 1:
When dividing 2 by 338, we get 0 with a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Take the next digit (7) from the dividend and append it to 2, then repeat: 27 / 338

Moving on to step 2:
338 goes into 27 0 times with a remainder of 27.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 27 to get 27.
Include the next digit (4) from the dividend after 27, then repeat: 274 / 338

On to step 3:
If we divide 274 by 338, we get 0 and a remainder of 274.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 274 to get 274.
Grab the next digit (5) from the dividend, add it to 274, then carry on: 2745 / 338

Let's proceed to step 4:
338 can be fit into 2745 8 times, resulting in a remainder of 41.
The number 8 becomes the next digit in our result. 
Result so far: 8.0
If we take 2704 away from 2745, we end up with 41.
Include the next digit (9) from the dividend after 41, then repeat: 419 / 338

Step 5:
419 divided by 338 is 1 with a remainder of 81.
The number 1 becomes the next digit in our result. 
Result so far: 81.0
Subtract 338 from 419 to get 81.
Grab the next digit (8) from the dividend, add it to 81, then carry on: 818 / 338

Moving on to step 6:
When dividing 818 by 338, we get 2 with a remainder of 142.
Use 2 as the next digit of our solution. 
Result so far: 812.0
The remainder is 142 after subtracting 676 from 818.
Take the next digit (2) from the dividend and append it to 142, then repeat: 1422 / 338

Let's proceed to step 7:
338 goes into 1422 4 times with a remainder of 70.
The next digit of our result is 4. 
Result so far: 8124.0
Deduct 1352 from 1422 and we're left with 70.
Include the next digit (4) from the dividend after 70, then repeat: 704 / 338

Step 8:
When dividing 704 by 338, we get 2 with a remainder of 28.
The number 2 becomes the next digit in our result. 
Result so far: 81242.0
Deduct 676 from 704 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Moving on to step 9:
338 can be fit into 280 0 times, resulting in a remainder of 280.
The number 0 becomes the next digit in our result. 
Result so far: 81242.0
Deduct 0 from 280 and we're left with 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2800, and continue the process.

On to step 10:
If we divide 2800 by 338, we get 8 and a remainder of 96.
Record the quotient 8 as the next digit in the result. 
Result so far: 81242.08
If we take 2704 away from 2800, we end up with 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

Let's proceed to step 11:
338 can be fit into 960 2 times, resulting in a remainder of 284.
The number 2 becomes the next digit in our result. 
Result so far: 81242.082
If we subtract 676 from 960, we get 284.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2840, and continue the process.

Moving on to step 12:
338 can be fit into 2840 8 times, resulting in a remainder of 136.
Record the quotient 8 as the next digit in the result. 
Result so far: 81242.0828
If we take 2704 away from 2840, we end up with 136.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1360, and continue the process.

On to step 13:
The number 338 fits into 1360 4 times, leaving a remainder of 8.
The next digit of our result is 4. 
Result so far: 81242.08284
If we subtract 1352 from 1360, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 14:
338 goes into 80 0 times with a remainder of 80.
The next digit of our result is 0. 
Result so far: 81242.08284
The remainder is 80 after subtracting 0 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Let's proceed to step 15:
338 can be fit into 800 2 times, resulting in a remainder of 124.
The next digit of our result is 2. 
Result so far: 81242.0828402
If we take 676 away from 800, we end up with 124.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1240, and continue the process.

Let's proceed to step 16:
The number 338 fits into 1240 3 times, leaving a remainder of 226.
Record the quotient 3 as the next digit in the result. 
Result so far: 81242.08284023
If we take 1014 away from 1240, we end up with 226.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2260, and continue the process.

After the division, we end up with 81242.08284023 and a remainder of 2.26e-07.