<think>
We need 123456789012345 ÷ 98765.

Let me compute. 98765 × 1,000,000,000 = 98,765,000,000,000.
123,456,789,012,345 - 98,765,000,000,000 = 24,691,789,012,345.

98765 × 200,000,000 = 19,753,000,000,000.
24,691,789,012,345 - 19,753,000,000,000 = 4,938,789,012,345.

98765 × 50,000,000 = 4,938,250,000,000.
4,938,789,012,345 - 4,938,250,000,000 = 539,012,345.

So far quotient: 1,250,000,000. Remainder so far: 539,012,345.

98765 × 5000 = 493,825,000.
539,012,345 - 493,825,000 = 45,187,345.

98765 × 400 = 39,506,000.
45,187,345 - 39,506,000 = 5,681,345.

98765 × 57 = 5,629,605.
5,681,345 - 5,629,605 = 51,740.

Quotient: 1,250,000,000 + 5000 + 400 + 57 = 1,250,005,457.
Remainder: 51,740.

Let me verify: 98765 × 1,250,005,457 + 51,740 = ?

98765 × 1,250,005,457:
98765 × 1,250,000,000 = 98765 × 1.25 × 10^9 = 123,456.25 × 10^9 = 123,456,250,000,000.
98765 × 5,457 = ?
98765 × 5000 = 493,825,000
98765 × 400 = 39,506,000
98765 × 57 = 5,629,605
Sum: 493,825,000 + 39,506,000 = 533,331,000 + 5,629,605 = 538,960,605.

Total: 123,456,250,000,000 + 538,960,605 = 123,456,788,960,605.
Add remainder 51,740: 123,456,789,012,345. ✓
</think>

**Quotient: 1,250,005,457**
**Remainder: 51,740**

Verification: 98,765 × 1,250,005,457 = 123,456,788,960,605, and adding the remainder 51,740 gives 123,456,789,012,345. ✓
