31840561 divided by 767 
We're looking to find how many times 767 goes into 31840561.

Advancing to step 1:
If we divide 3 by 767, we get 0 and a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 767

Moving on to step 2:
The number 767 fits into 31 0 times, leaving a remainder of 31.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Grab the next digit (8) from the dividend, add it to 31, then carry on: 318 / 767

Let's proceed to step 3:
When dividing 318 by 767, we get 0 with a remainder of 318.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 318 leaves us with 318.
Grab the next digit (4) from the dividend, add it to 318, then carry on: 3184 / 767

Going ahead to step 4:
When dividing 3184 by 767, we get 4 with a remainder of 116.
Put 4 as the next digit of the answer. 
Result so far: 4.0
Subtracting 3068 from 3184 leaves us with 116.
Append the next digit (0) from the dividend to 116 and continue with: 1160 / 767

Advancing to step 5:
767 goes into 1160 1 times with a remainder of 393.
Put 1 as the next digit of the answer. 
Result so far: 41.0
Subtracting 767 from 1160 leaves us with 393.
Grab the next digit (5) from the dividend, add it to 393, then carry on: 3935 / 767

Moving on to step 6:
The number 767 fits into 3935 5 times, leaving a remainder of 100.
The next digit of our result is 5. 
Result so far: 415.0
The remainder is 100 after subtracting 3835 from 3935.
Fetch the next digit (6) from the dividend, attach it to 100 and continue: 1006 / 767

Moving on to step 7:
767 can be fit into 1006 1 times, resulting in a remainder of 239.
Write down 1 as next digit of the result. 
Result so far: 4151.0
Deduct 767 from 1006 and we're left with 239.
Grab the next digit (1) from the dividend, add it to 239, then carry on: 2391 / 767

Step 8:
When dividing 2391 by 767, we get 3 with a remainder of 90.
The number 3 becomes the next digit in our result. 
Result so far: 41513.0
Subtracting 2301 from 2391 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.

Going ahead to step 9:
767 goes into 900 1 times with a remainder of 133.
Put 1 as the next digit of the answer. 
Result so far: 41513.1
Subtract 767 from 900 to get 133.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1330, and continue the process.

Going ahead to step 10:
When dividing 1330 by 767, we get 1 with a remainder of 563.
Write down 1 as next digit of the result. 
Result so far: 41513.11
If we take 767 away from 1330, we end up with 563.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5630, and continue the process.

The final outcome is 41513.11, with a leftover of 0.563.