2026-11-27

Problem — 2026-11-27

Medium

MediumCombinatorics

A jeweller has ten gold beads weighing 1,2,3,…,101,2,3,\dots,10 grams (one of each). How many non-empty sets of beads have a total weight that is a multiple of 55 grams? (Only which beads are chosen matters, not their order.)

Enter an integer

Show solution
Group the beads by weight mod 55: each residue 0,1,2,3,40,1,2,3,4 appears exactly twice (5,105,10; 1,61,6; 2,72,7; 3,83,8; 4,94,9). For one residue rr, choosing a subset of its two beads contributes 00, rr, rr or 2r2r, which is the same as choosing two independent subsets A,BA,B of {0,1,2,3,4}\{0,1,2,3,4\} (one bead of each residue in each). So we need the number of pairs (A,B)(A,B) with sum of AA plus sum of B≡0(mod5)B\equiv0\pmod5. Among the 3232 subsets of {0,1,2,3,4}\{0,1,2,3,4\}: the empty and full sets have sum ≡0\equiv0, and for 1≤k≤41\le k\le4 adding 11 to every element maps kk-subsets with sum ss to sum s+ks+k, cycling the residues, so the other 3030 subsets split evenly. Thus 88 subsets have sum ≡0\equiv0 and 66 have each other residue. Pairs: 8⋅8+4⋅6⋅6=2088\cdot8+4\cdot6\cdot6=208. Removing the empty set gives 207207.