Let's divide 255397 by 77
Let's see how many times 77 fits into 255397.

Moving on to step 1:
2 divided by 77 is 0 with a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 2, we get 2.
Append the next digit (5) from the dividend to 2 and continue with: 25 / 77

Going ahead to step 2:
77 goes into 25 0 times with a remainder of 25.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 25, we get 25.
Fetch the next digit (5) from the dividend, attach it to 25 and continue: 255 / 77

Going ahead to step 3:
When dividing 255 by 77, we get 3 with a remainder of 24.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
Subtract 231 from 255 to get 24.
Grab the next digit (3) from the dividend, add it to 24, then carry on: 243 / 77

Step 4:
77 goes into 243 3 times with a remainder of 12.
Write down 3 as next digit of the result. 
Result so far: 33.0
If we take 231 away from 243, we end up with 12.
Take the next digit (9) from the dividend and append it to 12, then repeat: 129 / 77

Let's proceed to step 5:
When dividing 129 by 77, we get 1 with a remainder of 52.
The next digit of our result is 1. 
Result so far: 331.0
If we take 77 away from 129, we end up with 52.
Bring next digit (7) of the dividend behind the 52 and repeat the process: 527 / 77

Advancing to step 6:
If we divide 527 by 77, we get 6 and a remainder of 65.
Write down 6 as next digit of the result. 
Result so far: 3316.0
Subtracting 462 from 527 leaves us 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.

On to step 7:
The number 77 fits into 650 8 times, leaving a remainder of 34.
The number 8 becomes the next digit in our result. 
Result so far: 3316.8
Subtract 616 from 650 to get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Advancing to step 8:
77 goes into 340 4 times with a remainder of 32.
Use 4 as the next digit of our solution. 
Result so far: 3316.84
Subtract 308 from 340 to get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Moving on to step 9:
The number 77 fits into 320 4 times, leaving a remainder of 12.
Record the quotient 4 as the next digit in the result. 
Result so far: 3316.844
Deduct 308 from 320 and we're left 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.

The quotient of the division is 3316.844, and the remainder is 0.0012.