Let's divide 3099917 by 404
The aim is to understand the frequency of 404 in 3099917.

Going ahead to step 1:
When dividing 3 by 404, we get 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Include the next digit (0) from the dividend after 3, then repeat: 30 / 404

Going ahead to step 2:
If we divide 30 by 404, we get 0 and a remainder of 30.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 30 to get 30.
Take the next digit (9) from the dividend and append it to 30, then repeat: 309 / 404

Moving on to step 3:
If we divide 309 by 404, we get 0 and a remainder of 309.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 309 to get 309.
Grab the next digit (9) from the dividend, add it to 309, then carry on: 3099 / 404

Step 4:
3099 divided by 404 is 7 with a remainder of 271.
Use 7 as the next digit of our solution. 
Result so far: 7.0
Subtracting 2828 from 3099 leaves us with 271.
Append the next digit (9) from the dividend to 271 and continue with: 2719 / 404

Going ahead to step 5:
If we divide 2719 by 404, we get 6 and a remainder of 295.
Write down 6 as next digit of the result. 
Result so far: 76.0
Subtract 2424 from 2719 to get 295.
Take the next digit (1) from the dividend and append it to 295, then repeat: 2951 / 404

Moving on to step 6:
If we divide 2951 by 404, we get 7 and a remainder of 123.
Record the quotient 7 as the next digit in the result. 
Result so far: 767.0
If we take 2828 away from 2951, we end up with 123.
Fetch the next digit (7) from the dividend, attach it to 123 and continue: 1237 / 404

Step 7:
The number 404 fits into 1237 3 times, leaving a remainder of 25.
The next digit of our result is 3. 
Result so far: 7673.0
The remainder is 25 after subtracting 1212 from 1237.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

On to step 8:
404 can be fit into 250 0 times, resulting in a remainder of 250.
The next digit of our result is 0. 
Result so far: 7673.0
The remainder is 250 after subtracting 0 from 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2500, and continue the process.

Going ahead to step 9:
404 goes into 2500 6 times with a remainder of 76.
The next digit of our result is 6. 
Result so far: 7673.06
If we take 2424 away from 2500, we end up with 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Let's proceed to step 10:
760 divided by 404 is 1 with a remainder of 356.
Write down 1 as next digit of the result. 
Result so far: 7673.061
Subtract 404 from 760 to get 356.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3560, and continue the process.

Step 11:
When dividing 3560 by 404, we get 8 with a remainder of 328.
Write down 8 as next digit of the result. 
Result so far: 7673.0618
The remainder is 328 after subtracting 3232 from 3560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3280, and continue the process.

Moving on to step 12:
404 goes into 3280 8 times with a remainder of 48.
Record the quotient 8 as the next digit in the result. 
Result so far: 7673.06188
Subtracting 3232 from 3280 leaves us with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

The final outcome is 7673.06188, with a leftover of 4.8e-05.