We divide 400804 by 346
The aim is to understand the frequency of 346 in 400804.

Moving on to step 1:
When dividing 4 by 346, we get 0 with a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 346

Going ahead to step 2:
346 can be fit into 40 0 times, resulting in a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Fetch the next digit (0) from the dividend, attach it to 40 and continue: 400 / 346

Advancing to step 3:
When dividing 400 by 346, we get 1 with a remainder of 54.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtract 346 from 400 to get 54.
Bring next digit (8) of the dividend behind the 54 and repeat the process: 548 / 346

Advancing to step 4:
346 goes into 548 1 times with a remainder of 202.
Put 1 as the next digit of the answer. 
Result so far: 11.0
Deduct 346 from 548 and we're left with 202.
Append the next digit (0) from the dividend to 202 and continue with: 2020 / 346

Advancing to step 5:
346 goes into 2020 5 times with a remainder of 290.
The next digit of our result is 5. 
Result so far: 115.0
Deduct 1730 from 2020 and we're left with 290.
Include the next digit (4) from the dividend after 290, then repeat: 2904 / 346

On to step 6:
When dividing 2904 by 346, we get 8 with a remainder of 136.
The number 8 becomes the next digit in our result. 
Result so far: 1158.0
Subtract 2768 from 2904 to get 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 7:
1360 divided by 346 is 3 with a remainder of 322.
Use 3 as the next digit of our solution. 
Result so far: 1158.3
The remainder is 322 after subtracting 1038 from 1360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3220, and continue the process.

Going ahead to step 8:
When dividing 3220 by 346, we get 9 with a remainder of 106.
The number 9 becomes the next digit in our result. 
Result so far: 1158.39
Deduct 3114 from 3220 and we're left with 106.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1060, and continue the process.

Moving on to step 9:
If we divide 1060 by 346, we get 3 and a remainder of 22.
The number 3 becomes the next digit in our result. 
Result so far: 1158.393
Deduct 1038 from 1060 and we're left with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 10:
346 can be fit into 220 0 times, resulting in a remainder of 220.
Write down 0 as next digit of the result. 
Result so far: 1158.393
Deduct 0 from 220 and we're left with 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2200, and continue the process.

On to step 11:
The number 346 fits into 2200 6 times, leaving a remainder of 124.
The number 6 becomes the next digit in our result. 
Result so far: 1158.39306
Deduct 2076 from 2200 and we're left 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.

Step 12:
1240 divided by 346 is 3 with a remainder of 202.
The number 3 becomes the next digit in our result. 
Result so far: 1158.393063
If we subtract 1038 from 1240, we get 202.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2020, and continue the process.

Advancing to step 13:
2020 divided by 346 is 5 with a remainder of 290.
Write down 5 as next digit of the result. 
Result so far: 1158.3930635
Subtract 1730 from 2020 to get 290.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2900, and continue the process.

Going ahead to step 14:
2900 divided by 346 is 8 with a remainder of 132.
Put 8 as the next digit of the answer. 
Result so far: 1158.39306358
Subtract 2768 from 2900 to get 132.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1320, and continue the process.

The final outcome is 1158.39306358, with a leftover of 1.32e-07.