We divide 25115172 by 40
Let's see how many times 40 fits into 25115172.

Moving on to step 1:
If we divide 2 by 40, we get 0 and a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 2 leaves us with 2.
Include the next digit (5) from the dividend after 2, then repeat: 25 / 40

Advancing to step 2:
40 can be fit into 25 0 times, resulting in a remainder of 25.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 25 and we're left with 25.
Append the next digit (1) from the dividend to 25 and continue with: 251 / 40

Going ahead to step 3:
If we divide 251 by 40, we get 6 and a remainder of 11.
The next digit of our result is 6. 
Result so far: 6.0
If we take 240 away from 251, we end up with 11.
Take the next digit (1) from the dividend and append it to 11, then repeat: 111 / 40

Step 4:
40 goes into 111 2 times with a remainder of 31.
Write down 2 as next digit of the result. 
Result so far: 62.0
Deduct 80 from 111 and we're left with 31.
Grab the next digit (5) from the dividend, add it to 31, then carry on: 315 / 40

Moving on to step 5:
If we divide 315 by 40, we get 7 and a remainder of 35.
Use 7 as the next digit of our solution. 
Result so far: 627.0
Subtracting 280 from 315 leaves us with 35.
Append the next digit (1) from the dividend to 35 and continue with: 351 / 40

Let's proceed to step 6:
351 divided by 40 is 8 with a remainder of 31.
Write down 8 as next digit of the result. 
Result so far: 6278.0
Deduct 320 from 351 and we're left with 31.
Take the next digit (7) from the dividend and append it to 31, then repeat: 317 / 40

Let's proceed to step 7:
40 can be fit into 317 7 times, resulting in a remainder of 37.
Record the quotient 7 as the next digit in the result. 
Result so far: 62787.0
Subtracting 280 from 317 leaves us with 37.
Include the next digit (2) from the dividend after 37, then repeat: 372 / 40

Going ahead to step 8:
The number 40 fits into 372 9 times, leaving a remainder of 12.
Write down 9 as next digit of the result. 
Result so far: 627879.0
Subtract 360 from 372 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 9:
120 divided by 40 is 3 with a remainder of 0.
The number 3 becomes the next digit in our result. 
Result so far: 627879.3
If we take 120 away from 120, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 10:
0 divided by 40 is 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 627879.3
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 11:
The number 40 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 627879.3
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The quotient of the division is 627879.3, and the remainder is 0.0.