Let's divide 521117 by 89
The aim is to understand the frequency of 89 in 521117.

Advancing to step 1:
If we divide 5 by 89, we get 0 and a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Append the next digit (2) from the dividend to 5 and continue with: 52 / 89

On to step 2:
If we divide 52 by 89, we get 0 and a remainder of 52.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 52 and we're left with 52.
Take the next digit (1) from the dividend and append it to 52, then repeat: 521 / 89

Going ahead to step 3:
The number 89 fits into 521 5 times, leaving a remainder of 76.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
The remainder is 76 after subtracting 445 from 521.
Bring next digit (1) of the dividend behind the 76 and repeat the process: 761 / 89

Step 4:
761 divided by 89 is 8 with a remainder of 49.
Write down 8 as next digit of the result. 
Result so far: 58.0
The remainder is 49 after subtracting 712 from 761.
Grab the next digit (1) from the dividend, add it to 49, then carry on: 491 / 89

Moving on to step 5:
When dividing 491 by 89, we get 5 with a remainder of 46.
Put 5 as the next digit of the answer. 
Result so far: 585.0
If we subtract 445 from 491, we get 46.
Fetch the next digit (7) from the dividend, attach it to 46 and continue: 467 / 89

Advancing to step 6:
89 goes into 467 5 times with a remainder of 22.
Use 5 as the next digit of our solution. 
Result so far: 5855.0
If we take 445 away from 467, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 7:
The number 89 fits into 220 2 times, leaving a remainder of 42.
Write down 2 as next digit of the result. 
Result so far: 5855.2
If we take 178 away from 220, we end up with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Going ahead to step 8:
If we divide 420 by 89, we get 4 and a remainder of 64.
Write down 4 as next digit of the result. 
Result so far: 5855.24
Deduct 356 from 420 and we're left with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Let's proceed to step 9:
89 can be fit into 640 7 times, resulting in a remainder of 17.
Put 7 as the next digit of the answer. 
Result so far: 5855.247
The remainder is 17 after subtracting 623 from 640.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

On to step 10:
89 can be fit into 170 1 times, resulting in a remainder of 81.
Write down 1 as next digit of the result. 
Result so far: 5855.2471
The remainder is 81 after subtracting 89 from 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 810, and continue the process.

Let's proceed to step 11:
When dividing 810 by 89, we get 9 with a remainder of 9.
Record the quotient 9 as the next digit in the result. 
Result so far: 5855.24719
Deduct 801 from 810 and we're left with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Step 12:
When dividing 90 by 89, we get 1 with a remainder of 1.
Put 1 as the next digit of the answer. 
Result so far: 5855.247191
The remainder is 1 after subtracting 89 from 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 13:
10 divided by 89 is 0 with a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 5855.247191
Subtracting 0 from 10 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 14:
The number 89 fits into 100 1 times, leaving a remainder of 11.
The number 1 becomes the next digit in our result. 
Result so far: 5855.24719101
Deduct 89 from 100 and we're left with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Our division results in 5855.24719101 with a remaining 1.1e-08.