We're dividing 13126587 by 331 
We want to figure out the number of times 13126587 can be divided by 331.

Step 1:
The number 331 fits into 1 0 times, leaving a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Grab the next digit (3) from the dividend, add it to 1, then carry on: 13 / 331

Step 2:
If we divide 13 by 331, we get 0 and a remainder of 13.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 13, we get 13.
Fetch the next digit (1) from the dividend, attach it to 13 and continue: 131 / 331

On to step 3:
The number 331 fits into 131 0 times, leaving a remainder of 131.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 131, we get 131.
Fetch the next digit (2) from the dividend, attach it to 131 and continue: 1312 / 331

Advancing to step 4:
The number 331 fits into 1312 3 times, leaving a remainder of 319.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
If we take 993 away from 1312, we end up with 319.
Include the next digit (6) from the dividend after 319, then repeat: 3196 / 331

Moving on to step 5:
331 goes into 3196 9 times with a remainder of 217.
Put 9 as the next digit of the answer. 
Result so far: 39.0
The remainder is 217 after subtracting 2979 from 3196.
Fetch the next digit (5) from the dividend, attach it to 217 and continue: 2175 / 331

Let's proceed to step 6:
If we divide 2175 by 331, we get 6 and a remainder of 189.
Record the quotient 6 as the next digit in the result. 
Result so far: 396.0
If we subtract 1986 from 2175, we get 189.
Append the next digit (8) from the dividend to 189 and continue with: 1898 / 331

Let's proceed to step 7:
If we divide 1898 by 331, we get 5 and a remainder of 243.
The number 5 becomes the next digit in our result. 
Result so far: 3965.0
If we subtract 1655 from 1898, we get 243.
Take the next digit (7) from the dividend and append it to 243, then repeat: 2437 / 331

Step 8:
If we divide 2437 by 331, we get 7 and a remainder of 120.
The number 7 becomes the next digit in our result. 
Result so far: 39657.0
The remainder is 120 after subtracting 2317 from 2437.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

Advancing to step 9:
If we divide 1200 by 331, we get 3 and a remainder of 207.
Write down 3 as next digit of the result. 
Result so far: 39657.3
Subtracting 993 from 1200 leaves us with 207.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2070, and continue the process.

Step 10:
If we divide 2070 by 331, we get 6 and a remainder of 84.
The next digit of our result is 6. 
Result so far: 39657.36
If we subtract 1986 from 2070, we get 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

Let's proceed to step 11:
When dividing 840 by 331, we get 2 with a remainder of 178.
The number 2 becomes the next digit in our result. 
Result so far: 39657.362
If we subtract 662 from 840, we get 178.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1780, and continue the process.

Moving on to step 12:
1780 divided by 331 is 5 with a remainder of 125.
The number 5 becomes the next digit in our result. 
Result so far: 39657.3625
Subtract 1655 from 1780 to get 125.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1250, and continue the process.

Step 13:
331 can be fit into 1250 3 times, resulting in a remainder of 257.
The number 3 becomes the next digit in our result. 
Result so far: 39657.36253
If we subtract 993 from 1250, we get 257.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2570, and continue the process.

Moving on to step 14:
2570 divided by 331 is 7 with a remainder of 253.
Put 7 as the next digit of the answer. 
Result so far: 39657.362537
Deduct 2317 from 2570 and we're left with 253.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2530, and continue the process.

Step 15:
When dividing 2530 by 331, we get 7 with a remainder of 213.
Record the quotient 7 as the next digit in the result. 
Result so far: 39657.3625377
If we take 2317 away from 2530, we end up with 213.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2130, and continue the process.

The final outcome is 39657.3625377, with a leftover of 2.13e-06.