cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

User: Gordon Royle

Gordon Royle's wiki page.

Gordon Royle has authored 4 sequences.

A348222 Number of uniquely-3-colorable graphs on n vertices.

Original entry on oeis.org

1, 1, 3, 12, 72, 856, 17018, 531568
Offset: 3

Author

Gordon Royle, Oct 08 2021

Keywords

Comments

A graph is uniquely 3-colorable if there is a unique partition of its vertex set into 3 independent sets. This implies that every proper 3-coloring of the graph has this partition as its set of color classes.

Examples

			a(3) = 1 and  a(4) = 1 because the complete graph K3 and K4-e are the only such graphs on 3 and 4 vertices, respectively.
		

Crossrefs

Formula

a(n) = A369227(n,3). - Eric W. Weisstein, Jan 16 2024

A091969 Related to Gray codes: see Comments lines.

Original entry on oeis.org

1, 1, 1, 4, 28, 550, 28456, 4134861, 1781622569, 2407100396065, 10660643722901700, 159393017165624876022, 8189716815725538561261887
Offset: 1

Author

Gordon Royle, Mar 14 2004

Keywords

Comments

A (cyclic) Gray code is a listing of the binary n-tuples in a cyclic sequence so that adjacent elements differ in exactly one bit position. So we can describe a Gray code just by listing the bit that gets changed at each step. This gives us a sequence of 2^n numbers, each of which lies in {0..n-1}.
Let c_i be the number of times that the bit in position i is changed. This gives us a sequence (c0,c1,...,c_{n-1}), called the transition count of the code, such that each number is even and the sum is 2^n.
In addition, if we assume that we reorder everything so that these numbers are nondecreasing (c_0 <= c_1 <= ... <= c_{n-1}) then there is an additional condition c_0 + c_1 + ... + c_{j-1} >= 2^j by noting that all 2^j patterns must occur in the j least-flipped bit positions. Then a(n) is the number of sequences satisfying these conditions.
For example, for n=4 there are 4 possible sequences: 2 2 4 8, 2 2 6 6, 2 4 4 6 and 4 4 4 4 and indeed there are cyclic Gray codes with each possible transition count sequence, so a(4) = 4.
Additional comments from Rob Pratt: set b_i = c_i / 2. Let a(n,s,p) be the number of solutions to b_0 + b_1 + ... + b_{n-1} = s, 1 <= b_0 <= b_1 <= ... <= b_{n-1} <= p and b_0 + b_1 + ... + b_{j-1} >= 2^j for j = 1 to n.
Then a(n,s,p) satisfies the following recursion (written in Mathematica syntax). a[1, s_, p_] := a[1, s, p] = If[1 <= s <= p, 1, 0]; a[n_, s_, p_] := a[n, s, p] = If[s < 2^(n - 1), 0, Sum[a[n - 1, s - k, Min[p, k]], {k, 1, Min[p, s]}]]; we want to compute a(n,2^(n-1),2^(n-1)).

Programs

  • Mathematica
    a[1, s_, p_] := a[1, s, p] = If[1 <= s <= p, 1, 0]; a[n_, s_, p_] := a[n, s, p] = If[s < 2^(n - 1), 0, Sum[a[n - 1, s - k, Min[p, k]], {k, 1, Min[p, s]}]]; A091969[n_] := a[n, 2^(n-1), 2^(n-1)]

Extensions

More terms from Don Reble and Rob Pratt, Mar 14 2004
a(11)-a(13) from Hans Havermann, Mar 15 2004

A091302 Number of equivalence classes of directed Hamiltonian cycles (or Gray codes) in the binary n-cube with one node marked.

Original entry on oeis.org

1, 1, 2, 112, 15109096, 99550593673808010752
Offset: 1

Author

N. J. A. Sloane, following a suggestion of Gordon Royle, Feb 20 2004

Keywords

Comments

Equals A066037(n)/(n!/2). See A006069, A003042, A066037 for more information.

References

  • D. E. Knuth, The Art of Computer Programming, vol. 4A, Combinatorial Algorithms, (to appear), section 7.2.1.1.

Crossrefs

Extensions

a(6) from Michel Deza, Mar 28 2010
a(6) corrected by Haanpaa and Östergård, 2012, who also provided a more precise definition. - N. J. A. Sloane, Sep 06 2012

A078639 Number of nonisomorphic graphic matroids (by rank or number of vertices).

Original entry on oeis.org

1, 2, 5, 16, 73, 533, 7303
Offset: 1

Author

Gordon Royle, Oct 06 2008

Keywords

Comments

Could A002632 be an erroneous version of this sequence?
The old entry with this sequence number was a duplicate of A057475.