We look at the division of 25717158 by 507 
Our goal is to divide 25717158 by 507.

Moving on to step 1:
If we divide 2 by 507, we get 0 and a remainder of 2.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Include the next digit (5) from the dividend after 2, then repeat: 25 / 507

On to step 2:
507 goes into 25 0 times with a remainder of 25.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 25, we get 25.
Append the next digit (7) from the dividend to 25 and continue with: 257 / 507

Step 3:
When dividing 257 by 507, we get 0 with a remainder of 257.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 257 after subtracting 0 from 257.
Include the next digit (1) from the dividend after 257, then repeat: 2571 / 507

Going ahead to step 4:
When dividing 2571 by 507, we get 5 with a remainder of 36.
Put 5 as the next digit of the answer. 
Result so far: 5.0
Subtracting 2535 from 2571 leaves us with 36.
Include the next digit (7) from the dividend after 36, then repeat: 367 / 507

Going ahead to step 5:
When dividing 367 by 507, we get 0 with a remainder of 367.
Write down 0 as next digit of the result. 
Result so far: 50.0
Subtract 0 from 367 to get 367.
Fetch the next digit (1) from the dividend, attach it to 367 and continue: 3671 / 507

Moving on to step 6:
If we divide 3671 by 507, we get 7 and a remainder of 122.
The number 7 becomes the next digit in our result. 
Result so far: 507.0
The remainder is 122 after subtracting 3549 from 3671.
Fetch the next digit (5) from the dividend, attach it to 122 and continue: 1225 / 507

Step 7:
If we divide 1225 by 507, we get 2 and a remainder of 211.
Record the quotient 2 as the next digit in the result. 
Result so far: 5072.0
Subtracting 1014 from 1225 leaves us with 211.
Append the next digit (8) from the dividend to 211 and continue with: 2118 / 507

Moving on to step 8:
If we divide 2118 by 507, we get 4 and a remainder of 90.
Put 4 as the next digit of the answer. 
Result so far: 50724.0
If we take 2028 away from 2118, we end up with 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 900, and continue the process.

Advancing to step 9:
If we divide 900 by 507, we get 1 and a remainder of 393.
Put 1 as the next digit of the answer. 
Result so far: 50724.1
If we subtract 507 from 900, we get 393.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3930, and continue the process.

Moving on to step 10:
If we divide 3930 by 507, we get 7 and a remainder of 381.
Use 7 as the next digit of our solution. 
Result so far: 50724.17
The remainder is 381 after subtracting 3549 from 3930.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3810, and continue the process.

Step 11:
507 can be fit into 3810 7 times, resulting in a remainder of 261.
Write down 7 as next digit of the result. 
Result so far: 50724.177
Deduct 3549 from 3810 and we're left with 261.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2610, and continue the process.

Our division results in 50724.177 with a remaining 0.0261.