Skip to content

My conjecture in A397711 now has a proof, explained from the start

ExplainerNovember 16, 2026updated Nov 20, 202644 min

Yes: I made a real mathematical conjecture, and it has been proved. The remainder pattern I listed in entry A397711 of the OEIS, the online database of integer sequences, proved by Roberto Blanco Gómez, explained from the first definition with worked examples and a calculator.

In July 2026 I added a sequence to the OEIS, the public encyclopedia of number sequences: A397711, which counts a kind of diagram made of dots and arrows. With Claude agents (Anthropic) computing the counts under my direction, I found a pattern in the remainders the counts leave when divided by the number of dots, and it held for every number of dots up to . I could not prove it, so I listed it in the entry as a conjecture. On October 7, 2026, Roberto Blanco Gómez, an independent researcher in Spain, posted a proof for every number of dots, together with a general version for any cap on the number of arrows into a dot. An OEIS editor approved his comment on the entry on October 12.

Below, every word the story needs is defined in order, each with an example small enough to check by eye. The tables and the calculator near the end compute every count exactly, in the browser.

  • The entry: A397711 in the OEIS, the online database of integer sequences, counting a kind of diagram of dots and arrows; submitted under my name on July 5, 2026 and approved on July 12.
  • The conjecture: in the entry since July, checked by computer up to 100 dots.
  • The proof: by Roberto Blanco Gómez, a four-page paper posted on Zenodo, a public archive that gives each record a permanent address, on October 7, 2026; not yet refereed by a journal.
  • On the entry: his comment and a link to the paper, approved by an OEIS editor on October 12.
  • Later work: the first exact counts of these charts beyond 7 dots, where the one earlier table, from 2017, stopped. My paper on these counts computes them exactly up to 2,500 dots and proves how fast they grow; it is under review at a journal.

Words first

Read these in order. Each one uses only the words before it, and later sections point back to them by number, as word 1 to word 12. Readers who already know what a labeled DAG is can skip to the short version.

A graph: dots joined by lines

Here a graph is not a plot of data. It is a set of dots, with some pairs of dots joined by lines. Mathematicians call the dots nodes (or vertices) and the lines edges. Only one thing matters: which pairs are joined. Where the dots sit on the page does not.

Example

Three dots named 1, 2 and 3, with 1 joined to 2 and 2 joined to 3. Drawn in a row or in a triangle, it is the same graph.

Directed: every line is an arrow

When every line has a direction, it is drawn as an arrow, and the graph is called directed (a digraph, for short). An arrow from 1 to 2 and an arrow from 2 to 1 are two different arrows. On this page an arrow stands for waiting: an arrow from 1 to 2 means "task 2 waits on task 1", so 1 must finish before 2 can start. A set of named dots together with a choice of arrows is what this page calls a chart.

Example

Dots 1, 2 and 3 with the arrows 1 → 2 and 2 → 3: task 2 waits on task 1, and task 3 waits on task 2. The order of work is 1, then 2, then 3.

A cycle, and acyclic: the DAG

Start at a dot and follow arrows, always in the direction they point. If the route can get back to the dot it started from, it is a cycle. For tasks, a cycle is circular waiting: 2 waits on 1, 3 waits on 2, and 1 waits on 3, so none of the three can ever start. A digraph with no cycle at all is acyclic. Together: a directed acyclic graph, or DAG, is a set of dots with arrows in which following the arrows never leads back to the start. Two arrows between the same two dots, one each way, already make a cycle, and so does an arrow from a dot to itself, so a DAG has neither.

A DAG: no cycle

123

Not a DAG: 1, 2, 3, back to 1

123

Left: a DAG on three dots, with the arrows 1 → 2, 2 → 3 and 1 → 3; following arrows from any dot never returns to it. Right: the same dots with the arrows 1 → 2, 2 → 3 and 3 → 1, which form a cycle, so this is not a DAG.

Labeled: every dot has its own name

Labeled means that each dot carries a name, here the numbers 1 to n, and that the names matter: two charts count as different whenever some arrow is in one and not in the other, even when the two pictures have the same shape. The chart whose only arrow goes from 1 to 2 and the chart whose only arrow goes from 2 to 1 are two different charts. So two named dots give exactly three charts without a cycle: no arrow, 1 → 2, or 2 → 1 (both arrows at once would be a cycle). If the names did not matter there would be only two, "no arrow" and "one arrow". Everything on this page is about labeled charts.

No arrow

12

2 waits on 1

12

1 waits on 2

12

The three charts on two named dots: no arrow; 1 → 2, in which 2 waits on 1; and 2 → 1, in which 1 waits on 2. This is why the sequence below has a 3 in it.

Parents, and "at most two parents"

The parents of a dot are the dots whose arrows point into it: the tasks it waits on. The number of arrows coming into a dot is its in-degree, so "in-degree at most 2" and "at most two parents" say the same thing. A397711 allows each dot at most two parents. This limit is the cap: A397711 has a cap of two, and other entries use other caps. A dot may have no parents at all, and there is no limit on how many arrows leave a dot.

Example

With arrows from 1, 2 and 3 all pointing to 4, dot 4 has three parents, so that chart is not counted. Remove any one of the three arrows and it is.

Not counted: dot 4 has three parents

1234

Four dots with the arrows 1 → 4, 2 → 4 and 3 → 4. It is a DAG, but dot 4 has three parents, one more than A397711 allows.

The number of dots n, and the count a(n)

n stands for the number of dots. a(n) stands for the number of charts on n named dots that obey both rules: no cycle, and at most two parents per dot. There is one number a(n) for each n. From here on, "chart" means a chart that obeys both rules unless the text says otherwise.

Example

a(2) = 3, the three charts of word 4. With two dots the cap of two changes nothing, since no dot can have more than one parent, and the no-cycle rule removes only the choice of both arrows at once.

Why anyone counts these

A Bayesian network is a model of how several uncertain things influence each other, for example a disease and the symptoms and test results it affects. Its picture is a DAG: one dot per variable, and an arrow into each variable from each of its parents, the variables it is modeled on (the arrows are often read as direct influence). When a computer learns such a network from data, it searches through possible DAGs for one that fits the data well, and allowing each variable only a few parents is a common restriction in that search, because it keeps the search and the model small. So a(n) is the number of network structures with at most two parents per variable. The same charts describe tasks that wait on each other, as on this page: each task waits directly on at most two others, and nothing waits in a circle.

