Let's divide 78165231 by 591
The aim is to understand the frequency of 591 in 78165231.

On to step 1:
591 goes into 7 0 times with a remainder of 7.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 7, we end up with 7.
Grab the next digit (8) from the dividend, add it to 7, then carry on: 78 / 591

Step 2:
591 goes into 78 0 times with a remainder of 78.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 78 to get 78.
Include the next digit (1) from the dividend after 78, then repeat: 781 / 591

Step 3:
781 divided by 591 is 1 with a remainder of 190.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtract 591 from 781 to get 190.
Fetch the next digit (6) from the dividend, attach it to 190 and continue: 1906 / 591

On to step 4:
591 goes into 1906 3 times with a remainder of 133.
Write down 3 as next digit of the result. 
Result so far: 13.0
If we take 1773 away from 1906, we end up with 133.
Append the next digit (5) from the dividend to 133 and continue with: 1335 / 591

Moving on to step 5:
When dividing 1335 by 591, we get 2 with a remainder of 153.
The next digit of our result is 2. 
Result so far: 132.0
Subtract 1182 from 1335 to get 153.
Take the next digit (2) from the dividend and append it to 153, then repeat: 1532 / 591

Moving on to step 6:
591 can be fit into 1532 2 times, resulting in a remainder of 350.
Use 2 as the next digit of our solution. 
Result so far: 1322.0
If we subtract 1182 from 1532, we get 350.
Include the next digit (3) from the dividend after 350, then repeat: 3503 / 591

On to step 7:
3503 divided by 591 is 5 with a remainder of 548.
The number 5 becomes the next digit in our result. 
Result so far: 13225.0
If we take 2955 away from 3503, we end up with 548.
Append the next digit (1) from the dividend to 548 and continue with: 5481 / 591

Going ahead to step 8:
The number 591 fits into 5481 9 times, leaving a remainder of 162.
The number 9 becomes the next digit in our result. 
Result so far: 132259.0
If we subtract 5319 from 5481, we get 162.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1620, and continue the process.

Moving on to step 9:
If we divide 1620 by 591, we get 2 and a remainder of 438.
The next digit of our result is 2. 
Result so far: 132259.2
Deduct 1182 from 1620 and we're left with 438.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4380, and continue the process.

Advancing to step 10:
When dividing 4380 by 591, we get 7 with a remainder of 243.
Put 7 as the next digit of the answer. 
Result so far: 132259.27
The remainder is 243 after subtracting 4137 from 4380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2430, and continue the process.

Step 11:
591 goes into 2430 4 times with a remainder of 66.
Write down 4 as next digit of the result. 
Result so far: 132259.274
Deduct 2364 from 2430 and we're left with 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Going ahead to step 12:
If we divide 660 by 591, we get 1 and a remainder of 69.
Use 1 as the next digit of our solution. 
Result so far: 132259.2741
If we take 591 away from 660, we end up with 69.
Since there are no more digits in the dividend, we add a zero to the remainder making it 690, and continue the process.

Moving on to step 13:
When dividing 690 by 591, we get 1 with a remainder of 99.
Put 1 as the next digit of the answer. 
Result so far: 132259.27411
Deduct 591 from 690 and we're left with 99.
Since there are no more digits in the dividend, we add a zero to the remainder making it 990, and continue the process.

The final result is 132259.27411 with a remainder of 9.9e-05.