5135161 ÷ 864 
We're looking to find how many times 864 goes into 5135161.

Advancing to step 1:
5 divided by 864 is 0 with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Grab the next digit (1) from the dividend, add it to 5, then carry on: 51 / 864

Step 2:
864 can be fit into 51 0 times, resulting in a remainder of 51.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 51, we end up with 51.
Bring next digit (3) of the dividend behind the 51 and repeat the process: 513 / 864

Moving on to step 3:
864 can be fit into 513 0 times, resulting in a remainder of 513.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 513, we end up with 513.
Include the next digit (5) from the dividend after 513, then repeat: 5135 / 864

Going ahead to step 4:
864 can be fit into 5135 5 times, resulting in a remainder of 815.
The next digit of our result is 5. 
Result so far: 5.0
Deduct 4320 from 5135 and we're left with 815.
Fetch the next digit (1) from the dividend, attach it to 815 and continue: 8151 / 864

Advancing to step 5:
8151 divided by 864 is 9 with a remainder of 375.
The number 9 becomes the next digit in our result. 
Result so far: 59.0
If we take 7776 away from 8151, we end up with 375.
Grab the next digit (6) from the dividend, add it to 375, then carry on: 3756 / 864

Let's proceed to step 6:
The number 864 fits into 3756 4 times, leaving a remainder of 300.
Put 4 as the next digit of the answer. 
Result so far: 594.0
Deduct 3456 from 3756 and we're left with 300.
Take the next digit (1) from the dividend and append it to 300, then repeat: 3001 / 864

Moving on to step 7:
When dividing 3001 by 864, we get 3 with a remainder of 409.
The next digit of our result is 3. 
Result so far: 5943.0
Deduct 2592 from 3001 and we're left with 409.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4090, and continue the process.

Step 8:
864 can be fit into 4090 4 times, resulting in a remainder of 634.
Write down 4 as next digit of the result. 
Result so far: 5943.4
Subtracting 3456 from 4090 leaves us with 634.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6340, and continue the process.

Going ahead to step 9:
The number 864 fits into 6340 7 times, leaving a remainder of 292.
Write down 7 as next digit of the result. 
Result so far: 5943.47
If we subtract 6048 from 6340, we get 292.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2920, and continue the process.

Let's proceed to step 10:
864 goes into 2920 3 times with a remainder of 328.
Put 3 as the next digit of the answer. 
Result so far: 5943.473
Subtracting 2592 from 2920 leaves us with 328.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3280, and continue the process.

On to step 11:
864 goes into 3280 3 times with a remainder of 688.
The number 3 becomes the next digit in our result. 
Result so far: 5943.4733
The remainder is 688 after subtracting 2592 from 3280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6880, and continue the process.

The final result is 5943.4733 with a remainder of 0.00688.