A sequence, and the OEIS

A sequence is a list of numbers in a fixed order, one for each n: a(0), a(1), a(2), and so on. This one starts 1, 1, 3, 25, 443, 13,956. (a(0) = 1 because the diagram with no dots at all counts as one chart, the empty one, and a(1) = 1 because a single dot has nothing to wait on.) The OEIS, the On-Line Encyclopedia of Integer Sequences, is the public database where sequences are recorded. Each entry has an A-number, the first terms, comments, formulas, links and the name of the person who submitted it, and editors review every change before it goes live. A397711 is this sequence's A-number, and I am the entry's author.

Remainders, and "mod"

Divide 25 by 3: 3 goes in 8 times, making 24, with 1 left over. That 1 is the remainder. A remainder is always between 0 and one less than the number divided by. One number divides another when the remainder is 0: 4 divides 12. Mathematicians write 25 ≡ 1 (mod 3), read "25 is congruent to 1 mod 3", to say that 25 and 1 leave the same remainder on dividing by 3. The OEIS writes == for ≡.

Example

a(4) = 443, and 443 = 4 × 110 + 3, so the remainder on dividing by 4 is 3. In symbols: 443 ≡ 3 (mod 4).

Primes, sharing no factor, and lcm

A prime is a whole number greater than 1 that only 1 and itself divide: 2, 3, 5, 7, 11, 13 and so on. Two numbers share no factor when no whole number greater than 1 divides both: 9 and 2 share no factor, while 9 and 6 share the factor 3. lcm(1, …, r), the least common multiple, is the smallest number that 1, 2, …, r all divide: lcm(1, 2) = 2, lcm(1, 2, 3) = 6, and lcm(1, 2, 3, 4) = 12.

Conjecture, proof, theorem, lemma

A conjecture is a precise mathematical statement that someone believes is true, usually because of evidence such as a long computer check, but has not proved. A proof is a chain of reasoning that shows the statement holds in every case, not only in the cases that were checked. A statement with a proof is a theorem, and a small helper statement proved on the way to a theorem is a lemma. Checking a million cases does not make a proof, because the next case could still fail; a proof covers them all at once.

Example

"For every prime number of dots, a(n) leaves remainder 1 on dividing by n" has a short proof, which I gave in the entry and in my paper, using the standard rotation argument explained in the prime case below. So it is a theorem. The rule for all odd and all even numbers of dots was the conjecture: checked up to 100 dots, and not proved until October.

Preprint, peer review, Zenodo, DOI

A preprint is a paper its author posts publicly before any journal has examined it. Peer review, also called refereeing, is a journal's examination of a paper by other mathematicians before it is published; a preprint has not had that. Zenodo is a public archive for research papers and data, and every record there gets a DOI, a permanent web address that anyone can cite. The proof is a preprint on Zenodo: public and permanent, but not yet refereed by a journal.

The short version

  • A397711 counts charts: n named dots, each with at most two parents, and no cycle. In task words: n tasks, each waiting on at most two others, with no circular waiting.
  • The conjecture: divide the count by n and look at the remainder. For odd n from 3 on, the remainder is 1. For even n from 4 on, it is n/2 + 1.
  • The proof uses two tools. One is a formula that builds every chart by peeling off the dots that nobody waits on. The other is Burnside's lemma, a rule that counts the families renamings sort the charts into, from how many charts each renaming leaves unchanged; here the renamings turn the dots around a circle. Both are explained in plain words in how the proof works.
  • The proof also gives a version for any cap r on the number of parents: n divides lcm(1, …, r) × (ar(n) − 1), where ar(n) is the count with at most r parents.
  • I made the conjecture; Roberto Blanco Gómez proved it.

What A397711 counts

Take n dots named 1 to n and choose arrows between them. There are two rules: no dot has more than two parents, and there is no cycle. a(n) is the number of charts that obey both. The names matter, so "2 waits on 1" and "1 waits on 2" are two different charts.

Two dots

No arrow, 1 → 2, or 2 → 1 (the picture in word 4). Both arrows at once would be a cycle, and no dot can have more than one parent, so the cap changes nothing. So a(2) = 3.

Three dots

Look at each pair of dots in turn. A pair can have no arrow, an arrow one way, or an arrow the other way: 3 choices. (Both ways at once is a cycle, so it is never allowed.) There are three pairs, so there are 3 × 3 × 3 = 27 ways to place arrows. Which of the 27 have a cycle? A cycle on three dots must go around all three, so it uses all three pairs, and it can go around in two directions: 1 → 2 → 3 → 1, or 1 → 3 → 2 → 1. Those are the only 2 placements with a cycle, and 27 − 2 = 25. The cap changes nothing yet: with only two other dots, no dot can have three parents. So a(3) = 25.

Four dots

With four dots there are six pairs and 36 = 729 placements, too many to sort by hand. The number of placements without a cycle is known: 543. (That is the number of all labeled DAGs on four dots, with no cap on parents; it is OEIS entry A003024, and a program that listed every placement on four dots confirmed it.) The cap now removes some charts. If some dot has three parents, all three other dots point into it, and those three dots form any of the 25 charts on three dots among themselves. There are 4 choices for that dot, so 4 × 25 = 100 such charts. No chart has two such dots, because they would need arrows both ways between them. That leaves 543 − 100 = 443, so a(4) = 443. This is the first size at which the cap makes a difference.

After that the counts grow fast: 13,956 for five dots, 695,902 for six, and a(100) has 350 digits. My OEIS entries list them up to 100 dots with a cap of two and 30 with a cap of three, and the calculator below computes any of them up to 150.

Preciselythe exact statement, for readers who want it

a(n) is the number of acyclic digraphs on the vertex set 1, …, n in which every vertex has in-degree at most 2. An arc u → v means that v waits on u; the arcs into v come from its parents.

a(0), a(1), ... = 1, 1, 3, 25, 443, 13956, 695902, 50741797, 5111573805, 681834525328, ...

With at most one parent the count is (n + 1)^(n − 1): 1, 3, 16, 125 for one to four dots. These are the rooted forests, OEIS A000272 shifted by one: each dot waits on at most one other, so the arrows form trees. With no cap it is every labeled DAG, Robinson's count (1973), OEIS A003024: 1, 3, 25, 543 for one to four dots.

