We're dividing 6534089 by 161 
We want to divide 6534089 by 161.

Moving on to step 1:
6 divided by 161 is 0 with a remainder of 6.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 6 after subtracting 0 from 6.
Fetch the next digit (5) from the dividend, attach it to 6 and continue: 65 / 161

Let's proceed to step 2:
If we divide 65 by 161, we get 0 and a remainder of 65.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 65, we get 65.
Fetch the next digit (3) from the dividend, attach it to 65 and continue: 653 / 161

Step 3:
If we divide 653 by 161, we get 4 and a remainder of 9.
Put 4 as the next digit of the answer. 
Result so far: 4.0
The remainder is 9 after subtracting 644 from 653.
Fetch the next digit (4) from the dividend, attach it to 9 and continue: 94 / 161

Going ahead to step 4:
161 goes into 94 0 times with a remainder of 94.
Write down 0 as next digit of the result. 
Result so far: 40.0
If we subtract 0 from 94, we get 94.
Take the next digit (0) from the dividend and append it to 94, then repeat: 940 / 161

Moving on to step 5:
The number 161 fits into 940 5 times, leaving a remainder of 135.
The next digit of our result is 5. 
Result so far: 405.0
Deduct 805 from 940 and we're left with 135.
Append the next digit (8) from the dividend to 135 and continue with: 1358 / 161

Going ahead to step 6:
1358 divided by 161 is 8 with a remainder of 70.
Put 8 as the next digit of the answer. 
Result so far: 4058.0
If we take 1288 away from 1358, we end up with 70.
Append the next digit (9) from the dividend to 70 and continue with: 709 / 161

Let's proceed to step 7:
161 goes into 709 4 times with a remainder of 65.
Record the quotient 4 as the next digit in the result. 
Result so far: 40584.0
Deduct 644 from 709 and we're left with 65.
Since there are no more digits in the dividend, we add a zero to the remainder making it 650, and continue the process.

Going ahead to step 8:
650 divided by 161 is 4 with a remainder of 6.
Use 4 as the next digit of our solution. 
Result so far: 40584.4
The remainder is 6 after subtracting 644 from 650.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 9:
161 goes into 60 0 times with a remainder of 60.
Use 0 as the next digit of our solution. 
Result so far: 40584.4
If we take 0 away from 60, we end up with 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Moving on to step 10:
If we divide 600 by 161, we get 3 and a remainder of 117.
Write down 3 as next digit of the result. 
Result so far: 40584.403
Subtract 483 from 600 to get 117.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1170, and continue the process.

Going ahead to step 11:
161 goes into 1170 7 times with a remainder of 43.
The number 7 becomes the next digit in our result. 
Result so far: 40584.4037
If we subtract 1127 from 1170, we get 43.
Since there are no more digits in the dividend, we add a zero to the remainder making it 430, and continue the process.

Advancing to step 12:
The number 161 fits into 430 2 times, leaving a remainder of 108.
The next digit of our result is 2. 
Result so far: 40584.40372
Deduct 322 from 430 and we're left with 108.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1080, and continue the process.

Going ahead to step 13:
161 goes into 1080 6 times with a remainder of 114.
The number 6 becomes the next digit in our result. 
Result so far: 40584.403726
Deduct 966 from 1080 and we're left with 114.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1140, and continue the process.

Let's proceed to step 14:
161 goes into 1140 7 times with a remainder of 13.
The next digit of our result is 7. 
Result so far: 40584.4037267
Deduct 1127 from 1140 and we're left with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Moving on to step 15:
161 can be fit into 130 0 times, resulting in a remainder of 130.
Put 0 as the next digit of the answer. 
Result so far: 40584.4037267
Subtract 0 from 130 to get 130.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1300, and continue the process.

The final result is 40584.4037267 with a remainder of 1.3e-07.