540841 divided by 37 
We want to figure out the number of times 540841 can be divided by 37.

Advancing to step 1:
If we divide 5 by 37, we get 0 and a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Include the next digit (4) from the dividend after 5, then repeat: 54 / 37

On to step 2:
54 divided by 37 is 1 with a remainder of 17.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtracting 37 from 54 leaves us with 17.
Fetch the next digit (0) from the dividend, attach it to 17 and continue: 170 / 37

Moving on to step 3:
If we divide 170 by 37, we get 4 and a remainder of 22.
The next digit of our result is 4. 
Result so far: 14.0
Subtracting 148 from 170 leaves us with 22.
Append the next digit (8) from the dividend to 22 and continue with: 228 / 37

Advancing to step 4:
If we divide 228 by 37, we get 6 and a remainder of 6.
Record the quotient 6 as the next digit in the result. 
Result so far: 146.0
Deduct 222 from 228 and we're left with 6.
Fetch the next digit (4) from the dividend, attach it to 6 and continue: 64 / 37

Going ahead to step 5:
When dividing 64 by 37, we get 1 with a remainder of 27.
The next digit of our result is 1. 
Result so far: 1461.0
The remainder is 27 after subtracting 37 from 64.
Take the next digit (1) from the dividend and append it to 27, then repeat: 271 / 37

Moving on to step 6:
271 divided by 37 is 7 with a remainder of 12.
Record the quotient 7 as the next digit in the result. 
Result so far: 14617.0
Subtract 259 from 271 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 7:
When dividing 120 by 37, we get 3 with a remainder of 9.
Record the quotient 3 as the next digit in the result. 
Result so far: 14617.3
If we take 111 away from 120, 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.

Step 8:
37 goes into 90 2 times with a remainder of 16.
The number 2 becomes the next digit in our result. 
Result so far: 14617.32
Deduct 74 from 90 and we're left with 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 9:
The number 37 fits into 160 4 times, leaving a remainder of 12.
Write down 4 as next digit of the result. 
Result so far: 14617.324
Subtracting 148 from 160 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 10:
37 goes into 120 3 times with a remainder of 9.
Put 3 as the next digit of the answer. 
Result so far: 14617.3243
Subtracting 111 from 120 leaves us 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 11:
The number 37 fits into 90 2 times, leaving a remainder of 16.
The next digit of our result is 2. 
Result so far: 14617.32432
Deduct 74 from 90 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 12:
The number 37 fits into 160 4 times, leaving a remainder of 12.
Write down 4 as next digit of the result. 
Result so far: 14617.324324
Subtract 148 from 160 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 13:
The number 37 fits into 120 3 times, leaving a remainder of 9.
The next digit of our result is 3. 
Result so far: 14617.3243243
The remainder is 9 after subtracting 111 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 14:
37 can be fit into 90 2 times, resulting in a remainder of 16.
Record the quotient 2 as the next digit in the result. 
Result so far: 14617.32432432
If we take 74 away from 90, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

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