Let's divide 97864151 by 977
Our goal is to divide 97864151 by 977.

Going ahead to step 1:
When dividing 9 by 977, we get 0 with a remainder of 9.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 9, we end up with 9.
Fetch the next digit (7) from the dividend, attach it to 9 and continue: 97 / 977

Let's proceed to step 2:
977 can be fit into 97 0 times, resulting in a remainder of 97.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 97 and we're left with 97.
Grab the next digit (8) from the dividend, add it to 97, then carry on: 978 / 977

Moving on to step 3:
If we divide 978 by 977, we get 1 and a remainder of 1.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Deduct 977 from 978 and we're left with 1.
Bring next digit (6) of the dividend behind the 1 and repeat the process: 16 / 977

Step 4:
16 divided by 977 is 0 with a remainder of 16.
Put 0 as the next digit of the answer. 
Result so far: 10.0
If we subtract 0 from 16, we get 16.
Take the next digit (4) from the dividend and append it to 16, then repeat: 164 / 977

Advancing to step 5:
The number 977 fits into 164 0 times, leaving a remainder of 164.
Use 0 as the next digit of our solution. 
Result so far: 100.0
The remainder is 164 after subtracting 0 from 164.
Take the next digit (1) from the dividend and append it to 164, then repeat: 1641 / 977

Going ahead to step 6:
1641 divided by 977 is 1 with a remainder of 664.
Put 1 as the next digit of the answer. 
Result so far: 1001.0
If we subtract 977 from 1641, we get 664.
Fetch the next digit (5) from the dividend, attach it to 664 and continue: 6645 / 977

Step 7:
6645 divided by 977 is 6 with a remainder of 783.
Use 6 as the next digit of our solution. 
Result so far: 10016.0
Subtract 5862 from 6645 to get 783.
Bring next digit (1) of the dividend behind the 783 and repeat the process: 7831 / 977

On to step 8:
When dividing 7831 by 977, we get 8 with a remainder of 15.
Record the quotient 8 as the next digit in the result. 
Result so far: 100168.0
If we subtract 7816 from 7831, we get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

On to step 9:
When dividing 150 by 977, we get 0 with a remainder of 150.
The next digit of our result is 0. 
Result so far: 100168.0
The remainder is 150 after subtracting 0 from 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1500, and continue the process.

Going ahead to step 10:
When dividing 1500 by 977, we get 1 with a remainder of 523.
Record the quotient 1 as the next digit in the result. 
Result so far: 100168.01
Subtracting 977 from 1500 leaves us with 523.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5230, and continue the process.

Step 11:
5230 divided by 977 is 5 with a remainder of 345.
Put 5 as the next digit of the answer. 
Result so far: 100168.015
Subtract 4885 from 5230 to get 345.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3450, and continue the process.

Going ahead to step 12:
When dividing 3450 by 977, we get 3 with a remainder of 519.
Record the quotient 3 as the next digit in the result. 
Result so far: 100168.0153
If we subtract 2931 from 3450, we get 519.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5190, and continue the process.

Going ahead to step 13:
If we divide 5190 by 977, we get 5 and a remainder of 305.
Use 5 as the next digit of our solution. 
Result so far: 100168.01535
The remainder is 305 after subtracting 4885 from 5190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3050, and continue the process.

Let's proceed to step 14:
If we divide 3050 by 977, we get 3 and a remainder of 119.
Write down 3 as next digit of the result. 
Result so far: 100168.015353
The remainder is 119 after subtracting 2931 from 3050.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1190, and continue the process.

Going ahead to step 15:
If we divide 1190 by 977, we get 1 and a remainder of 213.
The number 1 becomes the next digit in our result. 
Result so far: 100168.0153531
If we take 977 away from 1190, we end up with 213.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2130, and continue the process.

Step 16:
977 can be fit into 2130 2 times, resulting in a remainder of 176.
The next digit of our result is 2. 
Result so far: 100168.01535312
Subtracting 1954 from 2130 leaves us with 176.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1760, and continue the process.

After the division, we end up with 100168.01535312 and a remainder of 1.76e-07.