What the conjecture is part of

  • The OEIS (word 8). An editor reviews every change to an entry before it goes live, so his comment on my entry was checked by an editor before it appeared.
  • My three entries on these charts. A397711 (at most two parents), A397712 (at most three) and A395247, a table that sorts the charts by the largest number of parents any dot has, which covers every cap at once (the cap is the most parents a dot may have).
  • My paper on these counts, "Labeled acyclic digraphs with bounded in-degree". My July draft stated both halves of the pattern as its Conjecture 1. The version now under review at a journal credits the proof to Roberto Blanco Gómez and cites his preprint; it also computes the counts exactly up to 2,500 dots and proves how fast they grow.
  • The dated record of this story: the July post on the counts, the October update on the proof, and the full story.
  • His project. The preprint is part of his project on open statements in the OEIS. He found my conjecture in a sweep of the newest OEIS entries that contain conjectures: the 314 of them numbered A395000 or higher.

The conjecture

Divide each count by the number of dots and keep the remainder (word 9). With at most two parents, the remainders follow a simple rule. For every odd n from 3 on, the remainder is 1. For every even n from 4 on, it is one more than half of n. The computations showed the rule for every n up to 100, and I wrote it into the entry as a conjecture (word 11), because I could not prove it.

Worked cases

Six dots: a(6) = 695,902 = 6 × 115,983 + 4, so the remainder is 4, and 6/2 + 1 = 4. Seven dots: a(7) = 50,741,797 = 7 × 7,248,828 + 1, so the remainder is 1.

nCharts, at most two parentsRemainder on dividing by nThe rule saysAt most three parents: remainder
231none (starts at 4)1
325111 same as the cap-two rule
44433n/2 + 1 = 33 same as the cap-two rule
513,956111 same as the cap-two rule
6695,9024n/2 + 1 = 40 breaks the rule
750,741,797111 same as the cap-two rule
85,111,573,8055n/2 + 1 = 55 same as the cap-two rule
9681,834,525,328117 breaks the rule
10116,541,746,850,5366n/2 + 1 = 66 same as the cap-two rule
1124,867,348,916,368,729111 same as the cap-two rule
126,485,004,673,137,022,9037n/2 + 1 = 711 breaks the rule

Every count here is computed on this page from the formula of step 1 below. The last column shows that the rule belongs to the cap of two: with at most three parents (A397712) it breaks at 6, 9 and 12 in this table, marked with crosses. Nine dots leave 7, not 1. The general version below explains part of this: it forces remainder 1 at every size that shares no factor with 6 (5, 7 and 11 here), so the rule can break only at sizes that share a factor with 6. In this table it breaks at the multiples of 3 (6, 9 and 12) and holds at 4, 8 and 10.

Preciselythe exact statement, for readers who want it

Conjecture 1 (Orden, 2026), as the preprint names it: a(n) ≡ 1 (mod n) for all odd n ≥ 3, and a(n) ≡ n/2 + 1 (mod n) for all even n ≥ 4. "x ≡ y (mod n)" means x and y leave the same remainder on dividing by n.

The prime case, proved in July

Rename the dots around a circle: 1 becomes 2, 2 becomes 3, and so on, with n becoming 1. Call this a rotation. Renaming turns every chart into another valid chart, because it changes only the names, not the pattern of arrows. Doing it n times brings every chart back to where it started. So the charts fall into families: a family is the set of charts reached from one chart by renaming again and again. The size of a family is the number of renamings it takes to get back to the start, and that number always divides n. When n is a prime, the only numbers that divide n are 1 and n, so every family has 1 chart or n charts.

A family of 1 is a chart that the renaming leaves unchanged. The empty chart, with no arrows, is one, and it is the only one: if an unchanged chart had any arrow, for example 1 → 3, it would also need every renamed copy of that arrow, and those copies form a cycle (the figure). So every other chart sits in a family of exactly n, and a(n) is a multiple of n, plus 1. With five dots: 13,956 = 5 × 2,791 + 1, that is, 2,791 families of five charts plus the empty chart on its own. The same argument works for any cap on parents, not only two; I proved it in the entry with this standard argument.

12345

Five dots. A chart left unchanged by the rotation that has the arrow 1 → 3 would also need 2 → 4, 3 → 5, 4 → 1 and 5 → 2. Following them from 1 leads back to 1, which is a cycle, so no chart with an arrow is left unchanged.

When n is not prime, a chart can come back to itself after part of a turn, for example half a turn. Families of in-between sizes then appear, and the renaming trick alone no longer gives the remainder. That is the part the proof had to handle.

How the proof works

The preprint is four pages. Here is the whole idea in one paragraph, then its four steps, each in plain words first.

The idea. A formula (step 1) computes a(n) from the counts for fewer dots. Looking closely at that formula (step 3) shows that 2 × (a(n) − 1) is always a multiple of n. For odd n that already forces the remainder to be 1, which is the odd half of the conjecture. For even n it narrows the remainder down to two possibilities, 1 or n/2 + 1, and the rotation argument from the prime case, made exact with Burnside's lemma (step 4), decides between them. Step 2 sets up a slightly more general count that step 4 needs.

Three more words:

  • Sink. A dot that no other dot waits on: arrows may come into it, but none leaves it. Every chart has at least one sink, because if every dot had an arrow leaving it, the arrows could be followed forever, and with finitely many dots the route would come back to a dot it had already visited, which is a cycle.
  • Inclusion-exclusion. A way to count things that the easy count catches more than once: add the easy counts, subtract what was counted twice, add back what that subtraction took away too often, and so on. Step 1 shows it at work on two, three and four dots.
  • Burnside's lemma. A rule about renamings, explained with a two-dot example in step 4.

Step 1: peel off the dots nobody waits on

The formula counts charts by their sinks. Pick a set of k dots and ask for the charts in which all k are sinks. Those are easy to count: the other dots form any valid chart among themselves, and each chosen sink picks at most two parents among those other dots (not among the other sinks, since nothing leaves a sink). But a chart with several sinks gets counted once for every set of its sinks, and inclusion-exclusion corrects this: add the counts for single sinks, subtract the counts for pairs of sinks, add the counts for triples, and so on. The result gives a(n) in terms of the counts for fewer dots.

