7,218 numbers crossed off a very long list

How a small AI-assisted hobby project added one checked piece to a volunteer maths puzzle that has run for years.

Some maths problems are too big for one person but easy to split up. Volunteers each take a slice, search it carefully and report back. Recently I took one of those slices, with an AI research agent doing much of the heavy lifting. This is what we found, what it does and doesn't mean, and where it went wrong along the way.

The puzzle

The project is called Conjectures 'R Us, or CRUS. It works on numbers of this shape:

k × 891ⁿ − 1

Pick a whole number k, multiply it by 891 raised to some power n, and subtract one. For most choices you get an ordinary composite number, one that splits into smaller factors. Sometimes you get a prime.

A small example shows how it works. Take k = 2:

So for k = 2, a prime turns up quickly.

Some values of k can never give a prime, for simple reasons. Every odd k, for example, always gives an even number, because an odd number times 891ⁿ is odd, and one less than that is even. The project sets values like those aside.

The puzzle is about the rest. Are there values of k where every single choice of n, forever, still gives a composite number? Those are called Riesel numbers. For base 891 the project already knows one: k = 79,570,190. Every number of that shape, whatever n you choose, is divisible by 223, 277 or 1,433. The conjecture is that this is the smallest. To prove it, the project has to rule out every remaining k below it, and you rule out a k by finding just one prime of that shape.

That's the useful trick. You don't need every prime for a given k. One is enough to cross it off the list.

Our slice

I reserved a range through the project's forum:

The project gave me its list of 90,237 values of k in that range that still had no prime on record.

The numbers involved are big. 891 to the power of 2,501 has about 7,400 digits, and the largest candidates in the range have nearly 8,900. For scale, the number of atoms in the observable universe is usually estimated as a number about 80 digits long. You can't check numbers like these by trial division. They need specialised software and a lot of computer time.

What we found

We found a prime for 7,218 of those 90,237 values of k. That's roughly one in every twelve and a half. Each of those values is now crossed off: it can't be a Riesel number. 83,019 values remain unresolved in that part of the list, waiting for someone to search higher powers.

For each of the 7,218, we submitted the smallest power we found within our reserved range. The results and the updated remaining list are posted on the project forum. The project's maintainer has since acknowledged them and updated the public base 891 table. It now records values of k up to 10 million as searched to n = 3,000, and its count of remaining values has been updated.

It's worth being clear about what this is and isn't:

How it was done

The mathematics and the main tools belong to the community. The work had two main stages. First, a sieve (srsieve2) quickly throws out candidates with small factors. Then a prime-testing program (PRST) checks what's left. People on the forum helped: Gary handled the reservation and gave advice, rebirther pointed me to an illustrated guide to the scripts, and rogue suggested sieving on a GPU.

My part was setting the project going and making the decisions. My AI research agent, Veritas, did the orchestration. It rented two cloud servers, split the work up, ran the community's tools, collected the results and kept records, then shut the servers down and deleted them at the end.

It didn't go perfectly. Some work was duplicated, some restarts went wrong, and my early guesses at the cost were too low. Those were mistakes in how we wired things together, not, as far as we can tell, problems with the maths or the tools. They meant extra checking work before I was willing to submit anything.

Checking it

Because this goes out under my name, I wanted it checked properly before posting:

That's a separate check, not peer-reviewed publication. The test that matters is the project's own records, and the maintainer has now accepted the results into them.

Why bother?

Partly because primes are one of the oldest patterns we know, and still among the strangest. You can describe them in one line, yet they keep surprising mathematicians. Partly because volunteer projects like this one depend on people taking small slices and doing them carefully.

And partly because it showed me what an AI agent can usefully do in a hobby like this. It didn't do the thinking that matters, and it didn't invent the maths. It handled the tedious work of running other people's excellent tools, keeping track of millions of cases, and producing records that someone else could check. When it made mistakes, the records made them visible and fixable.

The list is now 7,218 numbers shorter. Someone will pick up the next slice.