We look at the division of 40748666 by 89 
The aim is to understand the frequency of 89 in 40748666.

Going ahead to step 1:
89 can be fit into 4 0 times, resulting in a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 89

Going ahead to step 2:
When dividing 40 by 89, we get 0 with a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 40 leaves us with 40.
Fetch the next digit (7) from the dividend, attach it to 40 and continue: 407 / 89

Moving on to step 3:
89 can be fit into 407 4 times, resulting in a remainder of 51.
Use 4 as the next digit of our solution. 
Result so far: 4.0
Subtracting 356 from 407 leaves us with 51.
Bring next digit (4) of the dividend behind the 51 and repeat the process: 514 / 89

On to step 4:
89 goes into 514 5 times with a remainder of 69.
Put 5 as the next digit of the answer. 
Result so far: 45.0
If we subtract 445 from 514, we get 69.
Fetch the next digit (8) from the dividend, attach it to 69 and continue: 698 / 89

On to step 5:
If we divide 698 by 89, we get 7 and a remainder of 75.
Put 7 as the next digit of the answer. 
Result so far: 457.0
Deduct 623 from 698 and we're left with 75.
Include the next digit (6) from the dividend after 75, then repeat: 756 / 89

Step 6:
When dividing 756 by 89, we get 8 with a remainder of 44.
Use 8 as the next digit of our solution. 
Result so far: 4578.0
Subtracting 712 from 756 leaves us with 44.
Take the next digit (6) from the dividend and append it to 44, then repeat: 446 / 89

Let's proceed to step 7:
89 can be fit into 446 5 times, resulting in a remainder of 1.
Record the quotient 5 as the next digit in the result. 
Result so far: 45785.0
Subtracting 445 from 446 leaves us with 1.
Fetch the next digit (6) from the dividend, attach it to 1 and continue: 16 / 89

Step 8:
16 divided by 89 is 0 with a remainder of 16.
The number 0 becomes the next digit in our result. 
Result so far: 457850.0
If we take 0 away from 16, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 9:
When dividing 160 by 89, we get 1 with a remainder of 71.
The number 1 becomes the next digit in our result. 
Result so far: 457850.1
If we take 89 away from 160, we end up with 71.
Since there are no more digits in the dividend, we add a zero to the remainder making it 710, and continue the process.

Advancing to step 10:
710 divided by 89 is 7 with a remainder of 87.
Write down 7 as next digit of the result. 
Result so far: 457850.17
If we take 623 away from 710, we end up with 87.
Since there are no more digits in the dividend, we add a zero to the remainder making it 870, and continue the process.

Moving on to step 11:
89 can be fit into 870 9 times, resulting in a remainder of 69.
The next digit of our result is 9. 
Result so far: 457850.179
Deduct 801 from 870 and we're left 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.

Going ahead to step 12:
If we divide 690 by 89, we get 7 and a remainder of 67.
Write down 7 as next digit of the result. 
Result so far: 457850.1797
If we take 623 away from 690, we end up with 67.
Since there are no more digits in the dividend, we add a zero to the remainder making it 670, and continue the process.

Let's proceed to step 13:
If we divide 670 by 89, we get 7 and a remainder of 47.
The number 7 becomes the next digit in our result. 
Result so far: 457850.17977
If we subtract 623 from 670, we get 47.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

Our division results in 457850.17977 with a remaining 4.7e-05.