Let's divide 365120 by 31
Let's see how many times 31 fits into 365120.

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

Let's proceed to step 2:
36 divided by 31 is 1 with a remainder of 5.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtracting 31 from 36 leaves us with 5.
Include the next digit (5) from the dividend after 5, then repeat: 55 / 31

Let's proceed to step 3:
If we divide 55 by 31, we get 1 and a remainder of 24.
Use 1 as the next digit of our solution. 
Result so far: 11.0
Subtracting 31 from 55 leaves us with 24.
Take the next digit (1) from the dividend and append it to 24, then repeat: 241 / 31

Let's proceed to step 4:
The number 31 fits into 241 7 times, leaving a remainder of 24.
Write down 7 as next digit of the result. 
Result so far: 117.0
If we take 217 away from 241, we end up with 24.
Include the next digit (2) from the dividend after 24, then repeat: 242 / 31

On to step 5:
31 goes into 242 7 times with a remainder of 25.
Use 7 as the next digit of our solution. 
Result so far: 1177.0
Subtracting 217 from 242 leaves us with 25.
Take the next digit (0) from the dividend and append it to 25, then repeat: 250 / 31

Moving on to step 6:
When dividing 250 by 31, we get 8 with a remainder of 2.
The number 8 becomes the next digit in our result. 
Result so far: 11778.0
The remainder is 2 after subtracting 248 from 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 7:
The number 31 fits into 20 0 times, leaving a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 11778.0
Deduct 0 from 20 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 8:
31 can be fit into 200 6 times, resulting in a remainder of 14.
The next digit of our result is 6. 
Result so far: 11778.06
The remainder is 14 after subtracting 186 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 9:
When dividing 140 by 31, we get 4 with a remainder of 16.
Put 4 as the next digit of the answer. 
Result so far: 11778.064
If we subtract 124 from 140, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 10:
The number 31 fits into 160 5 times, leaving a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 11778.0645
Subtracting 155 from 160 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Let's proceed to step 11:
The number 31 fits into 50 1 times, leaving a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 11778.06451
If we subtract 31 from 50, we get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Advancing to step 12:
190 divided by 31 is 6 with a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 11778.064516
Deduct 186 from 190 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 13:
31 goes into 40 1 times with a remainder of 9.
The next digit of our result is 1. 
Result so far: 11778.0645161
If we take 31 away from 40, we end up with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Let's proceed to step 14:
The number 31 fits into 90 2 times, leaving a remainder of 28.
Record the quotient 2 as the next digit in the result. 
Result so far: 11778.06451612
If we subtract 62 from 90, we get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

After the division, we end up with 11778.06451612 and a remainder of 2.8e-08.