Two dots

Make dot 1 a sink: dot 2 on its own is 1 chart, and dot 1 picks its parents among the one other dot, none or dot 2, which is 2 ways; so 2 charts. Make dot 2 a sink: 2 charts in the same way. That is 4, but the chart with no arrows has both dots as sinks and was counted twice, so subtract the charts in which both are sinks: 1. Result: 4 − 1 = 3.

Three dots

One sink: 3 choices of the sink; the other two dots form 3 charts; the sink picks among 4 parent sets (none, one dot, the other dot, both). 3 × 3 × 4 = 36. Two sinks: 3 choices of the pair; the remaining dot on its own is 1 chart; each of the two sinks picks among 2 parent sets. 3 × 1 × 2 × 2 = 12. Three sinks: 1 chart, the empty one. Add, subtract, add: 36 − 12 + 1 = 25.

Four dots work the same way, and the table shows where each term comes from.

Sinks chosenWays to choose themCharts on the other dotsParent sets per sinkTermSign
142574 × 25 × 7 = 700add
26346 × 3 × 4 × 4 = 288subtract
34124 × 1 × 2 × 2 × 2 = 32add
41111subtract
Total443

"Parent sets per sink" is the number of ways to pick at most two parents among the other dots: with 3 other dots it is 1 (none) + 3 (one dot) + 3 (a pair) = 7. Each sink picks on its own, which is why a term multiplies that number once per sink.

Preciselythe exact statement, for readers who want it

C(g, k) is the number of ways to choose k things from g, and f(m) is the number of ways to choose at most two parents among m nodes:

a(g) = sum over k = 1..g of (-1)^(k+1) C(g, k) f(g-k)^k a(g-k),    f(m) = 1 + m + C(m, 2)

This is Robinson's 1973 recurrence for all DAGs with 2^m replaced by f(m). In this form it is Corollary 4 of Eggeling, Viinikka, Vuoksenmaa and Koivisto (AISTATS 2019), and Lemma 4 of the preprint.

Step 2: give every dot copies

Now imagine that every dot comes in s copies, say a plain copy and a shaded copy when s = 2. Each dot still picks at most two parents, but it picks them among the copies of the other dots, so it may pick dot 3's plain copy, dot 3's shaded copy, or both. Picks that use different copies count as different charts, and the arrows, with the copies merged back into one dot each, must still form no cycle. With s = 1 this is the ordinary count, and the same peel-off formula works for any s, with "parent sets per sink" now counted among the copies. The reason for this: in step 4 the charts that a rotation leaves unchanged turn out to be exactly these copies charts, drawn on the rotation's rings (the groups of dots that the rotation carries around among themselves, explained in step 4).

Example

Two dots with two copies each. Dot 1 picks among the two copies of dot 2: none, the plain copy, the shaded copy, or both, which is 4 parent sets, and in the last three 1 waits on 2. The same holds for dot 2. The peel-off formula gives 2 × 4 − 1 = 7 charts: the empty chart, three in which 1 waits on 2, and three in which 2 waits on 1. Step 4 draws these same seven charts on four dots: each of the two dots there is a pair of dots, and the two members of a pair play the part of the two copies.

Preciselythe exact statement, for readers who want it

An s-structure on g nodes gives each node a set of at most r parent slots taken from (the other nodes) × (s copies), so that the digraph obtained by forgetting the copies is acyclic. P_g(s) counts them, and P_g(1) = a_r(g):

P_g(s) = sum over k = 1..g of (-1)^(k+1) C(g, k) f_s(g-k)^k P_(g-k)(s),
f_s(m) = sum over i = 0..r of C(s m, i),    P_0(s) = 1

Step 3: every term carries a factor of g and a factor of s

Write g for the number of dots and s for the number of copies. The claim: s × g divides lcm(1, …, r) × (the copies count − 1), for every cap r. For the ordinary count, s = 1 and the cap is 2, so lcm(1, 2) = 2, and the claim says that n divides 2 × (a(n) − 1).

Example

Four dots: 2 × (443 − 1) = 884 = 4 × 221. Nine dots: a(9) − 1 = 681,834,525,327 = 9 × 75,759,391,703, so here 9 divides a(9) − 1 even without the 2.

Why it holds: subtract 1 from both sides of the peel-off formula, expand, and multiply everything by lcm(1, …, r). Every piece of the result is then a multiple of s × g, for two reasons.

  • The factor g. Each piece is the number of ways to choose the k sinks, times a quantity that is a multiple of s × (g − k), where g − k is the number of remaining dots (the next point says why). Choosing k sinks and then one of the g − k remaining dots can also be done the other way round: choose one special dot first, in g ways, then the k sinks among the other g − 1 dots. Both ways count the same thing, so "ways to choose the sinks" × (g − k) = g × "ways to choose the sinks among g − 1 dots", and the factor g appears. (Four dots, two sinks: 6 × 2 = 12 = 4 × 3.) The factor s in that quantity is still there, so each piece is a multiple of s × g.
  • The factor s. That quantity is built from two things: the number of nonempty parent sets a sink can pick, and the copies counts for fewer dots. With m remaining dots there are s × m copies to pick from, and the number of nonempty parent sets of at most r of them, times lcm(1, …, r), is always a multiple of s × m. With a cap of two and one copy: from 3 dots there are 3 single parents and 3 pairs, 6 nonempty sets, and 2 × 6 = 12 = 4 × 3; from 4 dots, 4 + 6 = 10 sets, and 2 × 10 = 20 = 5 × 4. With two copies of each of 2 dots, the 4 copies give the same 10 sets, and 20 is also a multiple of 2 × 2. The copies counts for fewer dots are handled by induction: the proof goes size by size, assuming the claim for every smaller size, and the formula builds size g only from smaller sizes.

Put s = 1 and the result is the general version below. For a cap of two, n divides 2 × (a(n) − 1). An odd n shares no factor with 2, so n itself must divide a(n) − 1, which means the remainder is 1. That is the odd half of the conjecture. For an even n it says only that a(n) − 1 is a multiple of n/2, so the remainder of a(n) is 1 or n/2 + 1, and step 4 decides which.

Preciselythe exact statement, for readers who want it

