>>968 取りあえず項数最大ではないけど
S = {2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 18, 19, 20, 21, 22,
23, 24, 26, 28, 30, 33, 34, 35, 36, 38, 39, 40, 42, 44, 45, 46, 51, 52, 55, 56,
57, 60, 63, 65, 66, 68, 69, 70, 72, 76, 77, 78, 80, 84, 85, 88, 90, 91, 92, 95,
99, 102, 104, 105, 110, 112, 114, 115, 117, 119, 120, 126, 130, 132, 133, 136, 138, 140, 143, 152,
153, 154, 156, 161, 165, 168, 170, 171, 176, 180, 182, 184, 187, 190, 195, 198, 204, 207, 208, 209,
210, 220, 221, 228, 230, 231, 234, 238, 240, 247, 252, 253, 255, 260, 264, 266, 272, 273, 276, 280,
285, 286, 299, 304, 306, 308, 312, 315, 322, 323, 330, 336, 340, 342, 345, 357, 364, 368, 374, 380,
385, 390, 391, 396, 399, 408, 414, 418, 429, 437, 440, 442, 455, 456, 460, 462, 468, 476, 483, 494,
495, 504, 506, 510, 520, 528, 532, 546, 552, 560, 561, 570, 572, 585, 595, 598, 612, 616, 624, 627,
630, 644, 646, 660, 663, 665, 680, 684, 693, 714, 715, 728, 741, 759, 760, 765, 770, 780, 782, 792,
798, 805, 816, 819, 828, 855, 858, 874, 884, 897, 912, 920, 924, 935, 936, 952, 966, 969, 988, 990}
と取れば
Σ[a∈S] 1/a = 4