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

On to step 1:
5 divided by 351 is 0 with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Grab the next digit (3) from the dividend, add it to 5, then carry on: 53 / 351

Advancing to step 2:
When dividing 53 by 351, we get 0 with a remainder of 53.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 53 after subtracting 0 from 53.
Fetch the next digit (2) from the dividend, attach it to 53 and continue: 532 / 351

Advancing to step 3:
351 goes into 532 1 times with a remainder of 181.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 351 away from 532, we end up with 181.
Grab the next digit (1) from the dividend, add it to 181, then carry on: 1811 / 351

Going ahead to step 4:
1811 divided by 351 is 5 with a remainder of 56.
Record the quotient 5 as the next digit in the result. 
Result so far: 15.0
The remainder is 56 after subtracting 1755 from 1811.
Append the next digit (6) from the dividend to 56 and continue with: 566 / 351

On to step 5:
351 can be fit into 566 1 times, resulting in a remainder of 215.
The number 1 becomes the next digit in our result. 
Result so far: 151.0
If we take 351 away from 566, we end up with 215.
Bring next digit (7) of the dividend behind the 215 and repeat the process: 2157 / 351

Moving on to step 6:
The number 351 fits into 2157 6 times, leaving a remainder of 51.
The number 6 becomes the next digit in our result. 
Result so far: 1516.0
If we take 2106 away from 2157, we end up with 51.
Append the next digit (7) from the dividend to 51 and continue with: 517 / 351

On to step 7:
If we divide 517 by 351, we get 1 and a remainder of 166.
Write down 1 as next digit of the result. 
Result so far: 15161.0
Deduct 351 from 517 and we're left with 166.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1660, and continue the process.

Advancing to step 8:
1660 divided by 351 is 4 with a remainder of 256.
The number 4 becomes the next digit in our result. 
Result so far: 15161.4
If we take 1404 away from 1660, we end up 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.

Moving on to step 9:
If we divide 2560 by 351, we get 7 and a remainder of 103.
Write down 7 as next digit of the result. 
Result so far: 15161.47
Deduct 2457 from 2560 and we're left with 103.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1030, and continue the process.

On to step 10:
If we divide 1030 by 351, we get 2 and a remainder of 328.
The next digit of our result is 2. 
Result so far: 15161.472
Subtract 702 from 1030 to get 328.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3280, and continue the process.

Step 11:
If we divide 3280 by 351, we get 9 and a remainder of 121.
Put 9 as the next digit of the answer. 
Result so far: 15161.4729
If we take 3159 away from 3280, we end up with 121.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1210, and continue the process.

On to step 12:
When dividing 1210 by 351, we get 3 with a remainder of 157.
Use 3 as the next digit of our solution. 
Result so far: 15161.47293
The remainder is 157 after subtracting 1053 from 1210.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1570, and continue the process.

Going ahead to step 13:
The number 351 fits into 1570 4 times, leaving a remainder of 166.
Record the quotient 4 as the next digit in the result. 
Result so far: 15161.472934
Deduct 1404 from 1570 and we're left with 166.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1660, and continue the process.

On to step 14:
If we divide 1660 by 351, we get 4 and a remainder of 256.
Record the quotient 4 as the next digit in the result. 
Result so far: 15161.4729344
Deduct 1404 from 1660 and we're left 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.

The quotient of the division is 15161.4729344, and the remainder is 2.56e-06.