We look at the division of 2501795 by 839 
The aim is to understand the frequency of 839 in 2501795.

Going ahead to step 1:
If we divide 2 by 839, we get 0 and a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 2 leaves us with 2.
Grab the next digit (5) from the dividend, add it to 2, then carry on: 25 / 839

Going ahead to step 2:
When dividing 25 by 839, we get 0 with a remainder of 25.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 25 to get 25.
Append the next digit (0) from the dividend to 25 and continue with: 250 / 839

Going ahead to step 3:
The number 839 fits into 250 0 times, leaving a remainder of 250.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 250 and we're left with 250.
Grab the next digit (1) from the dividend, add it to 250, then carry on: 2501 / 839

Advancing to step 4:
If we divide 2501 by 839, we get 2 and a remainder of 823.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Deduct 1678 from 2501 and we're left with 823.
Grab the next digit (7) from the dividend, add it to 823, then carry on: 8237 / 839

Let's proceed to step 5:
The number 839 fits into 8237 9 times, leaving a remainder of 686.
Put 9 as the next digit of the answer. 
Result so far: 29.0
Deduct 7551 from 8237 and we're left with 686.
Append the next digit (9) from the dividend to 686 and continue with: 6869 / 839

Moving on to step 6:
If we divide 6869 by 839, we get 8 and a remainder of 157.
The number 8 becomes the next digit in our result. 
Result so far: 298.0
Subtract 6712 from 6869 to get 157.
Take the next digit (5) from the dividend and append it to 157, then repeat: 1575 / 839

Going ahead to step 7:
The number 839 fits into 1575 1 times, leaving a remainder of 736.
Record the quotient 1 as the next digit in the result. 
Result so far: 2981.0
If we take 839 away from 1575, we end up with 736.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7360, and continue the process.

Step 8:
7360 divided by 839 is 8 with a remainder of 648.
Write down 8 as next digit of the result. 
Result so far: 2981.8
If we subtract 6712 from 7360, we get 648.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6480, and continue the process.

On to step 9:
If we divide 6480 by 839, we get 7 and a remainder of 607.
Use 7 as the next digit of our solution. 
Result so far: 2981.87
If we take 5873 away from 6480, we end up with 607.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6070, and continue the process.

Advancing to step 10:
839 can be fit into 6070 7 times, resulting in a remainder of 197.
Put 7 as the next digit of the answer. 
Result so far: 2981.877
The remainder is 197 after subtracting 5873 from 6070.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1970, and continue the process.

After the division, we end up with 2981.877 and a remainder of 0.0197.