Let's divide 6857581 by 335
The aim is to understand the frequency of 335 in 6857581.

Advancing to step 1:
When dividing 6 by 335, we get 0 with a remainder of 6.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 6 after subtracting 0 from 6.
Grab the next digit (8) from the dividend, add it to 6, then carry on: 68 / 335

Going ahead to step 2:
The number 335 fits into 68 0 times, leaving a remainder of 68.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 68 and we're left with 68.
Append the next digit (5) from the dividend to 68 and continue with: 685 / 335

Advancing to step 3:
335 can be fit into 685 2 times, resulting in a remainder of 15.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we take 670 away from 685, we end up with 15.
Bring next digit (7) of the dividend behind the 15 and repeat the process: 157 / 335

Let's proceed to step 4:
The number 335 fits into 157 0 times, leaving a remainder of 157.
Use 0 as the next digit of our solution. 
Result so far: 20.0
The remainder is 157 after subtracting 0 from 157.
Include the next digit (5) from the dividend after 157, then repeat: 1575 / 335

Going ahead to step 5:
If we divide 1575 by 335, we get 4 and a remainder of 235.
Put 4 as the next digit of the answer. 
Result so far: 204.0
Subtracting 1340 from 1575 leaves us with 235.
Take the next digit (8) from the dividend and append it to 235, then repeat: 2358 / 335

Step 6:
335 goes into 2358 7 times with a remainder of 13.
Put 7 as the next digit of the answer. 
Result so far: 2047.0
Deduct 2345 from 2358 and we're left with 13.
Bring next digit (1) of the dividend behind the 13 and repeat the process: 131 / 335

On to step 7:
335 goes into 131 0 times with a remainder of 131.
Put 0 as the next digit of the answer. 
Result so far: 20470.0
Subtract 0 from 131 to get 131.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1310, and continue the process.

Step 8:
335 goes into 1310 3 times with a remainder of 305.
Record the quotient 3 as the next digit in the result. 
Result so far: 20470.3
The remainder is 305 after subtracting 1005 from 1310.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3050, and continue the process.

Going ahead to step 9:
3050 divided by 335 is 9 with a remainder of 35.
Use 9 as the next digit of our solution. 
Result so far: 20470.39
The remainder is 35 after subtracting 3015 from 3050.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Let's proceed to step 10:
The number 335 fits into 350 1 times, leaving a remainder of 15.
Write down 1 as next digit of the result. 
Result so far: 20470.391
Deduct 335 from 350 and we're left with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Advancing to step 11:
150 divided by 335 is 0 with a remainder of 150.
Record the quotient 0 as the next digit in the result. 
Result so far: 20470.391
Subtract 0 from 150 to get 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1500, and continue the process.

Step 12:
1500 divided by 335 is 4 with a remainder of 160.
Put 4 as the next digit of the answer. 
Result so far: 20470.39104
If we take 1340 away from 1500, we end up 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.

Step 13:
If we divide 1600 by 335, we get 4 and a remainder of 260.
The next digit of our result is 4. 
Result so far: 20470.391044
If we subtract 1340 from 1600, we get 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2600, and continue the process.

The final result is 20470.391044 with a remainder of 2.6e-05.