4036518 ÷ 157 
We're looking to find how many times 157 goes into 4036518.

Advancing to step 1:
If we divide 4 by 157, we get 0 and a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 157

Going ahead to step 2:
The number 157 fits into 40 0 times, leaving a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Take the next digit (3) from the dividend and append it to 40, then repeat: 403 / 157

Moving on to step 3:
157 goes into 403 2 times with a remainder of 89.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we subtract 314 from 403, we get 89.
Grab the next digit (6) from the dividend, add it to 89, then carry on: 896 / 157

Going ahead to step 4:
The number 157 fits into 896 5 times, leaving a remainder of 111.
Put 5 as the next digit of the answer. 
Result so far: 25.0
If we subtract 785 from 896, we get 111.
Append the next digit (5) from the dividend to 111 and continue with: 1115 / 157

Let's proceed to step 5:
When dividing 1115 by 157, we get 7 with a remainder of 16.
Write down 7 as next digit of the result. 
Result so far: 257.0
If we take 1099 away from 1115, we end up with 16.
Grab the next digit (1) from the dividend, add it to 16, then carry on: 161 / 157

Moving on to step 6:
157 can be fit into 161 1 times, resulting in a remainder of 4.
Record the quotient 1 as the next digit in the result. 
Result so far: 2571.0
Deduct 157 from 161 and we're left with 4.
Append the next digit (8) from the dividend to 4 and continue with: 48 / 157

Let's proceed to step 7:
When dividing 48 by 157, we get 0 with a remainder of 48.
The next digit of our result is 0. 
Result so far: 25710.0
Deduct 0 from 48 and we're left with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Moving on to step 8:
480 divided by 157 is 3 with a remainder of 9.
Record the quotient 3 as the next digit in the result. 
Result so far: 25710.3
Subtract 471 from 480 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Going ahead to step 9:
157 goes into 90 0 times with a remainder of 90.
Use 0 as the next digit of our solution. 
Result so far: 25710.3
Subtracting 0 from 90 leaves us 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.

Moving on to step 10:
900 divided by 157 is 5 with a remainder of 115.
The next digit of our result is 5. 
Result so far: 25710.305
Subtract 785 from 900 to get 115.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1150, and continue the process.

Going ahead to step 11:
When dividing 1150 by 157, we get 7 with a remainder of 51.
Record the quotient 7 as the next digit in the result. 
Result so far: 25710.3057
If we subtract 1099 from 1150, we get 51.
Since there are no more digits in the dividend, we add a zero to the remainder making it 510, and continue the process.

Advancing to step 12:
510 divided by 157 is 3 with a remainder of 39.
The number 3 becomes the next digit in our result. 
Result so far: 25710.30573
The remainder is 39 after subtracting 471 from 510.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Moving on to step 13:
If we divide 390 by 157, we get 2 and a remainder of 76.
Write down 2 as next digit of the result. 
Result so far: 25710.305732
Deduct 314 from 390 and we're left with 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Moving on to step 14:
If we divide 760 by 157, we get 4 and a remainder of 132.
Put 4 as the next digit of the answer. 
Result so far: 25710.3057324
Subtract 628 from 760 to get 132.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1320, and continue the process.

Let's proceed to step 15:
If we divide 1320 by 157, we get 8 and a remainder of 64.
Put 8 as the next digit of the answer. 
Result so far: 25710.30573248
If we take 1256 away from 1320, we end up with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

The final result is 25710.30573248 with a remainder of 6.4e-08.