Skip to content
ProjectForty2
Menu

Blog · Math

Erdős #357: two new numbers, each checked twice

A364132(28) = 75 and A364153(17) = 26, each found by an exhaustive computer search and re-run by a second, separately written program. A computer search, not a proof.

We found two new numbers for an old puzzle by Paul Erdős. This post shows what the puzzle asks, what we found, and how we checked it.

The puzzle

Pick some whole numbers. Line them up. Now add up every run of numbers that sit next to each other. A run can be one number, two numbers, or the whole line.

The rule: every run must add up to a different total.

Here is a small example from the OEIS page for this puzzle: the six numbers 1, 2, 4, 5, 8, 10. Their 21 run totals are all different.

1245810a1+…+a1 = 11a2+…+a2 = 22a3+…+a3 = 44a4+…+a4 = 55a5+…+a5 = 88a6+…+a6 = 1010a1+…+a2 = 33a2+…+a3 = 66a3+…+a4 = 99a4+…+a5 = 1313a5+…+a6 = 1818a1+…+a3 = 77a2+…+a4 = 1111a3+…+a5 = 1717a4+…+a6 = 2323a1+…+a4 = 1212a2+…+a5 = 1919a3+…+a6 = 2727a1+…+a5 = 2020a2+…+a6 = 2929a1+…+a6 = 3030
The top row is the six numbers. Each row below adds one more neighbour: row 2 holds the totals of two numbers side by side, and the bottom cell is the whole line. All 21 totals are different.Drawn by the blog build from the terms above. The build recomputes all 21 sums and refuses to publish if two are equal.

