39161045 divided by 798 
We want to figure out the number of times 39161045 can be divided by 798.

Going ahead to step 1:
When dividing 3 by 798, we get 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Fetch the next digit (9) from the dividend, attach it to 3 and continue: 39 / 798

Advancing to step 2:
39 divided by 798 is 0 with a remainder of 39.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 39 after subtracting 0 from 39.
Bring next digit (1) of the dividend behind the 39 and repeat the process: 391 / 798

Step 3:
798 can be fit into 391 0 times, resulting in a remainder of 391.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 391 after subtracting 0 from 391.
Bring next digit (6) of the dividend behind the 391 and repeat the process: 3916 / 798

Advancing to step 4:
When dividing 3916 by 798, we get 4 with a remainder of 724.
Write down 4 as next digit of the result. 
Result so far: 4.0
If we take 3192 away from 3916, we end up with 724.
Include the next digit (1) from the dividend after 724, then repeat: 7241 / 798

Advancing to step 5:
798 can be fit into 7241 9 times, resulting in a remainder of 59.
Write down 9 as next digit of the result. 
Result so far: 49.0
Deduct 7182 from 7241 and we're left with 59.
Bring next digit (0) of the dividend behind the 59 and repeat the process: 590 / 798

Moving on to step 6:
When dividing 590 by 798, we get 0 with a remainder of 590.
Use 0 as the next digit of our solution. 
Result so far: 490.0
If we take 0 away from 590, we end up with 590.
Bring next digit (4) of the dividend behind the 590 and repeat the process: 5904 / 798

Moving on to step 7:
798 goes into 5904 7 times with a remainder of 318.
Use 7 as the next digit of our solution. 
Result so far: 4907.0
The remainder is 318 after subtracting 5586 from 5904.
Include the next digit (5) from the dividend after 318, then repeat: 3185 / 798

Step 8:
3185 divided by 798 is 3 with a remainder of 791.
Use 3 as the next digit of our solution. 
Result so far: 49073.0
If we take 2394 away from 3185, we end up with 791.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7910, and continue the process.

Let's proceed to step 9:
798 goes into 7910 9 times with a remainder of 728.
Put 9 as the next digit of the answer. 
Result so far: 49073.9
Subtract 7182 from 7910 to get 728.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7280, and continue the process.

Let's proceed to step 10:
When dividing 7280 by 798, we get 9 with a remainder of 98.
Write down 9 as next digit of the result. 
Result so far: 49073.99
If we take 7182 away from 7280, we end up with 98.
Since there are no more digits in the dividend, we add a zero to the remainder making it 980, and continue the process.

The final result is 49073.99 with a remainder of 0.098.