How many coins can three weighings handle?
Nmax=23n−3 (no reference),23n−1 (with one known good coin) For one counterfeit that may be heavy or light, n weighings can both find it and say which way it is off for up to (3n−3)/2 coins — twelve for three weighings. A spare coin known to be genuine lets the first weighing be unbalanced in numbers, raising the limit to thirteen.
More eggs
max floors with e eggs and d drops=i=1∑e(id) Each drop either breaks an egg or does not, so the floors you can resolve satisfy f(d,e)=f(d−1,e−1)+f(d−1,e)+1, which sums to this binomial expression. With two eggs it is d+(2d)=d(d+1)/2.