Let's divide 18840561 by 845
The aim is to understand the frequency of 845 in 18840561.

Advancing to step 1:
If we divide 1 by 845, we get 0 and a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Append the next digit (8) from the dividend to 1 and continue with: 18 / 845

On to step 2:
18 divided by 845 is 0 with a remainder of 18.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 18 to get 18.
Fetch the next digit (8) from the dividend, attach it to 18 and continue: 188 / 845

Step 3:
845 can be fit into 188 0 times, resulting in a remainder of 188.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 188, we get 188.
Include the next digit (4) from the dividend after 188, then repeat: 1884 / 845

Moving on to step 4:
If we divide 1884 by 845, we get 2 and a remainder of 194.
The next digit of our result is 2. 
Result so far: 2.0
Deduct 1690 from 1884 and we're left with 194.
Include the next digit (0) from the dividend after 194, then repeat: 1940 / 845

Step 5:
845 can be fit into 1940 2 times, resulting in a remainder of 250.
The number 2 becomes the next digit in our result. 
Result so far: 22.0
If we take 1690 away from 1940, we end up with 250.
Bring next digit (5) of the dividend behind the 250 and repeat the process: 2505 / 845

Moving on to step 6:
If we divide 2505 by 845, we get 2 and a remainder of 815.
The next digit of our result is 2. 
Result so far: 222.0
If we take 1690 away from 2505, we end up with 815.
Append the next digit (6) from the dividend to 815 and continue with: 8156 / 845

Let's proceed to step 7:
When dividing 8156 by 845, we get 9 with a remainder of 551.
The next digit of our result is 9. 
Result so far: 2229.0
Subtracting 7605 from 8156 leaves us with 551.
Bring next digit (1) of the dividend behind the 551 and repeat the process: 5511 / 845

Step 8:
845 can be fit into 5511 6 times, resulting in a remainder of 441.
Record the quotient 6 as the next digit in the result. 
Result so far: 22296.0
Deduct 5070 from 5511 and we're left with 441.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4410, and continue the process.

Let's proceed to step 9:
845 goes into 4410 5 times with a remainder of 185.
Record the quotient 5 as the next digit in the result. 
Result so far: 22296.5
If we take 4225 away from 4410, we end up with 185.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1850, and continue the process.

Moving on to step 10:
845 can be fit into 1850 2 times, resulting in a remainder of 160.
Record the quotient 2 as the next digit in the result. 
Result so far: 22296.52
The remainder is 160 after subtracting 1690 from 1850.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1600, and continue the process.

On to step 11:
845 can be fit into 1600 1 times, resulting in a remainder of 755.
Record the quotient 1 as the next digit in the result. 
Result so far: 22296.521
Subtracting 845 from 1600 leaves us with 755.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7550, and continue the process.

Advancing to step 12:
845 can be fit into 7550 8 times, resulting in a remainder of 790.
Write down 8 as next digit of the result. 
Result so far: 22296.5218
Subtracting 6760 from 7550 leaves us with 790.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7900, and continue the process.

Step 13:
If we divide 7900 by 845, we get 9 and a remainder of 295.
The next digit of our result is 9. 
Result so far: 22296.52189
Subtracting 7605 from 7900 leaves us with 295.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2950, and continue the process.

Let's proceed to step 14:
845 goes into 2950 3 times with a remainder of 415.
Use 3 as the next digit of our solution. 
Result so far: 22296.521893
If we take 2535 away from 2950, we end up with 415.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4150, and continue the process.

Advancing to step 15:
If we divide 4150 by 845, we get 4 and a remainder of 770.
Put 4 as the next digit of the answer. 
Result so far: 22296.5218934
The remainder is 770 after subtracting 3380 from 4150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7700, and continue the process.

Advancing to step 16:
The number 845 fits into 7700 9 times, leaving a remainder of 95.
Write down 9 as next digit of the result. 
Result so far: 22296.52189349
Subtracting 7605 from 7700 leaves us with 95.
Since there are no more digits in the dividend, we add a zero to the remainder making it 950, and continue the process.

After the division, we end up with 22296.52189349 and a remainder of 9.5e-08.