Let's divide 8041794 by 323
The aim is to understand the frequency of 323 in 8041794.

Advancing to step 1:
The number 323 fits into 8 0 times, leaving a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Include the next digit (0) from the dividend after 8, then repeat: 80 / 323

Going ahead to step 2:
323 can be fit into 80 0 times, resulting in a remainder of 80.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 80 to get 80.
Fetch the next digit (4) from the dividend, attach it to 80 and continue: 804 / 323

On to step 3:
804 divided by 323 is 2 with a remainder of 158.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
The remainder is 158 after subtracting 646 from 804.
Fetch the next digit (1) from the dividend, attach it to 158 and continue: 1581 / 323

Step 4:
The number 323 fits into 1581 4 times, leaving a remainder of 289.
The number 4 becomes the next digit in our result. 
Result so far: 24.0
The remainder is 289 after subtracting 1292 from 1581.
Include the next digit (7) from the dividend after 289, then repeat: 2897 / 323

Moving on to step 5:
323 goes into 2897 8 times with a remainder of 313.
The number 8 becomes the next digit in our result. 
Result so far: 248.0
Subtract 2584 from 2897 to get 313.
Bring next digit (9) of the dividend behind the 313 and repeat the process: 3139 / 323

Advancing to step 6:
If we divide 3139 by 323, we get 9 and a remainder of 232.
The next digit of our result is 9. 
Result so far: 2489.0
The remainder is 232 after subtracting 2907 from 3139.
Take the next digit (4) from the dividend and append it to 232, then repeat: 2324 / 323

Step 7:
If we divide 2324 by 323, we get 7 and a remainder of 63.
Write down 7 as next digit of the result. 
Result so far: 24897.0
Deduct 2261 from 2324 and we're left with 63.
Since there are no more digits in the dividend, we add a zero to the remainder making it 630, and continue the process.

Let's proceed to step 8:
When dividing 630 by 323, we get 1 with a remainder of 307.
Use 1 as the next digit of our solution. 
Result so far: 24897.1
The remainder is 307 after subtracting 323 from 630.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3070, and continue the process.

Advancing to step 9:
323 goes into 3070 9 times with a remainder of 163.
Put 9 as the next digit of the answer. 
Result so far: 24897.19
The remainder is 163 after subtracting 2907 from 3070.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1630, and continue the process.

Advancing to step 10:
323 goes into 1630 5 times with a remainder of 15.
Use 5 as the next digit of our solution. 
Result so far: 24897.195
Subtract 1615 from 1630 to get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Moving on to step 11:
If we divide 150 by 323, we get 0 and a remainder of 150.
Write down 0 as next digit of the result. 
Result so far: 24897.195
If we take 0 away from 150, we end up with 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1500, and continue the process.

Advancing to step 12:
The number 323 fits into 1500 4 times, leaving a remainder of 208.
Put 4 as the next digit of the answer. 
Result so far: 24897.19504
If we take 1292 away from 1500, we end up 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.

Step 13:
When dividing 2080 by 323, we get 6 with a remainder of 142.
Write down 6 as next digit of the result. 
Result so far: 24897.195046
The remainder is 142 after subtracting 1938 from 2080.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1420, and continue the process.

On to step 14:
323 can be fit into 1420 4 times, resulting in a remainder of 128.
The next digit of our result is 4. 
Result so far: 24897.1950464
The remainder is 128 after subtracting 1292 from 1420.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1280, and continue the process.

Moving on to step 15:
If we divide 1280 by 323, we get 3 and a remainder of 311.
The next digit of our result is 3. 
Result so far: 24897.19504643
If we take 969 away from 1280, we end up with 311.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3110, and continue the process.

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