We divide 40959028 by 7
Our goal is to divide 40959028 by 7.

Going ahead to step 1:
The number 7 fits into 4 0 times, leaving a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 7

Advancing to step 2:
7 goes into 40 5 times with a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 5.0
Deduct 35 from 40 and we're left with 5.
Append the next digit (9) from the dividend to 5 and continue with: 59 / 7

Advancing to step 3:
59 divided by 7 is 8 with a remainder of 3.
The next digit of our result is 8. 
Result so far: 58.0
Deduct 56 from 59 and we're left with 3.
Grab the next digit (5) from the dividend, add it to 3, then carry on: 35 / 7

On to step 4:
If we divide 35 by 7, we get 5 and a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 585.0
Subtract 35 from 35 to get 0.
Append the next digit (9) from the dividend to 0 and continue with: 9 / 7

Going ahead to step 5:
The number 7 fits into 9 1 times, leaving a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 5851.0
If we take 7 away from 9, we end up with 2.
Bring next digit (0) of the dividend behind the 2 and repeat the process: 20 / 7

On to step 6:
7 can be fit into 20 2 times, resulting in a remainder of 6.
Put 2 as the next digit of the answer. 
Result so far: 58512.0
If we subtract 14 from 20, we get 6.
Take the next digit (2) from the dividend and append it to 6, then repeat: 62 / 7

Step 7:
When dividing 62 by 7, we get 8 with a remainder of 6.
Write down 8 as next digit of the result. 
Result so far: 585128.0
Deduct 56 from 62 and we're left with 6.
Grab the next digit (8) from the dividend, add it to 6, then carry on: 68 / 7

On to step 8:
The number 7 fits into 68 9 times, leaving a remainder of 5.
Record the quotient 9 as the next digit in the result. 
Result so far: 5851289.0
The remainder is 5 after subtracting 63 from 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 9:
The number 7 fits into 50 7 times, leaving a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 5851289.7
Subtract 49 from 50 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 10:
The number 7 fits into 10 1 times, leaving a remainder of 3.
Put 1 as the next digit of the answer. 
Result so far: 5851289.71
The remainder is 3 after subtracting 7 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Going ahead to step 11:
The number 7 fits into 30 4 times, leaving a remainder of 2.
The next digit of our result is 4. 
Result so far: 5851289.714
If we subtract 28 from 30, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 12:
If we divide 20 by 7, we get 2 and a remainder of 6.
Record the quotient 2 as the next digit in the result. 
Result so far: 5851289.7142
Subtracting 14 from 20 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 13:
When dividing 60 by 7, we get 8 with a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 5851289.71428
Deduct 56 from 60 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 14:
When dividing 40 by 7, we get 5 with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 5851289.714285
If we subtract 35 from 40, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Advancing to step 15:
7 can be fit into 50 7 times, resulting in a remainder of 1.
Use 7 as the next digit of our solution. 
Result so far: 5851289.7142857
The remainder is 1 after subtracting 49 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 16:
7 can be fit into 10 1 times, resulting in a remainder of 3.
Write down 1 as next digit of the result. 
Result so far: 5851289.71428571
Subtracting 7 from 10 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

The final result is 5851289.71428571 with a remainder of 3e-09.