We look at the division of 3502797 by 581 
We want to divide 3502797 by 581.

Going ahead to step 1:
If we divide 3 by 581, we get 0 and a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Take the next digit (5) from the dividend and append it to 3, then repeat: 35 / 581

On to step 2:
The number 581 fits into 35 0 times, leaving a remainder of 35.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 35 after subtracting 0 from 35.
Take the next digit (0) from the dividend and append it to 35, then repeat: 350 / 581

Advancing to step 3:
350 divided by 581 is 0 with a remainder of 350.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 350 leaves us with 350.
Include the next digit (2) from the dividend after 350, then repeat: 3502 / 581

Step 4:
If we divide 3502 by 581, we get 6 and a remainder of 16.
Put 6 as the next digit of the answer. 
Result so far: 6.0
The remainder is 16 after subtracting 3486 from 3502.
Fetch the next digit (7) from the dividend, attach it to 16 and continue: 167 / 581

Moving on to step 5:
581 goes into 167 0 times with a remainder of 167.
Write down 0 as next digit of the result. 
Result so far: 60.0
Subtract 0 from 167 to get 167.
Grab the next digit (9) from the dividend, add it to 167, then carry on: 1679 / 581

Advancing to step 6:
581 goes into 1679 2 times with a remainder of 517.
Record the quotient 2 as the next digit in the result. 
Result so far: 602.0
The remainder is 517 after subtracting 1162 from 1679.
Append the next digit (7) from the dividend to 517 and continue with: 5177 / 581

Moving on to step 7:
When dividing 5177 by 581, we get 8 with a remainder of 529.
Write down 8 as next digit of the result. 
Result so far: 6028.0
Subtracting 4648 from 5177 leaves us with 529.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5290, and continue the process.

Advancing to step 8:
581 can be fit into 5290 9 times, resulting in a remainder of 61.
Record the quotient 9 as the next digit in the result. 
Result so far: 6028.9
If we subtract 5229 from 5290, we get 61.
Since there are no more digits in the dividend, we add a zero to the remainder making it 610, and continue the process.

Let's proceed to step 9:
When dividing 610 by 581, we get 1 with a remainder of 29.
Use 1 as the next digit of our solution. 
Result so far: 6028.91
Subtract 581 from 610 to get 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

On to step 10:
If we divide 290 by 581, we get 0 and a remainder of 290.
The number 0 becomes the next digit in our result. 
Result so far: 6028.91
Subtracting 0 from 290 leaves us with 290.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2900, and continue the process.

Moving on to step 11:
When dividing 2900 by 581, we get 4 with a remainder of 576.
Put 4 as the next digit of the answer. 
Result so far: 6028.9104
If we take 2324 away from 2900, we end up with 576.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5760, and continue the process.

On to step 12:
5760 divided by 581 is 9 with a remainder of 531.
Use 9 as the next digit of our solution. 
Result so far: 6028.91049
If we subtract 5229 from 5760, we get 531.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5310, and continue the process.

Moving on to step 13:
When dividing 5310 by 581, we get 9 with a remainder of 81.
Use 9 as the next digit of our solution. 
Result so far: 6028.910499
Subtracting 5229 from 5310 leaves us with 81.
Since there are no more digits in the dividend, we add a zero to the remainder making it 810, and continue the process.

After the division, we end up with 6028.910499 and a remainder of 8.1e-06.