We divide 5870882 by 787
The aim is to understand the frequency of 787 in 5870882.

Moving on to step 1:
787 can be fit into 5 0 times, resulting in a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 787

Step 2:
787 goes into 58 0 times with a remainder of 58.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 58 leaves us with 58.
Fetch the next digit (7) from the dividend, attach it to 58 and continue: 587 / 787

Moving on to step 3:
When dividing 587 by 787, we get 0 with a remainder of 587.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 587 to get 587.
Fetch the next digit (0) from the dividend, attach it to 587 and continue: 5870 / 787

Going ahead to step 4:
When dividing 5870 by 787, we get 7 with a remainder of 361.
The next digit of our result is 7. 
Result so far: 7.0
Subtracting 5509 from 5870 leaves us with 361.
Include the next digit (8) from the dividend after 361, then repeat: 3618 / 787

Moving on to step 5:
The number 787 fits into 3618 4 times, leaving a remainder of 470.
Write down 4 as next digit of the result. 
Result so far: 74.0
If we take 3148 away from 3618, we end up with 470.
Append the next digit (8) from the dividend to 470 and continue with: 4708 / 787

Advancing to step 6:
The number 787 fits into 4708 5 times, leaving a remainder of 773.
Put 5 as the next digit of the answer. 
Result so far: 745.0
Subtracting 3935 from 4708 leaves us with 773.
Fetch the next digit (2) from the dividend, attach it to 773 and continue: 7732 / 787

Step 7:
If we divide 7732 by 787, we get 9 and a remainder of 649.
Record the quotient 9 as the next digit in the result. 
Result so far: 7459.0
Subtract 7083 from 7732 to get 649.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6490, and continue the process.

On to step 8:
787 goes into 6490 8 times with a remainder of 194.
Use 8 as the next digit of our solution. 
Result so far: 7459.8
If we take 6296 away from 6490, we end up with 194.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1940, and continue the process.

Moving on to step 9:
The number 787 fits into 1940 2 times, leaving a remainder of 366.
The number 2 becomes the next digit in our result. 
Result so far: 7459.82
Deduct 1574 from 1940 and we're left with 366.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3660, and continue the process.

Going ahead to step 10:
If we divide 3660 by 787, we get 4 and a remainder of 512.
The next digit of our result is 4. 
Result so far: 7459.824
If we take 3148 away from 3660, we end up with 512.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5120, and continue the process.

On to step 11:
If we divide 5120 by 787, we get 6 and a remainder of 398.
The number 6 becomes the next digit in our result. 
Result so far: 7459.8246
If we take 4722 away from 5120, we end up with 398.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3980, and continue the process.

Step 12:
3980 divided by 787 is 5 with a remainder of 45.
Write down 5 as next digit of the result. 
Result so far: 7459.82465
Subtract 3935 from 3980 to get 45.
Since there are no more digits in the dividend, we add a zero to the remainder making it 450, and continue the process.

Advancing to step 13:
If we divide 450 by 787, we get 0 and a remainder of 450.
The number 0 becomes the next digit in our result. 
Result so far: 7459.82465
The remainder is 450 after subtracting 0 from 450.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4500, and continue the process.

Moving on to step 14:
4500 divided by 787 is 5 with a remainder of 565.
The next digit of our result is 5. 
Result so far: 7459.8246505
The remainder is 565 after subtracting 3935 from 4500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5650, and continue the process.

On to step 15:
When dividing 5650 by 787, we get 7 with a remainder of 141.
Use 7 as the next digit of our solution. 
Result so far: 7459.82465057
Deduct 5509 from 5650 and we're left with 141.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1410, and continue the process.

The final outcome is 7459.82465057, with a leftover of 1.41e-07.