We're dividing 561007 by 21 
The aim is to understand the frequency of 21 in 561007.

On to step 1:
The number 21 fits into 5 0 times, leaving a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Fetch the next digit (6) from the dividend, attach it to 5 and continue: 56 / 21

Let's proceed to step 2:
21 can be fit into 56 2 times, resulting in a remainder of 14.
The next digit of our result is 2. 
Result so far: 2.0
The remainder is 14 after subtracting 42 from 56.
Append the next digit (1) from the dividend to 14 and continue with: 141 / 21

Let's proceed to step 3:
141 divided by 21 is 6 with a remainder of 15.
The number 6 becomes the next digit in our result. 
Result so far: 26.0
If we subtract 126 from 141, we get 15.
Fetch the next digit (0) from the dividend, attach it to 15 and continue: 150 / 21

Advancing to step 4:
21 goes into 150 7 times with a remainder of 3.
The number 7 becomes the next digit in our result. 
Result so far: 267.0
Deduct 147 from 150 and we're left with 3.
Include the next digit (0) from the dividend after 3, then repeat: 30 / 21

Let's proceed to step 5:
30 divided by 21 is 1 with a remainder of 9.
Use 1 as the next digit of our solution. 
Result so far: 2671.0
Deduct 21 from 30 and we're left with 9.
Take the next digit (7) from the dividend and append it to 9, then repeat: 97 / 21

On to step 6:
When dividing 97 by 21, we get 4 with a remainder of 13.
Record the quotient 4 as the next digit in the result. 
Result so far: 26714.0
If we subtract 84 from 97, we get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Advancing to step 7:
21 can be fit into 130 6 times, resulting in a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 26714.6
Subtracting 126 from 130 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 8:
40 divided by 21 is 1 with a remainder of 19.
Use 1 as the next digit of our solution. 
Result so far: 26714.61
Subtracting 21 from 40 leaves us with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

On to step 9:
When dividing 190 by 21, we get 9 with a remainder of 1.
The number 9 becomes the next digit in our result. 
Result so far: 26714.619
If we take 189 away from 190, we end up with 1.
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 10:
21 can be fit into 10 0 times, resulting in a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 26714.619
Subtract 0 from 10 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 11:
The number 21 fits into 100 4 times, leaving a remainder of 16.
Record the quotient 4 as the next digit in the result. 
Result so far: 26714.61904
If we take 84 away from 100, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 12:
21 goes into 160 7 times with a remainder of 13.
The next digit of our result is 7. 
Result so far: 26714.619047
If we subtract 147 from 160, we get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Step 13:
130 divided by 21 is 6 with a remainder of 4.
The next digit of our result is 6. 
Result so far: 26714.6190476
If we subtract 126 from 130, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 14:
If we divide 40 by 21, we get 1 and a remainder of 19.
Use 1 as the next digit of our solution. 
Result so far: 26714.61904761
If we subtract 21 from 40, we get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

The quotient of the division is 26714.61904761, and the remainder is 1.9e-08.