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

Moving on to step 1:
The number 89 fits into 5 0 times, leaving a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 89

Advancing to step 2:
If we divide 50 by 89, we get 0 and a remainder of 50.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 50 and we're left with 50.
Bring next digit (9) of the dividend behind the 50 and repeat the process: 509 / 89

Moving on to step 3:
89 can be fit into 509 5 times, resulting in a remainder of 64.
Write down 5 as next digit of the result. 
Result so far: 5.0
Deduct 445 from 509 and we're left with 64.
Take the next digit (4) from the dividend and append it to 64, then repeat: 644 / 89

Going ahead to step 4:
When dividing 644 by 89, we get 7 with a remainder of 21.
Write down 7 as next digit of the result. 
Result so far: 57.0
If we take 623 away from 644, we end up with 21.
Grab the next digit (5) from the dividend, add it to 21, then carry on: 215 / 89

Step 5:
89 goes into 215 2 times with a remainder of 37.
The next digit of our result is 2. 
Result so far: 572.0
Subtracting 178 from 215 leaves us with 37.
Grab the next digit (0) from the dividend, add it to 37, then carry on: 370 / 89

Let's proceed to step 6:
370 divided by 89 is 4 with a remainder of 14.
Use 4 as the next digit of our solution. 
Result so far: 5724.0
Subtracting 356 from 370 leaves us with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 7:
When dividing 140 by 89, we get 1 with a remainder of 51.
Record the quotient 1 as the next digit in the result. 
Result so far: 5724.1
If we subtract 89 from 140, we get 51.
Since there are no more digits in the dividend, we add a zero to the remainder making it 510, and continue the process.

Let's proceed to step 8:
510 divided by 89 is 5 with a remainder of 65.
Use 5 as the next digit of our solution. 
Result so far: 5724.15
Subtracting 445 from 510 leaves us with 65.
Since there are no more digits in the dividend, we add a zero to the remainder making it 650, and continue the process.

On to step 9:
When dividing 650 by 89, we get 7 with a remainder of 27.
Put 7 as the next digit of the answer. 
Result so far: 5724.157
Subtract 623 from 650 to get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Going ahead to step 10:
The number 89 fits into 270 3 times, leaving a remainder of 3.
Record the quotient 3 as the next digit in the result. 
Result so far: 5724.1573
Subtract 267 from 270 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 11:
When dividing 30 by 89, we get 0 with a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 5724.1573
Deduct 0 from 30 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 12:
If we divide 300 by 89, we get 3 and a remainder of 33.
The next digit of our result is 3. 
Result so far: 5724.157303
If we take 267 away from 300, we end up with 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

On to step 13:
When dividing 330 by 89, we get 3 with a remainder of 63.
Write down 3 as next digit of the result. 
Result so far: 5724.1573033
Subtracting 267 from 330 leaves us with 63.
Since there are no more digits in the dividend, we add a zero to the remainder making it 630, and continue the process.

The final result is 5724.1573033 with a remainder of 6.3e-07.