Let's divide 39917039 by 511
Let's see how many times 511 fits into 39917039.

Going ahead to step 1:
3 divided by 511 is 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Bring next digit (9) of the dividend behind the 3 and repeat the process: 39 / 511

Advancing to step 2:
511 goes into 39 0 times with a remainder of 39.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 39, we end up with 39.
Take the next digit (9) from the dividend and append it to 39, then repeat: 399 / 511

Advancing to step 3:
When dividing 399 by 511, we get 0 with a remainder of 399.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 399, we get 399.
Fetch the next digit (1) from the dividend, attach it to 399 and continue: 3991 / 511

Let's proceed to step 4:
3991 divided by 511 is 7 with a remainder of 414.
Write down 7 as next digit of the result. 
Result so far: 7.0
Subtract 3577 from 3991 to get 414.
Include the next digit (7) from the dividend after 414, then repeat: 4147 / 511

Going ahead to step 5:
4147 divided by 511 is 8 with a remainder of 59.
Put 8 as the next digit of the answer. 
Result so far: 78.0
The remainder is 59 after subtracting 4088 from 4147.
Take the next digit (0) from the dividend and append it to 59, then repeat: 590 / 511

Going ahead to step 6:
If we divide 590 by 511, we get 1 and a remainder of 79.
The next digit of our result is 1. 
Result so far: 781.0
Subtracting 511 from 590 leaves us with 79.
Take the next digit (3) from the dividend and append it to 79, then repeat: 793 / 511

Step 7:
511 can be fit into 793 1 times, resulting in a remainder of 282.
Record the quotient 1 as the next digit in the result. 
Result so far: 7811.0
Deduct 511 from 793 and we're left with 282.
Grab the next digit (9) from the dividend, add it to 282, then carry on: 2829 / 511

Let's proceed to step 8:
If we divide 2829 by 511, we get 5 and a remainder of 274.
Use 5 as the next digit of our solution. 
Result so far: 78115.0
If we take 2555 away from 2829, we end up with 274.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2740, and continue the process.

Advancing to step 9:
When dividing 2740 by 511, we get 5 with a remainder of 185.
Put 5 as the next digit of the answer. 
Result so far: 78115.5
Deduct 2555 from 2740 and we're left 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.

Let's proceed to step 10:
1850 divided by 511 is 3 with a remainder of 317.
The next digit of our result is 3. 
Result so far: 78115.53
If we take 1533 away from 1850, we end up with 317.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3170, and continue the process.

Moving on to step 11:
When dividing 3170 by 511, we get 6 with a remainder of 104.
The next digit of our result is 6. 
Result so far: 78115.536
Deduct 3066 from 3170 and we're left with 104.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1040, and continue the process.

Going ahead to step 12:
If we divide 1040 by 511, we get 2 and a remainder of 18.
The next digit of our result is 2. 
Result so far: 78115.5362
Subtracting 1022 from 1040 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

On to step 13:
511 can be fit into 180 0 times, resulting in a remainder of 180.
The number 0 becomes the next digit in our result. 
Result so far: 78115.5362
If we subtract 0 from 180, we get 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1800, and continue the process.

Going ahead to step 14:
The number 511 fits into 1800 3 times, leaving a remainder of 267.
Write down 3 as next digit of the result. 
Result so far: 78115.536203
Deduct 1533 from 1800 and we're left with 267.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2670, and continue the process.

Moving on to step 15:
511 can be fit into 2670 5 times, resulting in a remainder of 115.
The number 5 becomes the next digit in our result. 
Result so far: 78115.5362035
Subtracting 2555 from 2670 leaves us with 115.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1150, and continue the process.

Step 16:
1150 divided by 511 is 2 with a remainder of 128.
The number 2 becomes the next digit in our result. 
Result so far: 78115.53620352
The remainder is 128 after subtracting 1022 from 1150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1280, and continue the process.

The quotient of the division is 78115.53620352, and the remainder is 1.28e-07.