Lemma 5: for m ≥ 1, with u(m) = f_s(m) − 1 = (sum over i = 1..r of C(sm, i)), the number L_r u(m)/m is an integer divisible by s, where L_r = lcm(1, …, r). It follows from C(sm, i) = (sm/i) C(sm − 1, i − 1).

Lemma 6: sg divides L_r (P_g(s) − 1) for all g, s ≥ 1, by induction on g using C(g, k)(g − k) = g C(g − 1, k). Theorem 3 of the preprint is Lemma 6 with s = 1.

Step 4: for even n, rotate the names and count the unchanged charts

Go back to renaming around a circle (the prime case above). There are n renamings in all: "change nothing" and the rotations by 1, 2, …, n − 1 steps. The charts fall into families as before. Burnside's lemma says that the number of families equals the average, over the n renamings, of the number of charts each renaming leaves unchanged.

Two dots

The two renamings are "change nothing", which leaves all 3 charts unchanged, and "swap 1 and 2", which leaves only the empty chart unchanged. The average is (3 + 1)/2 = 2, and there are indeed 2 families: the empty chart on its own, and the pair 1 → 2 and 2 → 1, which the swap turns into each other.

The number of families is a whole number, so the n unchanged counts add up to a multiple of n. "Change nothing" leaves all a(n) charts unchanged. So a(n) plus the other n − 1 counts is a multiple of n, and those other counts fix the remainder of a(n). For four dots, here is every renaming and the number of charts it leaves unchanged:

RenamingComes back afterCharts left unchanged
Change nothing1 step443
Rotate by 1 (1 → 2 → 3 → 4 → 1)4 steps1
Rotate by 2, the half-turn (1 with 3, 2 with 4)2 steps7
Rotate by 3 (1 → 4 → 3 → 2 → 1)4 steps1
Total452

Computed on this page from the copies count of step 2: a renaming that comes back after d steps leaves as many charts unchanged as there are copies charts with d copies on the n/d rings.

The four counts add up to 452 = 4 × 113, so there are 113 families. Leave out "change nothing" and the other three add up to 9. So a(4) + 9 is a multiple of 4, which means a(4) has the same remainder as −9. Adding 12, a multiple of 4, does not change a remainder, and −9 + 12 = 3. The remainder is 3, and 3 = 4/2 + 1. The proof does the same for every even n, in three parts.

