We divide 3371265 by 338
The aim is to understand the frequency of 338 in 3371265.

Advancing to step 1:
If we divide 3 by 338, we get 0 and a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Take the next digit (3) from the dividend and append it to 3, then repeat: 33 / 338

Moving on to step 2:
338 can be fit into 33 0 times, resulting in a remainder of 33.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 33 and we're left with 33.
Grab the next digit (7) from the dividend, add it to 33, then carry on: 337 / 338

Let's proceed to step 3:
338 goes into 337 0 times with a remainder of 337.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 337, we end up with 337.
Include the next digit (1) from the dividend after 337, then repeat: 3371 / 338

On to step 4:
338 goes into 3371 9 times with a remainder of 329.
Put 9 as the next digit of the answer. 
Result so far: 9.0
Subtract 3042 from 3371 to get 329.
Grab the next digit (2) from the dividend, add it to 329, then carry on: 3292 / 338

Step 5:
If we divide 3292 by 338, we get 9 and a remainder of 250.
Write down 9 as next digit of the result. 
Result so far: 99.0
If we take 3042 away from 3292, we end up with 250.
Grab the next digit (6) from the dividend, add it to 250, then carry on: 2506 / 338

Advancing to step 6:
338 goes into 2506 7 times with a remainder of 140.
Put 7 as the next digit of the answer. 
Result so far: 997.0
Subtracting 2366 from 2506 leaves us with 140.
Grab the next digit (5) from the dividend, add it to 140, then carry on: 1405 / 338

Step 7:
If we divide 1405 by 338, we get 4 and a remainder of 53.
Put 4 as the next digit of the answer. 
Result so far: 9974.0
If we take 1352 away from 1405, we end up with 53.
Since there are no more digits in the dividend, we add a zero to the remainder making it 530, and continue the process.

Let's proceed to step 8:
338 can be fit into 530 1 times, resulting in a remainder of 192.
Write down 1 as next digit of the result. 
Result so far: 9974.1
The remainder is 192 after subtracting 338 from 530.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1920, and continue the process.

Step 9:
If we divide 1920 by 338, we get 5 and a remainder of 230.
The number 5 becomes the next digit in our result. 
Result so far: 9974.15
If we take 1690 away from 1920, we end up with 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2300, and continue the process.

Step 10:
When dividing 2300 by 338, we get 6 with a remainder of 272.
Record the quotient 6 as the next digit in the result. 
Result so far: 9974.156
Subtracting 2028 from 2300 leaves us with 272.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2720, and continue the process.

Step 11:
If we divide 2720 by 338, we get 8 and a remainder of 16.
The next digit of our result is 8. 
Result so far: 9974.1568
Subtract 2704 from 2720 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.

On to step 12:
The number 338 fits into 160 0 times, leaving a remainder of 160.
The number 0 becomes the next digit in our result. 
Result so far: 9974.1568
Subtracting 0 from 160 leaves us 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.

Let's proceed to step 13:
If we divide 1600 by 338, we get 4 and a remainder of 248.
Write down 4 as next digit of the result. 
Result so far: 9974.156804
Deduct 1352 from 1600 and we're left with 248.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2480, and continue the process.

On to step 14:
When dividing 2480 by 338, we get 7 with a remainder of 114.
Use 7 as the next digit of our solution. 
Result so far: 9974.1568047
If we subtract 2366 from 2480, we get 114.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1140, and continue the process.

Advancing to step 15:
338 goes into 1140 3 times with a remainder of 126.
Write down 3 as next digit of the result. 
Result so far: 9974.15680473
Subtract 1014 from 1140 to get 126.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1260, and continue the process.

The final outcome is 9974.15680473, with a leftover of 1.26e-07.