We're dividing 18772229 by 583 
The aim is to understand the frequency of 583 in 18772229.

Moving on to step 1:
When dividing 1 by 583, we get 0 with a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Append the next digit (8) from the dividend to 1 and continue with: 18 / 583

Going ahead to step 2:
The number 583 fits into 18 0 times, leaving a remainder of 18.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 18 leaves us with 18.
Include the next digit (7) from the dividend after 18, then repeat: 187 / 583

Going ahead to step 3:
When dividing 187 by 583, we get 0 with a remainder of 187.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 187 after subtracting 0 from 187.
Grab the next digit (7) from the dividend, add it to 187, then carry on: 1877 / 583

Moving on to step 4:
583 can be fit into 1877 3 times, resulting in a remainder of 128.
Put 3 as the next digit of the answer. 
Result so far: 3.0
Deduct 1749 from 1877 and we're left with 128.
Take the next digit (2) from the dividend and append it to 128, then repeat: 1282 / 583

Going ahead to step 5:
If we divide 1282 by 583, we get 2 and a remainder of 116.
Record the quotient 2 as the next digit in the result. 
Result so far: 32.0
Subtracting 1166 from 1282 leaves us with 116.
Include the next digit (2) from the dividend after 116, then repeat: 1162 / 583

Advancing to step 6:
If we divide 1162 by 583, we get 1 and a remainder of 579.
The number 1 becomes the next digit in our result. 
Result so far: 321.0
The remainder is 579 after subtracting 583 from 1162.
Take the next digit (2) from the dividend and append it to 579, then repeat: 5792 / 583

Step 7:
The number 583 fits into 5792 9 times, leaving a remainder of 545.
Use 9 as the next digit of our solution. 
Result so far: 3219.0
If we take 5247 away from 5792, we end up with 545.
Append the next digit (9) from the dividend to 545 and continue with: 5459 / 583

Going ahead to step 8:
583 goes into 5459 9 times with a remainder of 212.
Record the quotient 9 as the next digit in the result. 
Result so far: 32199.0
The remainder is 212 after subtracting 5247 from 5459.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2120, and continue the process.

Step 9:
583 can be fit into 2120 3 times, resulting in a remainder of 371.
Put 3 as the next digit of the answer. 
Result so far: 32199.3
Deduct 1749 from 2120 and we're left with 371.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3710, and continue the process.

Step 10:
When dividing 3710 by 583, we get 6 with a remainder of 212.
Use 6 as the next digit of our solution. 
Result so far: 32199.36
Subtracting 3498 from 3710 leaves us with 212.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2120, and continue the process.

Moving on to step 11:
583 can be fit into 2120 3 times, resulting in a remainder of 371.
The number 3 becomes the next digit in our result. 
Result so far: 32199.363
Subtract 1749 from 2120 to get 371.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3710, and continue the process.

Going ahead to step 12:
583 goes into 3710 6 times with a remainder of 212.
The number 6 becomes the next digit in our result. 
Result so far: 32199.3636
If we subtract 3498 from 3710, we get 212.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2120, and continue the process.

Moving on to step 13:
When dividing 2120 by 583, we get 3 with a remainder of 371.
Record the quotient 3 as the next digit in the result. 
Result so far: 32199.36363
The remainder is 371 after subtracting 1749 from 2120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3710, and continue the process.

On to step 14:
3710 divided by 583 is 6 with a remainder of 212.
Use 6 as the next digit of our solution. 
Result so far: 32199.363636
The remainder is 212 after subtracting 3498 from 3710.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2120, and continue the process.

Advancing to step 15:
The number 583 fits into 2120 3 times, leaving a remainder of 371.
The number 3 becomes the next digit in our result. 
Result so far: 32199.3636363
If we subtract 1749 from 2120, we get 371.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3710, and continue the process.

Moving on to step 16:
583 can be fit into 3710 6 times, resulting in a remainder of 212.
Put 6 as the next digit of the answer. 
Result so far: 32199.36363636
The remainder is 212 after subtracting 3498 from 3710.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2120, and continue the process.

The final outcome is 32199.36363636, with a leftover of 2.12e-07.