We're dividing 10340831 by 395 
The aim is to understand the frequency of 395 in 10340831.

On to step 1:
1 divided by 395 is 0 with a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Take the next digit (0) from the dividend and append it to 1, then repeat: 10 / 395

Moving on to step 2:
395 can be fit into 10 0 times, resulting in a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 10 to get 10.
Bring next digit (3) of the dividend behind the 10 and repeat the process: 103 / 395

Going ahead to step 3:
103 divided by 395 is 0 with a remainder of 103.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 103 and we're left with 103.
Include the next digit (4) from the dividend after 103, then repeat: 1034 / 395

Moving on to step 4:
If we divide 1034 by 395, we get 2 and a remainder of 244.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Deduct 790 from 1034 and we're left with 244.
Include the next digit (0) from the dividend after 244, then repeat: 2440 / 395

Step 5:
2440 divided by 395 is 6 with a remainder of 70.
Write down 6 as next digit of the result. 
Result so far: 26.0
Subtract 2370 from 2440 to get 70.
Include the next digit (8) from the dividend after 70, then repeat: 708 / 395

Going ahead to step 6:
The number 395 fits into 708 1 times, leaving a remainder of 313.
Record the quotient 1 as the next digit in the result. 
Result so far: 261.0
The remainder is 313 after subtracting 395 from 708.
Bring next digit (3) of the dividend behind the 313 and repeat the process: 3133 / 395

On to step 7:
395 can be fit into 3133 7 times, resulting in a remainder of 368.
Put 7 as the next digit of the answer. 
Result so far: 2617.0
If we take 2765 away from 3133, we end up with 368.
Bring next digit (1) of the dividend behind the 368 and repeat the process: 3681 / 395

Going ahead to step 8:
3681 divided by 395 is 9 with a remainder of 126.
The number 9 becomes the next digit in our result. 
Result so far: 26179.0
If we subtract 3555 from 3681, we 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.

Moving on to step 9:
1260 divided by 395 is 3 with a remainder of 75.
The number 3 becomes the next digit in our result. 
Result so far: 26179.3
Deduct 1185 from 1260 and we're left with 75.
Since there are no more digits in the dividend, we add a zero to the remainder making it 750, and continue the process.

Let's proceed to step 10:
If we divide 750 by 395, we get 1 and a remainder of 355.
Write down 1 as next digit of the result. 
Result so far: 26179.31
If we take 395 away from 750, we end up with 355.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3550, and continue the process.

Advancing to step 11:
395 can be fit into 3550 8 times, resulting in a remainder of 390.
The number 8 becomes the next digit in our result. 
Result so far: 26179.318
Subtract 3160 from 3550 to get 390.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3900, and continue the process.

On to step 12:
395 goes into 3900 9 times with a remainder of 345.
Put 9 as the next digit of the answer. 
Result so far: 26179.3189
The remainder is 345 after subtracting 3555 from 3900.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3450, and continue the process.

On to step 13:
The number 395 fits into 3450 8 times, leaving a remainder of 290.
Write down 8 as next digit of the result. 
Result so far: 26179.31898
If we subtract 3160 from 3450, we 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:
The number 395 fits into 2900 7 times, leaving a remainder of 135.
Record the quotient 7 as the next digit in the result. 
Result so far: 26179.318987
Subtract 2765 from 2900 to get 135.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1350, and continue the process.

On to step 15:
The number 395 fits into 1350 3 times, leaving a remainder of 165.
The number 3 becomes the next digit in our result. 
Result so far: 26179.3189873
Deduct 1185 from 1350 and we're left with 165.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1650, and continue the process.

On to step 16:
395 goes into 1650 4 times with a remainder of 70.
Record the quotient 4 as the next digit in the result. 
Result so far: 26179.31898734
Subtracting 1580 from 1650 leaves us with 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

The final result is 26179.31898734 with a remainder of 7e-08.