We look at the division of 17870983 by 561 
The aim is to understand the frequency of 561 in 17870983.

Step 1:
561 can be fit into 1 0 times, resulting in a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Grab the next digit (7) from the dividend, add it to 1, then carry on: 17 / 561

Moving on to step 2:
17 divided by 561 is 0 with a remainder of 17.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 17, we end up with 17.
Append the next digit (8) from the dividend to 17 and continue with: 178 / 561

Let's proceed to step 3:
If we divide 178 by 561, we get 0 and a remainder of 178.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 178 to get 178.
Bring next digit (7) of the dividend behind the 178 and repeat the process: 1787 / 561

Advancing to step 4:
If we divide 1787 by 561, we get 3 and a remainder of 104.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Subtracting 1683 from 1787 leaves us with 104.
Fetch the next digit (0) from the dividend, attach it to 104 and continue: 1040 / 561

Let's proceed to step 5:
The number 561 fits into 1040 1 times, leaving a remainder of 479.
Use 1 as the next digit of our solution. 
Result so far: 31.0
If we subtract 561 from 1040, we get 479.
Fetch the next digit (9) from the dividend, attach it to 479 and continue: 4799 / 561

Advancing to step 6:
561 can be fit into 4799 8 times, resulting in a remainder of 311.
Put 8 as the next digit of the answer. 
Result so far: 318.0
Subtract 4488 from 4799 to get 311.
Take the next digit (8) from the dividend and append it to 311, then repeat: 3118 / 561

Let's proceed to step 7:
The number 561 fits into 3118 5 times, leaving a remainder of 313.
Write down 5 as next digit of the result. 
Result so far: 3185.0
Deduct 2805 from 3118 and we're left with 313.
Bring next digit (3) of the dividend behind the 313 and repeat the process: 3133 / 561

Going ahead to step 8:
561 can be fit into 3133 5 times, resulting in a remainder of 328.
Use 5 as the next digit of our solution. 
Result so far: 31855.0
If we take 2805 away from 3133, we end up with 328.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3280, and continue the process.

Advancing to step 9:
When dividing 3280 by 561, we get 5 with a remainder of 475.
Put 5 as the next digit of the answer. 
Result so far: 31855.5
The remainder is 475 after subtracting 2805 from 3280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4750, and continue the process.

Going ahead to step 10:
If we divide 4750 by 561, we get 8 and a remainder of 262.
Write down 8 as next digit of the result. 
Result so far: 31855.58
Subtract 4488 from 4750 to get 262.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2620, and continue the process.

On to step 11:
561 goes into 2620 4 times with a remainder of 376.
Write down 4 as next digit of the result. 
Result so far: 31855.584
The remainder is 376 after subtracting 2244 from 2620.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3760, and continue the process.

Moving on to step 12:
561 can be fit into 3760 6 times, resulting in a remainder of 394.
Put 6 as the next digit of the answer. 
Result so far: 31855.5846
Deduct 3366 from 3760 and we're left with 394.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3940, and continue the process.

Going ahead to step 13:
561 goes into 3940 7 times with a remainder of 13.
Put 7 as the next digit of the answer. 
Result so far: 31855.58467
If we take 3927 away from 3940, we end up with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Let's proceed to step 14:
561 can be fit into 130 0 times, resulting in a remainder of 130.
Record the quotient 0 as the next digit in the result. 
Result so far: 31855.58467
If we subtract 0 from 130, we get 130.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1300, and continue the process.

Step 15:
The number 561 fits into 1300 2 times, leaving a remainder of 178.
Write down 2 as next digit of the result. 
Result so far: 31855.5846702
Deduct 1122 from 1300 and we're left with 178.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1780, and continue the process.

Advancing to step 16:
When dividing 1780 by 561, we get 3 with a remainder of 97.
Put 3 as the next digit of the answer. 
Result so far: 31855.58467023
Deduct 1683 from 1780 and we're left with 97.
Since there are no more digits in the dividend, we add a zero to the remainder making it 970, and continue the process.

In conclusion, the division gives 31855.58467023 with a balance of 9.7e-08.