Let's divide 42161705 by 509
We want to divide 42161705 by 509.

Moving on to step 1:
If we divide 4 by 509, we get 0 and a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Grab the next digit (2) from the dividend, add it to 4, then carry on: 42 / 509

Advancing to step 2:
509 can be fit into 42 0 times, resulting in a remainder of 42.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 42 after subtracting 0 from 42.
Append the next digit (1) from the dividend to 42 and continue with: 421 / 509

Let's proceed to step 3:
When dividing 421 by 509, we get 0 with a remainder of 421.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 421 and we're left with 421.
Grab the next digit (6) from the dividend, add it to 421, then carry on: 4216 / 509

Moving on to step 4:
509 can be fit into 4216 8 times, resulting in a remainder of 144.
Use 8 as the next digit of our solution. 
Result so far: 8.0
If we subtract 4072 from 4216, we get 144.
Fetch the next digit (1) from the dividend, attach it to 144 and continue: 1441 / 509

On to step 5:
509 goes into 1441 2 times with a remainder of 423.
Record the quotient 2 as the next digit in the result. 
Result so far: 82.0
The remainder is 423 after subtracting 1018 from 1441.
Fetch the next digit (7) from the dividend, attach it to 423 and continue: 4237 / 509

Going ahead to step 6:
If we divide 4237 by 509, we get 8 and a remainder of 165.
Put 8 as the next digit of the answer. 
Result so far: 828.0
Subtract 4072 from 4237 to get 165.
Include the next digit (0) from the dividend after 165, then repeat: 1650 / 509

On to step 7:
509 can be fit into 1650 3 times, resulting in a remainder of 123.
The next digit of our result is 3. 
Result so far: 8283.0
Subtracting 1527 from 1650 leaves us with 123.
Include the next digit (5) from the dividend after 123, then repeat: 1235 / 509

Moving on to step 8:
When dividing 1235 by 509, we get 2 with a remainder of 217.
Write down 2 as next digit of the result. 
Result so far: 82832.0
Subtracting 1018 from 1235 leaves us with 217.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2170, and continue the process.

On to step 9:
When dividing 2170 by 509, we get 4 with a remainder of 134.
Put 4 as the next digit of the answer. 
Result so far: 82832.4
If we take 2036 away from 2170, we end up with 134.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1340, and continue the process.

Step 10:
509 goes into 1340 2 times with a remainder of 322.
The number 2 becomes the next digit in our result. 
Result so far: 82832.42
Subtract 1018 from 1340 to get 322.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3220, and continue the process.

On to step 11:
The number 509 fits into 3220 6 times, leaving a remainder of 166.
Write down 6 as next digit of the result. 
Result so far: 82832.426
If we take 3054 away from 3220, we end up with 166.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1660, and continue the process.

Going ahead to step 12:
1660 divided by 509 is 3 with a remainder of 133.
The next digit of our result is 3. 
Result so far: 82832.4263
Deduct 1527 from 1660 and we're left with 133.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1330, and continue the process.

Going ahead to step 13:
509 can be fit into 1330 2 times, resulting in a remainder of 312.
Put 2 as the next digit of the answer. 
Result so far: 82832.42632
If we subtract 1018 from 1330, we get 312.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3120, and continue the process.

On to step 14:
3120 divided by 509 is 6 with a remainder of 66.
Put 6 as the next digit of the answer. 
Result so far: 82832.426326
Subtracting 3054 from 3120 leaves us with 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Advancing to step 15:
509 goes into 660 1 times with a remainder of 151.
Write down 1 as next digit of the result. 
Result so far: 82832.4263261
The remainder is 151 after subtracting 509 from 660.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1510, and continue the process.

Step 16:
If we divide 1510 by 509, we get 2 and a remainder of 492.
Use 2 as the next digit of our solution. 
Result so far: 82832.42632612
Subtracting 1018 from 1510 leaves us with 492.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4920, and continue the process.

The final result is 82832.42632612 with a remainder of 4.92e-07.