Let's divide 126246 by 51
We're looking to find how many times 51 goes into 126246.

Advancing to step 1:
When dividing 1 by 51, we get 0 with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Append the next digit (2) from the dividend to 1 and continue with: 12 / 51

On to step 2:
51 goes into 12 0 times with a remainder of 12.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 12, we end up with 12.
Bring next digit (6) of the dividend behind the 12 and repeat the process: 126 / 51

Going ahead to step 3:
51 can be fit into 126 2 times, resulting in a remainder of 24.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Deduct 102 from 126 and we're left with 24.
Include the next digit (2) from the dividend after 24, then repeat: 242 / 51

On to step 4:
The number 51 fits into 242 4 times, leaving a remainder of 38.
Write down 4 as next digit of the result. 
Result so far: 24.0
If we subtract 204 from 242, we get 38.
Grab the next digit (4) from the dividend, add it to 38, then carry on: 384 / 51

Moving on to step 5:
384 divided by 51 is 7 with a remainder of 27.
The number 7 becomes the next digit in our result. 
Result so far: 247.0
If we take 357 away from 384, we end up with 27.
Take the next digit (6) from the dividend and append it to 27, then repeat: 276 / 51

Let's proceed to step 6:
When dividing 276 by 51, we get 5 with a remainder of 21.
Use 5 as the next digit of our solution. 
Result so far: 2475.0
The remainder is 21 after subtracting 255 from 276.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Moving on to step 7:
51 can be fit into 210 4 times, resulting in a remainder of 6.
Put 4 as the next digit of the answer. 
Result so far: 2475.4
Subtracting 204 from 210 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.

Moving on to step 8:
If we divide 60 by 51, we get 1 and a remainder of 9.
Use 1 as the next digit of our solution. 
Result so far: 2475.41
Subtract 51 from 60 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

On to step 9:
90 divided by 51 is 1 with a remainder of 39.
Put 1 as the next digit of the answer. 
Result so far: 2475.411
Subtracting 51 from 90 leaves us with 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

After the division, we end up with 2475.411 and a remainder of 0.0039.