We're dividing 38768959 by 506 
We want to divide 38768959 by 506.

Going ahead to step 1:
If we divide 3 by 506, we get 0 and a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Grab the next digit (8) from the dividend, add it to 3, then carry on: 38 / 506

On to step 2:
When dividing 38 by 506, we get 0 with a remainder of 38.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 38 to get 38.
Fetch the next digit (7) from the dividend, attach it to 38 and continue: 387 / 506

On to step 3:
387 divided by 506 is 0 with a remainder of 387.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 387, we end up with 387.
Grab the next digit (6) from the dividend, add it to 387, then carry on: 3876 / 506

Step 4:
506 can be fit into 3876 7 times, resulting in a remainder of 334.
Write down 7 as next digit of the result. 
Result so far: 7.0
The remainder is 334 after subtracting 3542 from 3876.
Bring next digit (8) of the dividend behind the 334 and repeat the process: 3348 / 506

Let's proceed to step 5:
If we divide 3348 by 506, we get 6 and a remainder of 312.
The number 6 becomes the next digit in our result. 
Result so far: 76.0
If we take 3036 away from 3348, we end up with 312.
Take the next digit (9) from the dividend and append it to 312, then repeat: 3129 / 506

Advancing to step 6:
506 can be fit into 3129 6 times, resulting in a remainder of 93.
The number 6 becomes the next digit in our result. 
Result so far: 766.0
The remainder is 93 after subtracting 3036 from 3129.
Append the next digit (5) from the dividend to 93 and continue with: 935 / 506

Step 7:
When dividing 935 by 506, we get 1 with a remainder of 429.
Write down 1 as next digit of the result. 
Result so far: 7661.0
Subtracting 506 from 935 leaves us with 429.
Take the next digit (9) from the dividend and append it to 429, then repeat: 4299 / 506

On to step 8:
If we divide 4299 by 506, we get 8 and a remainder of 251.
Put 8 as the next digit of the answer. 
Result so far: 76618.0
Subtracting 4048 from 4299 leaves us with 251.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2510, and continue the process.

Going ahead to step 9:
506 can be fit into 2510 4 times, resulting in a remainder of 486.
Write down 4 as next digit of the result. 
Result so far: 76618.4
Subtract 2024 from 2510 to get 486.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4860, and continue the process.

Let's proceed to step 10:
The number 506 fits into 4860 9 times, leaving a remainder of 306.
Record the quotient 9 as the next digit in the result. 
Result so far: 76618.49
Subtract 4554 from 4860 to get 306.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3060, and continue the process.

Let's proceed to step 11:
3060 divided by 506 is 6 with a remainder of 24.
Put 6 as the next digit of the answer. 
Result so far: 76618.496
Deduct 3036 from 3060 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Advancing to step 12:
506 goes into 240 0 times with a remainder of 240.
Use 0 as the next digit of our solution. 
Result so far: 76618.496
The remainder is 240 after subtracting 0 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2400, and continue the process.

Let's proceed to step 13:
The number 506 fits into 2400 4 times, leaving a remainder of 376.
The number 4 becomes the next digit in our result. 
Result so far: 76618.49604
Subtract 2024 from 2400 to get 376.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3760, and continue the process.

Advancing to step 14:
506 goes into 3760 7 times with a remainder of 218.
The number 7 becomes the next digit in our result. 
Result so far: 76618.496047
Subtracting 3542 from 3760 leaves us with 218.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2180, and continue the process.

Step 15:
The number 506 fits into 2180 4 times, leaving a remainder of 156.
Write down 4 as next digit of the result. 
Result so far: 76618.4960474
Subtracting 2024 from 2180 leaves us with 156.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1560, and continue the process.

Going ahead to step 16:
506 goes into 1560 3 times with a remainder of 42.
Put 3 as the next digit of the answer. 
Result so far: 76618.49604743
Subtract 1518 from 1560 to get 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

The final outcome is 76618.49604743, with a leftover of 4.2e-08.