We're dividing 45012986 by 165 
We want to figure out the number of times 45012986 can be divided by 165.

Going ahead to step 1:
If we divide 4 by 165, we get 0 and a remainder of 4.
The number 0 becomes the next digit in our result. 
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 / 165

Let's proceed to step 2:
165 can be fit into 45 0 times, resulting in a remainder of 45.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 45 leaves us with 45.
Bring next digit (0) of the dividend behind the 45 and repeat the process: 450 / 165

Moving on to step 3:
If we divide 450 by 165, we get 2 and a remainder of 120.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Deduct 330 from 450 and we're left with 120.
Fetch the next digit (1) from the dividend, attach it to 120 and continue: 1201 / 165

Let's proceed to step 4:
The number 165 fits into 1201 7 times, leaving a remainder of 46.
Put 7 as the next digit of the answer. 
Result so far: 27.0
Subtract 1155 from 1201 to get 46.
Grab the next digit (2) from the dividend, add it to 46, then carry on: 462 / 165

Step 5:
When dividing 462 by 165, we get 2 with a remainder of 132.
Write down 2 as next digit of the result. 
Result so far: 272.0
Deduct 330 from 462 and we're left with 132.
Append the next digit (9) from the dividend to 132 and continue with: 1329 / 165

Moving on to step 6:
165 can be fit into 1329 8 times, resulting in a remainder of 9.
Write down 8 as next digit of the result. 
Result so far: 2728.0
If we subtract 1320 from 1329, we get 9.
Include the next digit (8) from the dividend after 9, then repeat: 98 / 165

Let's proceed to step 7:
165 can be fit into 98 0 times, resulting in a remainder of 98.
Record the quotient 0 as the next digit in the result. 
Result so far: 27280.0
Subtract 0 from 98 to get 98.
Take the next digit (6) from the dividend and append it to 98, then repeat: 986 / 165

On to step 8:
165 goes into 986 5 times with a remainder of 161.
The next digit of our result is 5. 
Result so far: 272805.0
The remainder is 161 after subtracting 825 from 986.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1610, and continue the process.

Going ahead to step 9:
The number 165 fits into 1610 9 times, leaving a remainder of 125.
Write down 9 as next digit of the result. 
Result so far: 272805.9
If we subtract 1485 from 1610, we get 125.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1250, and continue the process.

Step 10:
165 goes into 1250 7 times with a remainder of 95.
Put 7 as the next digit of the answer. 
Result so far: 272805.97
Subtracting 1155 from 1250 leaves us with 95.
Since there are no more digits in the dividend, we add a zero to the remainder making it 950, and continue the process.

Step 11:
950 divided by 165 is 5 with a remainder of 125.
Write down 5 as next digit of the result. 
Result so far: 272805.975
Subtracting 825 from 950 leaves us with 125.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1250, and continue the process.

Advancing to step 12:
165 can be fit into 1250 7 times, resulting in a remainder of 95.
Write down 7 as next digit of the result. 
Result so far: 272805.9757
If we take 1155 away from 1250, we end up with 95.
Since there are no more digits in the dividend, we add a zero to the remainder making it 950, and continue the process.

Let's proceed to step 13:
165 can be fit into 950 5 times, resulting in a remainder of 125.
Write down 5 as next digit of the result. 
Result so far: 272805.97575
Deduct 825 from 950 and we're left with 125.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1250, and continue the process.

On to step 14:
165 can be fit into 1250 7 times, resulting in a remainder of 95.
Use 7 as the next digit of our solution. 
Result so far: 272805.975757
If we subtract 1155 from 1250, we get 95.
Since there are no more digits in the dividend, we add a zero to the remainder making it 950, and continue the process.

Step 15:
950 divided by 165 is 5 with a remainder of 125.
Write down 5 as next digit of the result. 
Result so far: 272805.9757575
If we take 825 away from 950, we end up with 125.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1250, and continue the process.

Moving on to step 16:
1250 divided by 165 is 7 with a remainder of 95.
The number 7 becomes the next digit in our result. 
Result so far: 272805.97575757
Deduct 1155 from 1250 and we're left with 95.
Since there are no more digits in the dividend, we add a zero to the remainder making it 950, and continue the process.

The final outcome is 272805.97575757, with a leftover of 9.5e-08.