The 3-family (4, 3, 3) example
Suppose 3 families go on a trip together: Sharma Family (4 people), Verma Family (3 people), and Joshi Family (3 people) — 10 people total.
1
Count all 10 heads
If dinner costs ₹10,000, the per-person share is ₹10,000 ÷ 10 = ₹1,000.
2
Credit the paying family
Rohit from Sharma Family pays the ₹10,000 bill. Sharma Family's own share is 4 × ₹1,000 = ₹4,000, so they are owed ₹6,000.
3
One transfer per family
Verma Family (3 × ₹1,000) sends ₹3,000 and Joshi Family (3 × ₹1,000) sends ₹3,000 directly to Sharma Family.