Let's divide 5831244 by 361
We want to figure out the number of times 5831244 can be divided by 361.

On to step 1:
5 divided by 361 is 0 with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Bring next digit (8) of the dividend behind the 5 and repeat the process: 58 / 361

Step 2:
58 divided by 361 is 0 with a remainder of 58.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 58, we end up with 58.
Bring next digit (3) of the dividend behind the 58 and repeat the process: 583 / 361

Let's proceed to step 3:
583 divided by 361 is 1 with a remainder of 222.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 361 from 583 and we're left with 222.
Take the next digit (1) from the dividend and append it to 222, then repeat: 2221 / 361

Let's proceed to step 4:
2221 divided by 361 is 6 with a remainder of 55.
The number 6 becomes the next digit in our result. 
Result so far: 16.0
Subtract 2166 from 2221 to get 55.
Grab the next digit (2) from the dividend, add it to 55, then carry on: 552 / 361

Let's proceed to step 5:
361 goes into 552 1 times with a remainder of 191.
Put 1 as the next digit of the answer. 
Result so far: 161.0
Deduct 361 from 552 and we're left with 191.
Grab the next digit (4) from the dividend, add it to 191, then carry on: 1914 / 361

Moving on to step 6:
361 goes into 1914 5 times with a remainder of 109.
Write down 5 as next digit of the result. 
Result so far: 1615.0
Subtracting 1805 from 1914 leaves us with 109.
Take the next digit (4) from the dividend and append it to 109, then repeat: 1094 / 361

Advancing to step 7:
If we divide 1094 by 361, we get 3 and a remainder of 11.
Write down 3 as next digit of the result. 
Result so far: 16153.0
The remainder is 11 after subtracting 1083 from 1094.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

On to step 8:
When dividing 110 by 361, we get 0 with a remainder of 110.
The next digit of our result is 0. 
Result so far: 16153.0
If we take 0 away from 110, we end up with 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1100, and continue the process.

Going ahead to step 9:
361 can be fit into 1100 3 times, resulting in a remainder of 17.
Put 3 as the next digit of the answer. 
Result so far: 16153.03
If we subtract 1083 from 1100, we get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Moving on to step 10:
170 divided by 361 is 0 with a remainder of 170.
Record the quotient 0 as the next digit in the result. 
Result so far: 16153.03
If we subtract 0 from 170, we get 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1700, and continue the process.

Advancing to step 11:
If we divide 1700 by 361, we get 4 and a remainder of 256.
Use 4 as the next digit of our solution. 
Result so far: 16153.0304
Subtracting 1444 from 1700 leaves us with 256.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2560, and continue the process.

On to step 12:
If we divide 2560 by 361, we get 7 and a remainder of 33.
Record the quotient 7 as the next digit in the result. 
Result so far: 16153.03047
The remainder is 33 after subtracting 2527 from 2560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Advancing to step 13:
If we divide 330 by 361, we get 0 and a remainder of 330.
Use 0 as the next digit of our solution. 
Result so far: 16153.03047
The remainder is 330 after subtracting 0 from 330.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3300, and continue the process.

Let's proceed to step 14:
If we divide 3300 by 361, we get 9 and a remainder of 51.
The next digit of our result is 9. 
Result so far: 16153.0304709
Subtract 3249 from 3300 to 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.

Let's proceed to step 15:
361 can be fit into 510 1 times, resulting in a remainder of 149.
Record the quotient 1 as the next digit in the result. 
Result so far: 16153.03047091
If we subtract 361 from 510, we get 149.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1490, and continue the process.

The quotient of the division is 16153.03047091, and the remainder is 1.49e-07.