We look at the division of 25151506 by 997 
Let's see how many times 997 fits into 25151506.

Step 1:
997 can be fit into 2 0 times, resulting in a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 2, we get 2.
Fetch the next digit (5) from the dividend, attach it to 2 and continue: 25 / 997

On to step 2:
997 goes into 25 0 times with a remainder of 25.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 25 and we're left with 25.
Fetch the next digit (1) from the dividend, attach it to 25 and continue: 251 / 997

Step 3:
997 can be fit into 251 0 times, resulting in a remainder of 251.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 251 and we're left with 251.
Grab the next digit (5) from the dividend, add it to 251, then carry on: 2515 / 997

Step 4:
When dividing 2515 by 997, we get 2 with a remainder of 521.
The next digit of our result is 2. 
Result so far: 2.0
If we take 1994 away from 2515, we end up with 521.
Take the next digit (1) from the dividend and append it to 521, then repeat: 5211 / 997

Let's proceed to step 5:
997 can be fit into 5211 5 times, resulting in a remainder of 226.
Put 5 as the next digit of the answer. 
Result so far: 25.0
Deduct 4985 from 5211 and we're left with 226.
Grab the next digit (5) from the dividend, add it to 226, then carry on: 2265 / 997

On to step 6:
The number 997 fits into 2265 2 times, leaving a remainder of 271.
Record the quotient 2 as the next digit in the result. 
Result so far: 252.0
The remainder is 271 after subtracting 1994 from 2265.
Bring next digit (0) of the dividend behind the 271 and repeat the process: 2710 / 997

Advancing to step 7:
If we divide 2710 by 997, we get 2 and a remainder of 716.
Write down 2 as next digit of the result. 
Result so far: 2522.0
Subtract 1994 from 2710 to get 716.
Grab the next digit (6) from the dividend, add it to 716, then carry on: 7166 / 997

Going ahead to step 8:
When dividing 7166 by 997, we get 7 with a remainder of 187.
Record the quotient 7 as the next digit in the result. 
Result so far: 25227.0
If we take 6979 away from 7166, we end up with 187.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1870, and continue the process.

Step 9:
The number 997 fits into 1870 1 times, leaving a remainder of 873.
Record the quotient 1 as the next digit in the result. 
Result so far: 25227.1
Subtracting 997 from 1870 leaves us with 873.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8730, and continue the process.

Going ahead to step 10:
When dividing 8730 by 997, we get 8 with a remainder of 754.
Write down 8 as next digit of the result. 
Result so far: 25227.18
If we subtract 7976 from 8730, we get 754.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7540, and continue the process.

Moving on to step 11:
7540 divided by 997 is 7 with a remainder of 561.
Write down 7 as next digit of the result. 
Result so far: 25227.187
If we take 6979 away from 7540, we end up with 561.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5610, and continue the process.

Let's proceed to step 12:
5610 divided by 997 is 5 with a remainder of 625.
The next digit of our result is 5. 
Result so far: 25227.1875
The remainder is 625 after subtracting 4985 from 5610.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6250, and continue the process.

Advancing to step 13:
997 goes into 6250 6 times with a remainder of 268.
The number 6 becomes the next digit in our result. 
Result so far: 25227.18756
Deduct 5982 from 6250 and we're left with 268.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2680, and continue the process.

On to step 14:
When dividing 2680 by 997, we get 2 with a remainder of 686.
Write down 2 as next digit of the result. 
Result so far: 25227.187562
Subtracting 1994 from 2680 leaves us with 686.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6860, and continue the process.

Advancing to step 15:
The number 997 fits into 6860 6 times, leaving a remainder of 878.
The next digit of our result is 6. 
Result so far: 25227.1875626
The remainder is 878 after subtracting 5982 from 6860.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8780, and continue the process.

Moving on to step 16:
997 goes into 8780 8 times with a remainder of 804.
The next digit of our result is 8. 
Result so far: 25227.18756268
If we subtract 7976 from 8780, we get 804.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8040, and continue the process.

After the division, we end up with 25227.18756268 and a remainder of 8.04e-07.