Let's divide 12945985 by 588
The aim is to understand the frequency of 588 in 12945985.

Step 1:
588 can be fit into 1 0 times, resulting in a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Append the next digit (2) from the dividend to 1 and continue with: 12 / 588

Moving on to step 2:
When dividing 12 by 588, we get 0 with a remainder of 12.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 12 to get 12.
Include the next digit (9) from the dividend after 12, then repeat: 129 / 588

Let's proceed to step 3:
If we divide 129 by 588, we get 0 and a remainder of 129.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 129 to get 129.
Append the next digit (4) from the dividend to 129 and continue with: 1294 / 588

Let's proceed to step 4:
If we divide 1294 by 588, we get 2 and a remainder of 118.
Use 2 as the next digit of our solution. 
Result so far: 2.0
The remainder is 118 after subtracting 1176 from 1294.
Append the next digit (5) from the dividend to 118 and continue with: 1185 / 588

Let's proceed to step 5:
1185 divided by 588 is 2 with a remainder of 9.
The next digit of our result is 2. 
Result so far: 22.0
Subtract 1176 from 1185 to get 9.
Fetch the next digit (9) from the dividend, attach it to 9 and continue: 99 / 588

Advancing to step 6:
If we divide 99 by 588, we get 0 and a remainder of 99.
The number 0 becomes the next digit in our result. 
Result so far: 220.0
Subtract 0 from 99 to get 99.
Grab the next digit (8) from the dividend, add it to 99, then carry on: 998 / 588

Advancing to step 7:
When dividing 998 by 588, we get 1 with a remainder of 410.
Put 1 as the next digit of the answer. 
Result so far: 2201.0
Subtracting 588 from 998 leaves us with 410.
Include the next digit (5) from the dividend after 410, then repeat: 4105 / 588

On to step 8:
When dividing 4105 by 588, we get 6 with a remainder of 577.
The number 6 becomes the next digit in our result. 
Result so far: 22016.0
Deduct 3528 from 4105 and we're left with 577.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5770, and continue the process.

Moving on to step 9:
588 can be fit into 5770 9 times, resulting in a remainder of 478.
Record the quotient 9 as the next digit in the result. 
Result so far: 22016.9
If we take 5292 away from 5770, we end up with 478.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4780, and continue the process.

On to step 10:
The number 588 fits into 4780 8 times, leaving a remainder of 76.
Write down 8 as next digit of the result. 
Result so far: 22016.98
Deduct 4704 from 4780 and we're left with 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Moving on to step 11:
760 divided by 588 is 1 with a remainder of 172.
Put 1 as the next digit of the answer. 
Result so far: 22016.981
Deduct 588 from 760 and we're left with 172.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1720, and continue the process.

Step 12:
588 can be fit into 1720 2 times, resulting in a remainder of 544.
Put 2 as the next digit of the answer. 
Result so far: 22016.9812
If we subtract 1176 from 1720, we get 544.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5440, and continue the process.

Moving on to step 13:
588 goes into 5440 9 times with a remainder of 148.
The number 9 becomes the next digit in our result. 
Result so far: 22016.98129
If we subtract 5292 from 5440, we get 148.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1480, and continue the process.

Step 14:
If we divide 1480 by 588, we get 2 and a remainder of 304.
Write down 2 as next digit of the result. 
Result so far: 22016.981292
If we subtract 1176 from 1480, we get 304.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3040, and continue the process.

Step 15:
If we divide 3040 by 588, we get 5 and a remainder of 100.
Use 5 as the next digit of our solution. 
Result so far: 22016.9812925
If we subtract 2940 from 3040, we get 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

On to step 16:
1000 divided by 588 is 1 with a remainder of 412.
Record the quotient 1 as the next digit in the result. 
Result so far: 22016.98129251
Deduct 588 from 1000 and we're left with 412.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4120, and continue the process.

The final result is 22016.98129251 with a remainder of 4.12e-07.