87417242 divided by 791 
We're looking to find how many times 791 goes into 87417242.

Let's proceed to step 1:
791 can be fit into 8 0 times, resulting in a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Grab the next digit (7) from the dividend, add it to 8, then carry on: 87 / 791

Moving on to step 2:
791 can be fit into 87 0 times, resulting in a remainder of 87.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 87 after subtracting 0 from 87.
Include the next digit (4) from the dividend after 87, then repeat: 874 / 791

Moving on to step 3:
When dividing 874 by 791, we get 1 with a remainder of 83.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 791 from 874, we get 83.
Append the next digit (1) from the dividend to 83 and continue with: 831 / 791

Moving on to step 4:
791 can be fit into 831 1 times, resulting in a remainder of 40.
The number 1 becomes the next digit in our result. 
Result so far: 11.0
If we subtract 791 from 831, we get 40.
Grab the next digit (7) from the dividend, add it to 40, then carry on: 407 / 791

On to step 5:
If we divide 407 by 791, we get 0 and a remainder of 407.
The number 0 becomes the next digit in our result. 
Result so far: 110.0
The remainder is 407 after subtracting 0 from 407.
Take the next digit (2) from the dividend and append it to 407, then repeat: 4072 / 791

Going ahead to step 6:
If we divide 4072 by 791, we get 5 and a remainder of 117.
Put 5 as the next digit of the answer. 
Result so far: 1105.0
Deduct 3955 from 4072 and we're left with 117.
Bring next digit (4) of the dividend behind the 117 and repeat the process: 1174 / 791

On to step 7:
The number 791 fits into 1174 1 times, leaving a remainder of 383.
Write down 1 as next digit of the result. 
Result so far: 11051.0
Deduct 791 from 1174 and we're left with 383.
Bring next digit (2) of the dividend behind the 383 and repeat the process: 3832 / 791

Moving on to step 8:
3832 divided by 791 is 4 with a remainder of 668.
Use 4 as the next digit of our solution. 
Result so far: 110514.0
Deduct 3164 from 3832 and we're left with 668.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6680, and continue the process.

Going ahead to step 9:
When dividing 6680 by 791, we get 8 with a remainder of 352.
Record the quotient 8 as the next digit in the result. 
Result so far: 110514.8
If we take 6328 away from 6680, we end up with 352.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3520, and continue the process.

Let's proceed to step 10:
The number 791 fits into 3520 4 times, leaving a remainder of 356.
Write down 4 as next digit of the result. 
Result so far: 110514.84
If we subtract 3164 from 3520, we get 356.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3560, and continue the process.

Moving on to step 11:
3560 divided by 791 is 4 with a remainder of 396.
Record the quotient 4 as the next digit in the result. 
Result so far: 110514.844
Subtracting 3164 from 3560 leaves us with 396.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3960, and continue the process.

After the division, we end up with 110514.844 and a remainder of 0.0396.