We're dividing 15971781 by 511 
We want to divide 15971781 by 511.

Advancing to step 1:
1 divided by 511 is 0 with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Fetch the next digit (5) from the dividend, attach it to 1 and continue: 15 / 511

Moving on to step 2:
511 goes into 15 0 times with a remainder of 15.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 15 after subtracting 0 from 15.
Fetch the next digit (9) from the dividend, attach it to 15 and continue: 159 / 511

Going ahead to step 3:
If we divide 159 by 511, we get 0 and a remainder of 159.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 159 after subtracting 0 from 159.
Grab the next digit (7) from the dividend, add it to 159, then carry on: 1597 / 511

Moving on to step 4:
511 can be fit into 1597 3 times, resulting in a remainder of 64.
Use 3 as the next digit of our solution. 
Result so far: 3.0
The remainder is 64 after subtracting 1533 from 1597.
Append the next digit (1) from the dividend to 64 and continue with: 641 / 511

Moving on to step 5:
If we divide 641 by 511, we get 1 and a remainder of 130.
Use 1 as the next digit of our solution. 
Result so far: 31.0
Deduct 511 from 641 and we're left with 130.
Take the next digit (7) from the dividend and append it to 130, then repeat: 1307 / 511

Let's proceed to step 6:
When dividing 1307 by 511, we get 2 with a remainder of 285.
Record the quotient 2 as the next digit in the result. 
Result so far: 312.0
If we subtract 1022 from 1307, we get 285.
Append the next digit (8) from the dividend to 285 and continue with: 2858 / 511

On to step 7:
511 can be fit into 2858 5 times, resulting in a remainder of 303.
The next digit of our result is 5. 
Result so far: 3125.0
Subtracting 2555 from 2858 leaves us with 303.
Grab the next digit (1) from the dividend, add it to 303, then carry on: 3031 / 511

Going ahead to step 8:
511 can be fit into 3031 5 times, resulting in a remainder of 476.
Use 5 as the next digit of our solution. 
Result so far: 31255.0
Deduct 2555 from 3031 and we're left with 476.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4760, and continue the process.

Advancing to step 9:
If we divide 4760 by 511, we get 9 and a remainder of 161.
Write down 9 as next digit of the result. 
Result so far: 31255.9
Subtracting 4599 from 4760 leaves us with 161.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1610, and continue the process.

Advancing to step 10:
The number 511 fits into 1610 3 times, leaving a remainder of 77.
The next digit of our result is 3. 
Result so far: 31255.93
The remainder is 77 after subtracting 1533 from 1610.
Since there are no more digits in the dividend, we add a zero to the remainder making it 770, and continue the process.

Going ahead to step 11:
If we divide 770 by 511, we get 1 and a remainder of 259.
Put 1 as the next digit of the answer. 
Result so far: 31255.931
The remainder is 259 after subtracting 511 from 770.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2590, and continue the process.

Step 12:
When dividing 2590 by 511, we get 5 with a remainder of 35.
Put 5 as the next digit of the answer. 
Result so far: 31255.9315
Subtracting 2555 from 2590 leaves us with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Advancing to step 13:
511 can be fit into 350 0 times, resulting in a remainder of 350.
Put 0 as the next digit of the answer. 
Result so far: 31255.9315
If we subtract 0 from 350, we get 350.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3500, and continue the process.

Step 14:
511 can be fit into 3500 6 times, resulting in a remainder of 434.
Write down 6 as next digit of the result. 
Result so far: 31255.931506
If we subtract 3066 from 3500, we get 434.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4340, and continue the process.

Advancing to step 15:
If we divide 4340 by 511, we get 8 and a remainder of 252.
The next digit of our result is 8. 
Result so far: 31255.9315068
The remainder is 252 after subtracting 4088 from 4340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2520, and continue the process.

On to step 16:
If we divide 2520 by 511, we get 4 and a remainder of 476.
The number 4 becomes the next digit in our result. 
Result so far: 31255.93150684
Subtracting 2044 from 2520 leaves us with 476.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4760, and continue the process.

After the division, we end up with 31255.93150684 and a remainder of 4.76e-07.