42822741 divided by 166 
We want to figure out the number of times 42822741 can be divided by 166.

Let's proceed to step 1:
When dividing 4 by 166, we get 0 with a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Take the next digit (2) from the dividend and append it to 4, then repeat: 42 / 166

Advancing to step 2:
42 divided by 166 is 0 with a remainder of 42.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 42 to get 42.
Fetch the next digit (8) from the dividend, attach it to 42 and continue: 428 / 166

Let's proceed to step 3:
166 can be fit into 428 2 times, resulting in a remainder of 96.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Deduct 332 from 428 and we're left with 96.
Append the next digit (2) from the dividend to 96 and continue with: 962 / 166

Moving on to step 4:
166 can be fit into 962 5 times, resulting in a remainder of 132.
Record the quotient 5 as the next digit in the result. 
Result so far: 25.0
The remainder is 132 after subtracting 830 from 962.
Take the next digit (2) from the dividend and append it to 132, then repeat: 1322 / 166

On to step 5:
When dividing 1322 by 166, we get 7 with a remainder of 160.
The number 7 becomes the next digit in our result. 
Result so far: 257.0
Subtracting 1162 from 1322 leaves us with 160.
Include the next digit (7) from the dividend after 160, then repeat: 1607 / 166

Let's proceed to step 6:
When dividing 1607 by 166, we get 9 with a remainder of 113.
Record the quotient 9 as the next digit in the result. 
Result so far: 2579.0
If we subtract 1494 from 1607, we get 113.
Take the next digit (4) from the dividend and append it to 113, then repeat: 1134 / 166

On to step 7:
1134 divided by 166 is 6 with a remainder of 138.
Put 6 as the next digit of the answer. 
Result so far: 25796.0
If we take 996 away from 1134, we end up with 138.
Append the next digit (1) from the dividend to 138 and continue with: 1381 / 166

On to step 8:
166 goes into 1381 8 times with a remainder of 53.
Record the quotient 8 as the next digit in the result. 
Result so far: 257968.0
If we subtract 1328 from 1381, we get 53.
Since there are no more digits in the dividend, we add a zero to the remainder making it 530, and continue the process.

On to step 9:
166 goes into 530 3 times with a remainder of 32.
The number 3 becomes the next digit in our result. 
Result so far: 257968.3
If we take 498 away from 530, we end up with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Advancing to step 10:
The number 166 fits into 320 1 times, leaving a remainder of 154.
The next digit of our result is 1. 
Result so far: 257968.31
The remainder is 154 after subtracting 166 from 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1540, and continue the process.

Let's proceed to step 11:
When dividing 1540 by 166, we get 9 with a remainder of 46.
The next digit of our result is 9. 
Result so far: 257968.319
Subtract 1494 from 1540 to get 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Going ahead to step 12:
The number 166 fits into 460 2 times, leaving a remainder of 128.
The number 2 becomes the next digit in our result. 
Result so far: 257968.3192
Deduct 332 from 460 and we're left with 128.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1280, and continue the process.

Moving on to step 13:
1280 divided by 166 is 7 with a remainder of 118.
Write down 7 as next digit of the result. 
Result so far: 257968.31927
Subtracting 1162 from 1280 leaves us with 118.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1180, and continue the process.

Let's proceed to step 14:
The number 166 fits into 1180 7 times, leaving a remainder of 18.
The number 7 becomes the next digit in our result. 
Result so far: 257968.319277
Subtracting 1162 from 1180 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

The final outcome is 257968.319277, with a leftover of 1.8e-06.