We divide 5051891 by 865
The aim is to understand the frequency of 865 in 5051891.

Moving on to step 1:
When dividing 5 by 865, we get 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 865

On to step 2:
50 divided by 865 is 0 with a remainder of 50.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 50 to get 50.
Append the next digit (5) from the dividend to 50 and continue with: 505 / 865

Moving on to step 3:
The number 865 fits into 505 0 times, leaving a remainder of 505.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 505, we end up with 505.
Fetch the next digit (1) from the dividend, attach it to 505 and continue: 5051 / 865

Advancing to step 4:
865 can be fit into 5051 5 times, resulting in a remainder of 726.
Put 5 as the next digit of the answer. 
Result so far: 5.0
If we subtract 4325 from 5051, we get 726.
Append the next digit (8) from the dividend to 726 and continue with: 7268 / 865

Moving on to step 5:
If we divide 7268 by 865, we get 8 and a remainder of 348.
Put 8 as the next digit of the answer. 
Result so far: 58.0
If we take 6920 away from 7268, we end up with 348.
Append the next digit (9) from the dividend to 348 and continue with: 3489 / 865

Going ahead to step 6:
865 can be fit into 3489 4 times, resulting in a remainder of 29.
Write down 4 as next digit of the result. 
Result so far: 584.0
Subtract 3460 from 3489 to get 29.
Grab the next digit (1) from the dividend, add it to 29, then carry on: 291 / 865

Going ahead to step 7:
865 goes into 291 0 times with a remainder of 291.
The next digit of our result is 0. 
Result so far: 5840.0
Subtracting 0 from 291 leaves us with 291.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2910, and continue the process.

Going ahead to step 8:
If we divide 2910 by 865, we get 3 and a remainder of 315.
The number 3 becomes the next digit in our result. 
Result so far: 5840.3
The remainder is 315 after subtracting 2595 from 2910.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3150, and continue the process.

On to step 9:
865 can be fit into 3150 3 times, resulting in a remainder of 555.
Use 3 as the next digit of our solution. 
Result so far: 5840.33
The remainder is 555 after subtracting 2595 from 3150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5550, and continue the process.

In conclusion, the division gives 5840.33 with a balance of 0.555.