The rings. A renaming that comes back after d steps splits the dots into n/d rings of d dots each: the half-turn on four dots has the two rings 1 and 3, and 2 and 4. A chart it leaves unchanged can have no arrow inside a ring, for the same reason as in the prime case (the arrow's renamed copies would form a cycle), and it amounts to a copies chart from step 2 drawn on the rings, with d copies: a dot in one ring can wait on any of the d dots of another ring, and those d dots are the copies (Lemma 7 of the preprint). The figure below shows this for the half-turn on four dots.

Renamings that come back after 3 or more steps. These come in pairs: rotating by k steps and rotating by k steps the other way come back after the same number of steps, and when that number is 3 or more they are two different renamings. Each one undoes the other, so the two leave the same charts unchanged, and their counts are equal. Step 3, applied to the copies chart on the rings (d copies, n/d rings, and d × n/d = n), says that 2 × (the count − 1) is a multiple of n. So the two equal counts of a pair add up to 2 + 2 × (the count − 1), which leaves the same remainder as 2: together they act as if each were 1, even when one count alone does not leave 1. Eight dots: each quarter-turn (rotating by 2 steps either way) leaves 21 charts unchanged; 21 leaves remainder 5 on dividing by 8, but 21 + 21 = 42 leaves 2.

The half-turn. That leaves the renamings that come back after 2 steps. There is exactly one: the half-turn, which swaps each dot with the one opposite it (dot x with dot x + n/2) and leaves no dot in place. Mathematicians call such a renaming a fixed-point-free involution. For it, step 3 leaves the two possibilities 1 and n/2 + 1, and a count of which terms of the formula are odd and which are even (Lemma 8 of the preprint) decides between them. Step 3 says that the half-turn's count minus 1 is a multiple of n/2; Lemma 8 reruns the same argument while keeping track of one more factor of 2, and shows that this multiple is always an odd one. An odd multiple of n/2 leaves remainder n/2 on dividing by n, so the count leaves n/2 + 1. Four dots: the half-turn leaves 7 charts unchanged, 7 − 1 = 6 is 3 times 4/2, and 3 is odd, so 7 leaves remainder 3 on dividing by 4.

Adding everything up: the renamings other than "change nothing" and the half-turn number n − 2, and together they count as n − 2; the half-turn counts as n/2 + 1; so a(n) has the remainder of −((n − 2) + (n/2 + 1)), and adding 2 × n, a multiple of n, turns that into n/2 + 1. That is the even half of the conjecture.

No arrows

1234

2 and 4 wait on 1 or 3

123412341234

1 and 3 wait on 2 or 4

123412341234

The 7 charts on four dots that the half-turn leaves unchanged (it swaps 1 with 3 and 2 with 4, which turns each picture upside down). The pairs 1 and 3, and 2 and 4, are its two rings. Arrows come in matching pairs, and a dot in one ring can wait on one or both members of the other ring: those are the two copies. 7 leaves remainder 3 on dividing by 4, and 3 = 4/2 + 1.

Preciselythe exact statement, for readers who want it

Let σ(x) = x + 1 on the integers mod n. Burnside's lemma gives that the sum of #Fix(σ^k) over k = 0, …, n − 1 is ≡ 0 (mod n). If σ^k has order d, it has n/d cycles of length d, and #Fix(σ^k) = P_(n/d)(d) (Lemma 7); φ(d) values of k have order d, where φ is Euler's function. So

a(n) ≡ − sum over d | n, d > 1 of φ(d) P_(n/d)(d)   (mod n).

For d ≥ 3, φ(d) is even and n divides 2(P_(n/d)(d) − 1) by Lemma 6 (with s = d), so φ(d) P_(n/d)(d) ≡ φ(d). For d = 2, Lemma 8 (P_g(2) ≡ g + 1 (mod 2g) for g ≥ 2) gives P_(n/2)(2) ≡ n/2 + 1 (mod n). Since the φ(d) for d | n, d ≥ 3 add up to n − 2,

a(n) ≡ −((n − 2) + (n/2 + 1)) ≡ n/2 + 1   (mod n).

The general version

Allow at most r parents instead of two, and write ar(n) for that count, so a2 is A397711. Multiply ar(n) − 1 by lcm(1, …, r), the smallest number that 1 to r all divide (word 10). The result is always a multiple of n; the preprint calls this Theorem 3, and his comment on the entry states it. So whenever n shares no factor with lcm(1, …, r), the remainder of ar(n) on dividing by n is 1.

Cap rlcm(1, …, r)What the theorem gives
11Remainder 1 for every n ≥ 2. Here the count is (n + 1)n − 1, and n + 1 leaves remainder 1, so this case was easy.
2 (A397711)2Odd n: remainder 1. Even n ≥ 4: remainder 1 or n/2 + 1, and step 4 shows it is n/2 + 1.
3 (A397712)6Remainder 1 when n shares no factor with 6 (5, 7, 11, 13, …). For n = 9 it says only that the remainder is 1 more than a multiple of 3, and the actual remainder, 7, is. This explains what A397712 shows: 1 at primes, but not at every odd n.
412Remainder 1 when n shares no factor with 12.
5 and 660Remainder 1 when n shares no factor with 60.

For caps up to 6 the multiplier cannot be made smaller, for every n: for r ≤ 6 and n ≤ 150, the smallest multiplier that works for all those n is exactly lcm(1, …, r). That was found by exact computation over that range, reported in the preprint and computed again with new code under my direction. Since Theorem 3 shows that lcm(1, …, r) works for every n, this computation settles the question for those caps (it rests on the preprint, which has not yet been refereed). The preprint does not report larger caps.

Preciselythe exact statement, for readers who want it

Theorem 3. Let L_r = lcm(1, 2, …, r). For all r ≥ 1 and n ≥ 1, n divides L_r (a_r(n) − 1). In particular a_r(n) ≡ 1 (mod n) whenever gcd(n, L_r) = 1, that is, whenever n and L_r share no factor.

Theorem 2. Conjecture 1 is true.

The public record

The comment on the entry. Roberto Blanco Gómez added a comment to A397711 with a link to his preprint, signed October 7, 2026, and the OEIS editor Sean A. Irvine approved it on October 12. My conjecture line stays on the entry, and I remain its author; the comment records that the conjecture is now proved. In order, it says four things: the conjecture is true for all n; the recurrence over sinks gives n | 2(a(n) − 1), which settles odd n (steps 1 to 3); Burnside's lemma, with the fixed-point-free involutions, settles even n (step 4); and with at most r parents, n divides lcm(1, …, r) × (ar(n) − 1). OEIS editors review each edit before it goes live. That review checks that an edit belongs in the entry, and it is lighter than a journal referee's check of a proof.

Here are the lines of the entry that matter for this story, as it reads today, in the OEIS's own format: %N is the name, %S the first terms (starting with zero dots), %C a comment, %H a link and %A the author. In the name, "acyclic digraphs on n labeled nodes in which every node has in-degree at most 2" is the OEIS way of saying charts on n named dots with at most two parents each. "a(n) == 1 (mod n)" means that a(n) leaves remainder 1 when divided by n (word 9).

%N Number of acyclic digraphs (or DAGs) on n labeled nodes in which every node has in-degree at most 2.
%S 1,1,3,25,443,13956,695902,50741797,5111573805,681834525328,...
%C a(p) == 1 (mod p) for every prime p: the cyclic group C_p acts on the set of such DAGs by
   relabeling, and the only fixed DAG is the empty one.
%C Conjecture (verified for n <= 100): a(n) == 1 (mod n) for all odd n >= 3, and
   a(n) == n/2 + 1 (mod n) for all even n >= 4.
%C The conjecture is shown to be true for all n: the recurrence over sinks gives
   n | 2*(a(n) - 1), which settles the odd case; the even case follows from Burnside's lemma,
   using the fixed-point-free involutions. In the general case of in-degree <= r, n divides
   lcm(1,...,r)*(a_r(n) - 1). - _Roberto Blanco Gómez_, Oct 07 2026
%H Roberto Blanco Gómez, Congruences for labeled acyclic digraphs of bounded in-degree:
   a proof of the conjecture in OEIS A397711, Zenodo, 2026.
%A _Tyler Satchel Orden_, Jul 05 2026

The first comment line shown here is my own proof of the prime case, in the entry's compressed wording: "the cyclic group C_p acts by relabeling" is the renaming around a circle of the prime case. His comment, the third %C line shown here, summarizes the proof explained above. Its terms, in the words of this page:

  • The recurrence over sinks: the peel-off formula of step 1.
  • n | 2*(a(n) − 1): "n divides 2 × (a(n) − 1)", step 3 with a cap of two.
  • Burnside's lemma: the number of families of charts (the sets that renaming around the circle cycles through) equals the average number of charts that a renaming leaves unchanged (step 4).
  • Fixed-point-free involution: a renaming that swaps the dots in pairs and leaves none in place; here the half-turn of step 4.
  • in-degree <= r and a_r(n): a cap of r parents, and the count of charts under that cap.
  • lcm(1,...,r): the smallest number that 1, 2, …, r all divide (word 10).

The preprint. "Congruences for labeled acyclic digraphs of bounded in-degree: a proof of the conjecture in OEIS A397711", by Roberto Blanco Gómez alone, Zenodo record 23201448 (a congruence is a statement about remainders), posted on October 7, 2026 under an open licence that lets anyone reuse it with credit. It is four pages, in English and in Spanish, with Python and Rust programs that check its formulas and lemmas on finite ranges; the proof itself uses no computation. It calls the statement "Conjecture 1 (Orden, 2026)" and thanks me for the sequence and the conjecture. Its authorship note says that he chose the target and designed the method of checking, and that the computations, the search for the argument and the drafting were done with Claude (Anthropic) under his direction. He chose the conjecture by scanning the OEIS entries numbered A395000 or higher that contain conjectures, and a separate program of his, written in Rust, confirmed the pattern up to dots. A second AI system, which the preprint does not name, reviewed the text.

Connections to other fields

  • Machine learning: Bayesian networks. A Bayesian network's structure is a DAG (word 7), and learning one from data means searching among DAGs, often with a cap on the number of parents. a(n) is the size of that search space for a cap of two. The cap of two is also where learning turns hard. With at most one parent per variable, the best tree-shaped model can be found quickly (Chow and Liu, 1968); with a cap of two or more, finding the best-scoring network is NP-hard, which means it belongs to a class of problems for which no fast method is known and none is expected (Chickering, 1996, proved the decision version NP-complete for the BDe score, one standard way of scoring a network). Counting changes at the same cap: one parent gives the simple formula (n + 1)n − 1, and two parents has no formula that simple; its terms come from recurrences like those in my entry. These are separate facts, and no theorem links them.
  • Causal inference. Causal discovery, the search for cause-and-effect structure in data, searches over the same graphs, and sparse methods often limit how many direct causes a variable may have. Observational data alone cannot tell apart the graphs within one Markov equivalence class (a set of different DAGs that predict exactly the same patterns in such data), so the number of causal models such data can distinguish is smaller than a(n).
  • Software and planning. Any system of prerequisites without cycles is a DAG: build systems, package dependencies, course prerequisites, project schedules. a(n) counts the possible structures when each item depends directly on at most two others.
  • Statistics: random graphs for testing. To test a structure-learning method, statisticians draw DAGs uniformly at random (every DAG equally likely), and exact counts make that possible: Kuipers and Moffa (2015) sample DAGs this way, and Talvitie, Vuoksenmaa and Koivisto (2019) sample with bounded in-degree.
  • Combinatorics, the mathematics of counting. Labeled DAGs have been counted since the early 1970s, by Robinson (1973) and Stanley (1973) among others. The OEIS has a well-known precedent for a conjecture in an entry that someone else proved: Eric Weisstein noticed that the number of labeled DAGs (A003024) seemed to equal the number of 0-1 matrices whose eigenvalues are all positive real numbers, and McKay, Oggier, Royle, Sloane, Wanless and Wilf proved it in 2004.
  • Number theory, through symmetry. The prime-case argument and the proof's even step both count the families that a rotation cycles through. That is the idea behind the classic necklace proof of Fermat's little theorem (Golomb, 1956): for a prime p and any whole number a, ap − a is a multiple of p (for example 25 − 2 = 30 = 5 × 6), and the proof rotates necklaces of p beads in a colours. Counting what rotations leave unchanged is also a current research topic in combinatorics, the cyclic sieving phenomenon (Reiner, Stanton and White, 2004).
  • AI-assisted mathematics. Both halves of this story used AI and were checked by computer. The counts and the pattern came from computations Claude agents ran under my direction, and the preprint says its proof was found and written with Claude under its author's direction, reviewed by a second AI system and checked by an independent program. It is a small, complete example of what my workshop papers are about, checking AI-assisted work before accepting it: Verify Before You Accept and How Far a Wrong Claim Travels Before It Is Caught.

What is new here

  • The first exact counts of these charts beyond 7 dots. The one earlier table, by Allen, Goldsmith, Justice, Mattei and Raines in the Journal of Artificial Intelligence Research in 2017, stopped at 7. Eggeling and co-authors gave a recurrence for these counts in 2019, and Pépin and Viola another formula in 2025, both without a table of values. A397711 and A397712 are the first OEIS entries for these counts, and my paper computes them exactly up to dots for caps of two and three.
  • A proof of how fast the counts grow, for every cap. With at most k parents, the number of charts on n dots grows roughly like n to the power k × n; the paper proves this with the exact next term. The exact values point to a smaller correction, tied to the Airy function, which the paper states as a conjecture. The paper is under review at a journal.
  • A conjecture in the OEIS that another mathematician proved within three months. What that proof shows, and what it does not, is the next section.

What this shows and what it does not

The conjecture is a precise statement found in computed data. It turned out to be true, and proving it took a new argument.

What the proof shows.

  • Both halves of the conjecture are true, including the even half, n/2 + 1. That half was the harder one: the divisibility of step 3 gives only part of it, and the rest needed the extra count, in step 4, of which terms of the formula are odd and which are even (Lemma 8 of his preprint).
  • The pattern belongs to the cap of two, as it was stated: with a cap of three the even half fails first at six dots, where the remainder is 0, not 4, and the odd half first at nine dots, where the remainder is 7, not 1.
  • It led to his theorem for every cap r: n divides lcm(1, …, r) × (ar(n) − 1), and computation shows the multiplier lcm(1, …, r) cannot be made smaller for caps up to 6.

Another researcher found the conjecture in the OEIS and proved it about three months after the entry went up. His preprint names it "Conjecture 1 (Orden, 2026)".

Its limits.

  • The proof is short and uses standard tools, inclusion-exclusion (step 1) and Burnside's lemma (step 4), applied to the copies count of step 2 in five short lemmas. He reports that, with AI help, it took one day from picking the conjecture to a review of the proof by a second AI system.
  • It is a statement about the remainders of one family of counts, so its reach is narrow.
  • The proof is a preprint and has not been refereed by a journal.
  • Many OEIS entries list conjectures, and contributors prove some of them; his note is part of a project of proving open OEIS statements.
  • The counts themselves had been computed before inside random-sampling methods (Kuipers and Moffa, 2015; Talvitie, Vuoksenmaa and Koivisto, 2019), and Eggeling and co-authors (2019) and Pépin and Viola (2025) published formulas that compute them. What my paper adds is in what is new here.

Try any n

This calculator computes the exact count with the peel-off formula of step 1, in exact integer arithmetic in the browser, then shows its remainder on dividing by n, what the proved statements predict, and whether the count agrees.

At most this many parents

Remainder 1 on dividing by 9, a count of 12 digits; matches the prediction.

Count
681,834,525,328
12 digits
Remainder
1 on dividing by 9
Predicted
Odd n: the rule, now proved, says the remainder is 1.
Check
Matches. n divides 2 × (count − 1): yes.

Try 9 with at most three parents to see the 7, or any even n from 4 on with two to see n/2 + 1.

What was checked

On October 24, 2026, Claude agents (Anthropic), working under my direction, re-checked the proof with new code written from the preprint's statements, without reusing his programs:

  • The peel-off formula (step 1), rewritten from the preprint, reproduces the 17 terms printed in the entry and agrees with the entry's own program up to 30 dots.
  • Brute force, a program that lists every possible chart and counts, for 4, 5 and 6 dots: the number of charts each rotation leaves unchanged matched the copies count of step 2, and the Burnside totals were multiples of n. For 6 dots the six counts add up to 696,114 = 6 × 116,019.
  • The conjecture holds for every n from 3 to 400.
  • The general version holds for every cap up to 6 and every n up to 150.
  • The copies version of step 3 (Lemma 6) holds for every cap up to 4, every number of copies up to 8 and every number of dots up to 40.
  • The half-turn count (Lemma 8) leaves the predicted remainder for every number of rings from 2 to 300, that is, for every even n from 4 to 600.
  • The one-parent case: with at most one parent the count equals (n + 1)n − 1 for every n up to 60.
  • A side fact: with at most three parents, a3(9) = 51,350,946,391,960 leaves 7 on dividing by 9, as this page says.

His own check programs, distributed with the preprint, also passed when rerun: run with them, the sink recurrence his proof starts from reproduces all values of my table, from 0 dots to 100, which I had computed in July by a different method, a formula that sorts the dots into levels. That checks one method against the other; it does not check the remainder argument built on top of the formula. A separate Claude session, starting fresh, read the proof step by step and found no gap. The hand counts on this page were confirmed by a separate brute-force program, and the calculator and the three tables compute their counts from the formula, which was checked against the published terms of A397711 and A397712. All of these checks were run by the same kind of AI system that helped write the proof, so they could share a blind spot with it, and checks on small cases support a proof without being one.

  • The conjecture, listed in OEIS A397711 in July 2026, is proved for every size in a preprint by Roberto Blanco Gómez, posted on Zenodo on October 7, 2026; the preprint has not been refereed.
  • His comment on the entry, approved on October 12, 2026, states the proof and the general version for every cap.
  • My paper on these counts, with the exact values and the growth proof, is under review at a journal; the Airy correction is a conjecture.

The counts themselves, the growth result and the uses of the count are explained in more detail on the dependency-chart explainer.

Sources

  • OEIS A397711 and its history; related entries A397712 (at most three parents), A395247 (every cap), A003024 (all DAGs), A000272 (at most one parent, shifted).
  • R. Blanco Gómez, Congruences for labeled acyclic digraphs of bounded in-degree: a proof of the conjecture in OEIS A397711, preprint, Zenodo, 2026: doi.org/10.5281/zenodo.23201448.
  • T. S. Orden, Labeled acyclic digraphs with bounded in-degree, under review; code and outputs: doi.org/10.5281/zenodo.24219938.
  • R. W. Robinson, Counting labeled acyclic digraphs, in F. Harary (ed.), New Directions in the Theory of Graphs, Academic Press, 1973, 239-273.
  • R. P. Stanley, Acyclic orientations of graphs, Discrete Mathematics 5 (1973), 171-178.
  • R. Eggeling, J. Viinikka, A. Vuoksenmaa and M. Koivisto, On structure priors for learning Bayesian networks, AISTATS 2019, PMLR 89, Corollary 4.
  • T. E. Allen, J. Goldsmith, H. E. Justice, N. Mattei and K. Raines, Uniform random generation and dominance testing for CP-nets, Journal of Artificial Intelligence Research 59 (2017), Theorem 18 and Table 1: doi.org/10.1613/jair.5455.
  • B. D. McKay, F. E. Oggier, G. F. Royle, N. J. A. Sloane, I. M. Wanless and H. S. Wilf, Acyclic digraphs and eigenvalues of (0,1)-matrices, Journal of Integer Sequences 7 (2004), Article 04.3.3.
  • C. K. Chow and C. N. Liu, Approximating discrete probability distributions with dependence trees, IEEE Transactions on Information Theory 14 (1968), 462-467.
  • D. M. Chickering, Learning Bayesian networks is NP-complete, in Learning from Data: Artificial Intelligence and Statistics V, Springer, 1996.
  • M. Pépin and A. Viola, Asymptotic analysis and efficient random sampling of directed ordered acyclic graphs, Electronic Journal of Combinatorics 32(4) (2025), Paper 4.56: doi.org/10.37236/12250.
  • J. Kuipers and G. Moffa, Uniform random generation of large acyclic digraphs, Statistics and Computing 25 (2015), 227-242: doi.org/10.1007/s11222-013-9428-y.
  • T. Talvitie, A. Vuoksenmaa and M. Koivisto, Exact sampling of directed acyclic graphs from modular distributions, Proc. UAI 2019, PMLR 115 (2020), 965-974.
  • S. W. Golomb, Combinatorial proof of Fermat's "little" theorem, American Mathematical Monthly 63 (1956), 718.
  • V. Reiner, D. Stanton and D. White, The cyclic sieving phenomenon, Journal of Combinatorial Theory, Series A 108 (2004), 17-50.

Revision history

  1. 2026-11-20 · revised

    The multiplier for caps up to six is now described as settled for every n (it rests on the unrefereed preprint), and the match with the full table of values is credited to his own programs, where it came from.

  2. 2026-11-20 · corrected

    The opening says I found the pattern with Claude agents computing the counts; the cap is defined as a word; Pépin and Viola are credited; the table caption says where the cap-three rule breaks; the sources carry full citation details.

  3. 2026-11-19 · corrected

    With a cap of three the pattern first fails at six dots, as the table on this page shows, not at nine; nine is the first odd failure.

  4. 2026-11-16 · revised

    Added what the proof shows and what it does not, what the result is part of, the lines of the live entry with every term of the proof comment explained, and why the cap of two is also where learning turns hard.

  5. 2026-11-16 · revised

    The title and the opening line now say plainly that my conjecture has a proof.

  6. 2026-11-16 · created

    Written as a from-the-start explainer of the conjecture and its proof, with a calculator.

How to cite this

Tyler Satchel Orden (2026). My conjecture in A397711 now has a proof, explained from the start. Cyborg Mathematics. https://cyborgmathematics.com/writing/a397711-conjecture-from-zero (updated November 20, 2026)

This page has no DOI of its own. Cite the URL and the date; the revision history above keeps a dated citation meaningful.

BibTeX
@misc{orden2026a397711conjecturefromzero,
  author       = {Tyler Satchel Orden},
  title        = {My conjecture in A397711 now has a proof, explained from the start},
  year         = {2026},
  howpublished = {Cyborg Mathematics},
  url    = {https://cyborgmathematics.com/writing/a397711-conjecture-from-zero}
}

See also