Let's divide 21147942 by 512
We want to figure out the number of times 21147942 can be divided by 512.

Let's proceed to step 1:
2 divided by 512 is 0 with a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 2 and we're left with 2.
Grab the next digit (1) from the dividend, add it to 2, then carry on: 21 / 512

Advancing to step 2:
512 can be fit into 21 0 times, resulting in a remainder of 21.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 21, we get 21.
Bring next digit (1) of the dividend behind the 21 and repeat the process: 211 / 512

Step 3:
512 goes into 211 0 times with a remainder of 211.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 211 leaves us with 211.
Take the next digit (4) from the dividend and append it to 211, then repeat: 2114 / 512

Going ahead to step 4:
If we divide 2114 by 512, we get 4 and a remainder of 66.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
If we subtract 2048 from 2114, we get 66.
Include the next digit (7) from the dividend after 66, then repeat: 667 / 512

Step 5:
512 can be fit into 667 1 times, resulting in a remainder of 155.
Put 1 as the next digit of the answer. 
Result so far: 41.0
Subtracting 512 from 667 leaves us with 155.
Bring next digit (9) of the dividend behind the 155 and repeat the process: 1559 / 512

On to step 6:
512 can be fit into 1559 3 times, resulting in a remainder of 23.
Use 3 as the next digit of our solution. 
Result so far: 413.0
If we subtract 1536 from 1559, we get 23.
Append the next digit (4) from the dividend to 23 and continue with: 234 / 512

Going ahead to step 7:
The number 512 fits into 234 0 times, leaving a remainder of 234.
Record the quotient 0 as the next digit in the result. 
Result so far: 4130.0
Subtract 0 from 234 to get 234.
Grab the next digit (2) from the dividend, add it to 234, then carry on: 2342 / 512

Advancing to step 8:
512 goes into 2342 4 times with a remainder of 294.
Use 4 as the next digit of our solution. 
Result so far: 41304.0
The remainder is 294 after subtracting 2048 from 2342.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2940, and continue the process.

Step 9:
512 can be fit into 2940 5 times, resulting in a remainder of 380.
The next digit of our result is 5. 
Result so far: 41304.5
If we subtract 2560 from 2940, we get 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3800, and continue the process.

On to step 10:
512 can be fit into 3800 7 times, resulting in a remainder of 216.
The next digit of our result is 7. 
Result so far: 41304.57
If we subtract 3584 from 3800, we get 216.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2160, and continue the process.

Let's proceed to step 11:
512 can be fit into 2160 4 times, resulting in a remainder of 112.
The number 4 becomes the next digit in our result. 
Result so far: 41304.574
Subtracting 2048 from 2160 leaves us with 112.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1120, and continue the process.

Going ahead to step 12:
512 goes into 1120 2 times with a remainder of 96.
Write down 2 as next digit of the result. 
Result so far: 41304.5742
Subtracting 1024 from 1120 leaves us with 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

On to step 13:
If we divide 960 by 512, we get 1 and a remainder of 448.
Put 1 as the next digit of the answer. 
Result so far: 41304.57421
If we take 512 away from 960, we end up with 448.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4480, and continue the process.

Moving on to step 14:
512 goes into 4480 8 times with a remainder of 384.
Use 8 as the next digit of our solution. 
Result so far: 41304.574218
Deduct 4096 from 4480 and we're left with 384.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3840, and continue the process.

On to step 15:
512 goes into 3840 7 times with a remainder of 256.
The number 7 becomes the next digit in our result. 
Result so far: 41304.5742187
If we take 3584 away from 3840, we end up with 256.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2560, and continue the process.

Advancing to step 16:
The number 512 fits into 2560 5 times, leaving a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 41304.57421875
If we take 2560 away from 2560, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The quotient of the division is 41304.57421875, and the remainder is 0.0.