25667979 divided by 642 
We want to divide 25667979 by 642.

Going ahead to step 1:
If we divide 2 by 642, we get 0 and a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 2 and we're left with 2.
Bring next digit (5) of the dividend behind the 2 and repeat the process: 25 / 642

Let's proceed to step 2:
642 can be fit into 25 0 times, resulting in a remainder of 25.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 25 leaves us with 25.
Grab the next digit (6) from the dividend, add it to 25, then carry on: 256 / 642

Moving on to step 3:
642 goes into 256 0 times with a remainder of 256.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 256 and we're left with 256.
Append the next digit (6) from the dividend to 256 and continue with: 2566 / 642

On to step 4:
The number 642 fits into 2566 3 times, leaving a remainder of 640.
Use 3 as the next digit of our solution. 
Result so far: 3.0
The remainder is 640 after subtracting 1926 from 2566.
Append the next digit (7) from the dividend to 640 and continue with: 6407 / 642

Moving on to step 5:
If we divide 6407 by 642, we get 9 and a remainder of 629.
Use 9 as the next digit of our solution. 
Result so far: 39.0
Deduct 5778 from 6407 and we're left with 629.
Grab the next digit (9) from the dividend, add it to 629, then carry on: 6299 / 642

Going ahead to step 6:
If we divide 6299 by 642, we get 9 and a remainder of 521.
Use 9 as the next digit of our solution. 
Result so far: 399.0
Deduct 5778 from 6299 and we're left with 521.
Grab the next digit (7) from the dividend, add it to 521, then carry on: 5217 / 642

On to step 7:
5217 divided by 642 is 8 with a remainder of 81.
Write down 8 as next digit of the result. 
Result so far: 3998.0
Subtracting 5136 from 5217 leaves us with 81.
Include the next digit (9) from the dividend after 81, then repeat: 819 / 642

Going ahead to step 8:
The number 642 fits into 819 1 times, leaving a remainder of 177.
The next digit of our result is 1. 
Result so far: 39981.0
Subtracting 642 from 819 leaves us with 177.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1770, and continue the process.

Advancing to step 9:
If we divide 1770 by 642, we get 2 and a remainder of 486.
Use 2 as the next digit of our solution. 
Result so far: 39981.2
Subtracting 1284 from 1770 leaves us with 486.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4860, and continue the process.

On to step 10:
4860 divided by 642 is 7 with a remainder of 366.
The next digit of our result is 7. 
Result so far: 39981.27
Subtracting 4494 from 4860 leaves us with 366.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3660, and continue the process.

Let's proceed to step 11:
642 can be fit into 3660 5 times, resulting in a remainder of 450.
Put 5 as the next digit of the answer. 
Result so far: 39981.275
The remainder is 450 after subtracting 3210 from 3660.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4500, and continue the process.

Let's proceed to step 12:
642 goes into 4500 7 times with a remainder of 6.
The next digit of our result is 7. 
Result so far: 39981.2757
The remainder is 6 after subtracting 4494 from 4500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Let's proceed to step 13:
642 goes into 60 0 times with a remainder of 60.
Use 0 as the next digit of our solution. 
Result so far: 39981.2757
The remainder is 60 after subtracting 0 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

On to step 14:
The number 642 fits into 600 0 times, leaving a remainder of 600.
Use 0 as the next digit of our solution. 
Result so far: 39981.2757
Deduct 0 from 600 and we're left with 600.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6000, and continue the process.

The final result is 39981.2757 with a remainder of 6e-05.