40299395 ÷ 591 
The aim is to understand the frequency of 591 in 40299395.

Let's proceed to step 1:
4 divided by 591 is 0 with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 591

Step 2:
The number 591 fits into 40 0 times, leaving a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Grab the next digit (2) from the dividend, add it to 40, then carry on: 402 / 591

Let's proceed to step 3:
591 goes into 402 0 times with a remainder of 402.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 402 and we're left with 402.
Take the next digit (9) from the dividend and append it to 402, then repeat: 4029 / 591

Step 4:
If we divide 4029 by 591, we get 6 and a remainder of 483.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
If we take 3546 away from 4029, we end up with 483.
Take the next digit (9) from the dividend and append it to 483, then repeat: 4839 / 591

Let's proceed to step 5:
591 goes into 4839 8 times with a remainder of 111.
Write down 8 as next digit of the result. 
Result so far: 68.0
Subtract 4728 from 4839 to get 111.
Fetch the next digit (3) from the dividend, attach it to 111 and continue: 1113 / 591

Moving on to step 6:
If we divide 1113 by 591, we get 1 and a remainder of 522.
Put 1 as the next digit of the answer. 
Result so far: 681.0
The remainder is 522 after subtracting 591 from 1113.
Bring next digit (9) of the dividend behind the 522 and repeat the process: 5229 / 591

On to step 7:
5229 divided by 591 is 8 with a remainder of 501.
The number 8 becomes the next digit in our result. 
Result so far: 6818.0
Deduct 4728 from 5229 and we're left with 501.
Grab the next digit (5) from the dividend, add it to 501, then carry on: 5015 / 591

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

Going ahead to step 9:
591 can be fit into 2870 4 times, resulting in a remainder of 506.
Put 4 as the next digit of the answer. 
Result so far: 68188.4
If we subtract 2364 from 2870, we get 506.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5060, and continue the process.

On to step 10:
591 can be fit into 5060 8 times, resulting in a remainder of 332.
The next digit of our result is 8. 
Result so far: 68188.48
The remainder is 332 after subtracting 4728 from 5060.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3320, and continue the process.

Advancing to step 11:
591 goes into 3320 5 times with a remainder of 365.
Use 5 as the next digit of our solution. 
Result so far: 68188.485
If we take 2955 away from 3320, we end up with 365.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3650, and continue the process.

Moving on to step 12:
591 goes into 3650 6 times with a remainder of 104.
Write down 6 as next digit of the result. 
Result so far: 68188.4856
The remainder is 104 after subtracting 3546 from 3650.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1040, and continue the process.

Going ahead to step 13:
1040 divided by 591 is 1 with a remainder of 449.
The next digit of our result is 1. 
Result so far: 68188.48561
If we take 591 away from 1040, we end up with 449.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4490, and continue the process.

Going ahead to step 14:
591 can be fit into 4490 7 times, resulting in a remainder of 353.
Write down 7 as next digit of the result. 
Result so far: 68188.485617
Subtract 4137 from 4490 to get 353.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3530, and continue the process.

Going ahead to step 15:
591 can be fit into 3530 5 times, resulting in a remainder of 575.
The number 5 becomes the next digit in our result. 
Result so far: 68188.4856175
Subtracting 2955 from 3530 leaves us with 575.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5750, and continue the process.

Going ahead to step 16:
591 can be fit into 5750 9 times, resulting in a remainder of 431.
Use 9 as the next digit of our solution. 
Result so far: 68188.48561759
Subtracting 5319 from 5750 leaves us with 431.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4310, and continue the process.

The final result is 68188.48561759 with a remainder of 4.31e-07.