Erdős and Harzheim asked how many numbers you can fit this way, using only numbers from 1 up to some limit (Erdős Problem #357).

The OEIS turns this into two lists:

  • A364132: the numbers must go up, smallest to largest. Each entry is the smallest top number that lets you fit n of them. (oeis.org/A364132)
  • A364153: the same question, but the numbers can be in any order. (oeis.org/A364153)

What we found

A364132(28) = 75. You can fit 28 rising numbers using only 1 to 75. You cannot do it with 1 to 74.

A364153(17) = 26. You can fit 17 numbers, in any order, using only 1 to 26. You cannot do it with 1 to 25.

The OEIS lists the first 22 terms of A364132 and the first 13 of A364153. The atlas had already filled in the terms between those and today's.

Both lists, term by term. The two big dots are the new terms.

Here are the 28 numbers that fit inside 1 to 75:

The 28 chosen numbers on a line from 1 to 75.

They make 406 run totals, and no two are the same. Here are all 406, in the same triangle as the small example (hover a cell to read its total):

2346112538404147525456575860616264666768697071727375a1+…+a1 = 2a2+…+a2 = 3a3+…+a3 = 4a4+…+a4 = 6a5+…+a5 = 11a6+…+a6 = 25a7+…+a7 = 38a8+…+a8 = 40a9+…+a9 = 41a10+…+a10 = 47a11+…+a11 = 52a12+…+a12 = 54a13+…+a13 = 56a14+…+a14 = 57a15+…+a15 = 58a16+…+a16 = 60a17+…+a17 = 61a18+…+a18 = 62a19+…+a19 = 64a20+…+a20 = 66a21+…+a21 = 67a22+…+a22 = 68a23+…+a23 = 69a24+…+a24 = 70a25+…+a25 = 71a26+…+a26 = 72a27+…+a27 = 73a28+…+a28 = 75a1+…+a2 = 5a2+…+a3 = 7a3+…+a4 = 10a4+…+a5 = 17a5+…+a6 = 36a6+…+a7 = 63a7+…+a8 = 78a8+…+a9 = 81a9+…+a10 = 88a10+…+a11 = 99a11+…+a12 = 106a12+…+a13 = 110a13+…+a14 = 113a14+…+a15 = 115a15+…+a16 = 118a16+…+a17 = 121a17+…+a18 = 123a18+…+a19 = 126a19+…+a20 = 130a20+…+a21 = 133a21+…+a22 = 135a22+…+a23 = 137a23+…+a24 = 139a24+…+a25 = 141a25+…+a26 = 143a26+…+a27 = 145a27+…+a28 = 148a1+…+a3 = 9a2+…+a4 = 13a3+…+a5 = 21a4+…+a6 = 42a5+…+a7 = 74a6+…+a8 = 103a7+…+a9 = 119a8+…+a10 = 128a9+…+a11 = 140a10+…+a12 = 153a11+…+a13 = 162a12+…+a14 = 167a13+…+a15 = 171a14+…+a16 = 175a15+…+a17 = 179a16+…+a18 = 183a17+…+a19 = 187a18+…+a20 = 192a19+…+a21 = 197a20+…+a22 = 201a21+…+a23 = 204a22+…+a24 = 207a23+…+a25 = 210a24+…+a26 = 213a25+…+a27 = 216a26+…+a28 = 220a1+…+a4 = 15a2+…+a5 = 24a3+…+a6 = 46a4+…+a7 = 80a5+…+a8 = 114a6+…+a9 = 144a7+…+a10 = 166a8+…+a11 = 180a9+…+a12 = 194a10+…+a13 = 209a11+…+a14 = 219a12+…+a15 = 225a13+…+a16 = 231a14+…+a17 = 236a15+…+a18 = 241a16+…+a19 = 247a17+…+a20 = 253a18+…+a21 = 259a19+…+a22 = 265a20+…+a23 = 270a21+…+a24 = 274a22+…+a25 = 278a23+…+a26 = 282a24+…+a27 = 286a25+…+a28 = 291a1+…+a5 = 26a2+…+a6 = 49a3+…+a7 = 84a4+…+a8 = 120a5+…+a9 = 155a6+…+a10 = 191a7+…+a11 = 218a8+…+a12 = 234a9+…+a13 = 250a10+…+a14 = 266a11+…+a15 = 277a12+…+a16 = 285a13+…+a17 = 292a14+…+a18 = 298a15+…+a19 = 305a16+…+a20 = 313a17+…+a21 = 320a18+…+a22 = 327a19+…+a23 = 334a20+…+a24 = 340a21+…+a25 = 345a22+…+a26 = 350a23+…+a27 = 355a24+…+a28 = 361a1+…+a6 = 51a2+…+a7 = 87a3+…+a8 = 124a4+…+a9 = 161a5+…+a10 = 202a6+…+a11 = 243a7+…+a12 = 272a8+…+a13 = 290a9+…+a14 = 307a10+…+a15 = 324a11+…+a16 = 337a12+…+a17 = 346a13+…+a18 = 354a14+…+a19 = 362a15+…+a20 = 371a16+…+a21 = 380a17+…+a22 = 388a18+…+a23 = 396a19+…+a24 = 404a20+…+a25 = 411a21+…+a26 = 417a22+…+a27 = 423a23+…+a28 = 430a1+…+a7 = 89a2+…+a8 = 127a3+…+a9 = 165a4+…+a10 = 208a5+…+a11 = 254a6+…+a12 = 297a7+…+a13 = 328a8+…+a14 = 347a9+…+a15 = 365a10+…+a16 = 384a11+…+a17 = 398a12+…+a18 = 408a13+…+a19 = 418a14+…+a20 = 428a15+…+a21 = 438a16+…+a22 = 448a17+…+a23 = 457a18+…+a24 = 466a19+…+a25 = 475a20+…+a26 = 483a21+…+a27 = 490a22+…+a28 = 498a1+…+a8 = 129a2+…+a9 = 168a3+…+a10 = 212a4+…+a11 = 260a5+…+a12 = 308a6+…+a13 = 353a7+…+a14 = 385a8+…+a15 = 405a9+…+a16 = 425a10+…+a17 = 445a11+…+a18 = 460a12+…+a19 = 472a13+…+a20 = 484a14+…+a21 = 495a15+…+a22 = 506a16+…+a23 = 517a17+…+a24 = 527a18+…+a25 = 537a19+…+a26 = 547a20+…+a27 = 556a21+…+a28 = 565a1+…+a9 = 170a2+…+a10 = 215a3+…+a11 = 264a4+…+a12 = 314a5+…+a13 = 364a6+…+a14 = 410a7+…+a15 = 443a8+…+a16 = 465a9+…+a17 = 486a10+…+a18 = 507a11+…+a19 = 524a12+…+a20 = 538a13+…+a21 = 551a14+…+a22 = 563a15+…+a23 = 575a16+…+a24 = 587a17+…+a25 = 598a18+…+a26 = 609a19+…+a27 = 620a20+…+a28 = 631a1+…+a10 = 217a2+…+a11 = 267a3+…+a12 = 318a4+…+a13 = 370a5+…+a14 = 421a6+…+a15 = 468a7+…+a16 = 503a8+…+a17 = 526a9+…+a18 = 548a10+…+a19 = 571a11+…+a20 = 590a12+…+a21 = 605a13+…+a22 = 619a14+…+a23 = 632a15+…+a24 = 645a16+…+a25 = 658a17+…+a26 = 670a18+…+a27 = 682a19+…+a28 = 695a1+…+a11 = 269a2+…+a12 = 321a3+…+a13 = 374a4+…+a14 = 427a5+…+a15 = 479a6+…+a16 = 528a7+…+a17 = 564a8+…+a18 = 588a9+…+a19 = 612a10+…+a20 = 637a11+…+a21 = 657a12+…+a22 = 673a13+…+a23 = 688a14+…+a24 = 702a15+…+a25 = 716a16+…+a26 = 730a17+…+a27 = 743a18+…+a28 = 757a1+…+a12 = 323a2+…+a13 = 377a3+…+a14 = 431a4+…+a15 = 485a5+…+a16 = 539a6+…+a17 = 589a7+…+a18 = 626a8+…+a19 = 652a9+…+a20 = 678a10+…+a21 = 704a11+…+a22 = 725a12+…+a23 = 742a13+…+a24 = 758a14+…+a25 = 773a15+…+a26 = 788a16+…+a27 = 803a17+…+a28 = 818a1+…+a13 = 379a2+…+a14 = 434a3+…+a15 = 489a4+…+a16 = 545a5+…+a17 = 600a6+…+a18 = 651a7+…+a19 = 690a8+…+a20 = 718a9+…+a21 = 745a10+…+a22 = 772a11+…+a23 = 794a12+…+a24 = 812a13+…+a25 = 829a14+…+a26 = 845a15+…+a27 = 861a16+…+a28 = 878a1+…+a14 = 436a2+…+a15 = 492a3+…+a16 = 549a4+…+a17 = 606a5+…+a18 = 662a6+…+a19 = 715a7+…+a20 = 756a8+…+a21 = 785a9+…+a22 = 813a10+…+a23 = 841a11+…+a24 = 864a12+…+a25 = 883a13+…+a26 = 901a14+…+a27 = 918a15+…+a28 = 936a1+…+a15 = 494a2+…+a16 = 552a3+…+a17 = 610a4+…+a18 = 668a5+…+a19 = 726a6+…+a20 = 781a7+…+a21 = 823a8+…+a22 = 853a9+…+a23 = 882a10+…+a24 = 911a11+…+a25 = 935a12+…+a26 = 955a13+…+a27 = 974a14+…+a28 = 993a1+…+a16 = 554a2+…+a17 = 613a3+…+a18 = 672a4+…+a19 = 732a5+…+a20 = 792a6+…+a21 = 848a7+…+a22 = 891a8+…+a23 = 922a9+…+a24 = 952a10+…+a25 = 982a11+…+a26 = 1007a12+…+a27 = 1028a13+…+a28 = 1049a1+…+a17 = 615a2+…+a18 = 675a3+…+a19 = 736a4+…+a20 = 798a5+…+a21 = 859a6+…+a22 = 916a7+…+a23 = 960a8+…+a24 = 992a9+…+a25 = 1023a10+…+a26 = 1054a11+…+a27 = 1080a12+…+a28 = 1103a1+…+a18 = 677a2+…+a19 = 739a3+…+a20 = 802a4+…+a21 = 865a5+…+a22 = 927a6+…+a23 = 985a7+…+a24 = 1030a8+…+a25 = 1063a9+…+a26 = 1095a10+…+a27 = 1127a11+…+a28 = 1155a1+…+a19 = 741a2+…+a20 = 805a3+…+a21 = 869a4+…+a22 = 933a5+…+a23 = 996a6+…+a24 = 1055a7+…+a25 = 1101a8+…+a26 = 1135a9+…+a27 = 1168a10+…+a28 = 1202a1+…+a20 = 807a2+…+a21 = 872a3+…+a22 = 937a4+…+a23 = 1002a5+…+a24 = 1066a6+…+a25 = 1126a7+…+a26 = 1173a8+…+a27 = 1208a9+…+a28 = 1243a1+…+a21 = 874a2+…+a22 = 940a3+…+a23 = 1006a4+…+a24 = 1072a5+…+a25 = 1137a6+…+a26 = 1198a7+…+a27 = 1246a8+…+a28 = 1283a1+…+a22 = 942a2+…+a23 = 1009a3+…+a24 = 1076a4+…+a25 = 1143a5+…+a26 = 1209a6+…+a27 = 1271a7+…+a28 = 1321a1+…+a23 = 1011a2+…+a24 = 1079a3+…+a25 = 1147a4+…+a26 = 1215a5+…+a27 = 1282a6+…+a28 = 1346a1+…+a24 = 1081a2+…+a25 = 1150a3+…+a26 = 1219a4+…+a27 = 1288a5+…+a28 = 1357a1+…+a25 = 1152a2+…+a26 = 1222a3+…+a27 = 1292a4+…+a28 = 1363a1+…+a26 = 1224a2+…+a27 = 1295a3+…+a28 = 1367a1+…+a27 = 1297a2+…+a28 = 1370a1+…+a28 = 1372
The 28 numbers from the A364132(28) receipt, with every run total below them.Drawn by the blog build from the terms above. The build recomputes all 406 sums and refuses to publish if two are equal.

This is the row for #357 on the Erdős atlas gap ledger, as the atlas shows it today:

A364132(30) — least n such that {1..n} contains an increasing 30-term sequence all of whose consecutive-segment sums are distinct (inverse of the Erdős–Harzheim f(n)); a(29) = 79 (certificates/erdos-357)[ 80 , ? ]

A364132 · open · confidence C1

lower 80 (2026) · upper unknown

From erdos_frontier.json, snapshot 2026-11-02 · open it live on the Erdős atlas

How we checked

Finding one sequence that works is the easy half. It shows the answer is at most 75.

The hard half is showing nothing smaller works. For that, the computer tried every possible way at each smaller limit, and found none. That is called an exhaustive search.

Then a second program, written separately, ran the same search. It got the same answers. For A364153(17), a full re-run of the whole certificate, every search by both programs, also passed (result on PR #186).

To be clear about the limits:

  • It's a computer search, not a proof.
  • Both programs use the same basic method. They are separate code, not separate math.
  • It says nothing about the big question Erdős asked: how fast these lists grow forever.
On the site · /erdosWhen a result countsNo claim changes status by itself. The Erdős atlas lists what a result needs before it joins the atlas: a named problem, a script anyone can rerun, tests built to break it, its source and scope, and a review.Open it live

Who did the work

The computing was done by ProjectForty2's AI research agent. The search programs were written with AI research agents. Kevin Russell directed the work.

Everything is public. You can read it, rerun it, and tell us if we got something wrong.

Made with AI. ProjectForty2's AI agents wrote this post from public receipts; each number links the file it comes from.

erdoserdos-357oeiscomputer-searchreceipts

All posts Corrections