31135128 divided by 772 
We want to divide 31135128 by 772.

Advancing to step 1:
When dividing 3 by 772, we get 0 with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 772

Step 2:
If we divide 31 by 772, we get 0 and a remainder of 31.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Grab the next digit (1) from the dividend, add it to 31, then carry on: 311 / 772

On to step 3:
772 goes into 311 0 times with a remainder of 311.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 311 after subtracting 0 from 311.
Bring next digit (3) of the dividend behind the 311 and repeat the process: 3113 / 772

Moving on to step 4:
772 goes into 3113 4 times with a remainder of 25.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
If we subtract 3088 from 3113, we get 25.
Include the next digit (5) from the dividend after 25, then repeat: 255 / 772

Going ahead to step 5:
772 can be fit into 255 0 times, resulting in a remainder of 255.
The number 0 becomes the next digit in our result. 
Result so far: 40.0
If we subtract 0 from 255, we get 255.
Take the next digit (1) from the dividend and append it to 255, then repeat: 2551 / 772

On to step 6:
If we divide 2551 by 772, we get 3 and a remainder of 235.
The number 3 becomes the next digit in our result. 
Result so far: 403.0
Subtracting 2316 from 2551 leaves us with 235.
Fetch the next digit (2) from the dividend, attach it to 235 and continue: 2352 / 772

Advancing to step 7:
When dividing 2352 by 772, we get 3 with a remainder of 36.
Use 3 as the next digit of our solution. 
Result so far: 4033.0
Subtracting 2316 from 2352 leaves us with 36.
Include the next digit (8) from the dividend after 36, then repeat: 368 / 772

Going ahead to step 8:
772 goes into 368 0 times with a remainder of 368.
Write down 0 as next digit of the result. 
Result so far: 40330.0
Subtracting 0 from 368 leaves us with 368.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3680, and continue the process.

Going ahead to step 9:
3680 divided by 772 is 4 with a remainder of 592.
Use 4 as the next digit of our solution. 
Result so far: 40330.4
The remainder is 592 after subtracting 3088 from 3680.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5920, and continue the process.

Moving on to step 10:
If we divide 5920 by 772, we get 7 and a remainder of 516.
Write down 7 as next digit of the result. 
Result so far: 40330.47
If we take 5404 away from 5920, we end up with 516.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5160, and continue the process.

Let's proceed to step 11:
772 goes into 5160 6 times with a remainder of 528.
The number 6 becomes the next digit in our result. 
Result so far: 40330.476
If we subtract 4632 from 5160, we get 528.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5280, and continue the process.

Advancing to step 12:
The number 772 fits into 5280 6 times, leaving a remainder of 648.
Record the quotient 6 as the next digit in the result. 
Result so far: 40330.4766
Subtracting 4632 from 5280 leaves us with 648.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6480, and continue the process.

The quotient of the division is 40330.4766, and the remainder is 0.00648.