12638371 ÷ 782 
We're looking to find how many times 782 goes into 12638371.

Moving on to step 1:
When dividing 1 by 782, we get 0 with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Take the next digit (2) from the dividend and append it to 1, then repeat: 12 / 782

Going ahead to step 2:
782 can be fit into 12 0 times, resulting in a remainder of 12.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 12, we end up with 12.
Bring next digit (6) of the dividend behind the 12 and repeat the process: 126 / 782

On to step 3:
126 divided by 782 is 0 with a remainder of 126.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 126, we get 126.
Include the next digit (3) from the dividend after 126, then repeat: 1263 / 782

On to step 4:
The number 782 fits into 1263 1 times, leaving a remainder of 481.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Deduct 782 from 1263 and we're left with 481.
Bring next digit (8) of the dividend behind the 481 and repeat the process: 4818 / 782

Going ahead to step 5:
When dividing 4818 by 782, we get 6 with a remainder of 126.
The number 6 becomes the next digit in our result. 
Result so far: 16.0
Deduct 4692 from 4818 and we're left with 126.
Fetch the next digit (3) from the dividend, attach it to 126 and continue: 1263 / 782

Let's proceed to step 6:
782 can be fit into 1263 1 times, resulting in a remainder of 481.
Write down 1 as next digit of the result. 
Result so far: 161.0
If we take 782 away from 1263, we end up with 481.
Fetch the next digit (7) from the dividend, attach it to 481 and continue: 4817 / 782

Moving on to step 7:
If we divide 4817 by 782, we get 6 and a remainder of 125.
Record the quotient 6 as the next digit in the result. 
Result so far: 1616.0
If we take 4692 away from 4817, we end up with 125.
Fetch the next digit (1) from the dividend, attach it to 125 and continue: 1251 / 782

Advancing to step 8:
782 can be fit into 1251 1 times, resulting in a remainder of 469.
Record the quotient 1 as the next digit in the result. 
Result so far: 16161.0
Subtracting 782 from 1251 leaves us with 469.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4690, and continue the process.

Moving on to step 9:
782 can be fit into 4690 5 times, resulting in a remainder of 780.
Use 5 as the next digit of our solution. 
Result so far: 16161.5
Subtracting 3910 from 4690 leaves us with 780.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7800, and continue the process.

Going ahead to step 10:
7800 divided by 782 is 9 with a remainder of 762.
The number 9 becomes the next digit in our result. 
Result so far: 16161.59
The remainder is 762 after subtracting 7038 from 7800.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7620, and continue the process.

Step 11:
782 can be fit into 7620 9 times, resulting in a remainder of 582.
Use 9 as the next digit of our solution. 
Result so far: 16161.599
Subtracting 7038 from 7620 leaves us with 582.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5820, and continue the process.

After the division, we end up with 16161.599 and a remainder of 0.0582.