45794 ÷ 7 
We want to figure out the number of times 45794 can be divided by 7.

On to step 1:
When dividing 4 by 7, we get 0 with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Fetch the next digit (5) from the dividend, attach it to 4 and continue: 45 / 7

Going ahead to step 2:
7 can be fit into 45 6 times, resulting in a remainder of 3.
The number 6 becomes the next digit in our result. 
Result so far: 6.0
Subtracting 42 from 45 leaves us with 3.
Take the next digit (7) from the dividend and append it to 3, then repeat: 37 / 7

Step 3:
7 goes into 37 5 times with a remainder of 2.
Put 5 as the next digit of the answer. 
Result so far: 65.0
Subtracting 35 from 37 leaves us with 2.
Fetch the next digit (9) from the dividend, attach it to 2 and continue: 29 / 7

On to step 4:
7 goes into 29 4 times with a remainder of 1.
Write down 4 as next digit of the result. 
Result so far: 654.0
Subtracting 28 from 29 leaves us with 1.
Include the next digit (4) from the dividend after 1, then repeat: 14 / 7

Step 5:
If we divide 14 by 7, we get 2 and a remainder of 0.
Use 2 as the next digit of our solution. 
Result so far: 6542.0
Subtract 14 from 14 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 6:
When dividing 0 by 7, we get 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 6542.0
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 7:
The number 7 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 6542.0
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The quotient of the division is 6542.0, and the remainder is 0.0.