F. Mora DE NUGIS GROEBNERIALIUM 3: SOLITAIRE, REIß, GRÖBNER

Similar documents
#A11 INTEGERS 12 (2012) FIBONACCI VARIATIONS OF A CONJECTURE OF POLIGNAC

Introduction to Lucas Sequences

ON OZANAM S RULE. Adam Krause Department of Mathematics, University of Rochester, Rochester, New York

The embedding problem for partial Steiner triple systems

Some distance functions in knot theory

I. Duality. Macaulay F. S., The Algebraic Theory of Modular Systems, Cambridge Univ. Press (1916);

Algebra. Modular arithmetic can be handled mathematically by introducing a congruence relation on the integers described in the above example.

Chapter 2 - Relations

An Intuitive Introduction to Motivic Homotopy Theory Vladimir Voevodsky

ARITHMETICALLY COHEN-MACAULAY BUNDLES ON THREE DIMENSIONAL HYPERSURFACES

NUMERICAL MONOIDS (I)

Mathematica Slovaca. Dragan Marušič; Tomaž Pisanski The remarkable generalized Petersen graph G(8, 3) Terms of use:

CHARACTERIZING THE NUMBER OF m ARY PARTITIONS MODULO m Mathematics Subject Classification: 05A17, 11P83

Peg Solitaire on Graphs: 2015 and Beyond!

Section 0. Sets and Relations

Citation Osaka Journal of Mathematics. 44(4)

ON COHERENCE OF GRAPH PRODUCTS AND COXETER GROUPS

INITIAL COMPLEX ASSOCIATED TO A JET SCHEME OF A DETERMINANTAL VARIETY. the affine space of dimension k over F. By a variety in A k F

On repdigits as product of consecutive Lucas numbers

MCS 563 Spring 2014 Analytic Symbolic Computation Friday 31 January. Quotient Rings

cse547, math547 DISCRETE MATHEMATICS Professor Anita Wasilewska

Contents. To the Teacher... v

ORDERS OF UNITS IN MODULAR ARITHMETIC

A Local-Global Principle for Diophantine Equations

THERE IS NO Sz(8) IN THE MONSTER

, 0, 1, c ξ, d ξη ξ,η<α,

Cullen Numbers in Binary Recurrent Sequences

SQUARE PATTERNS AND INFINITUDE OF PRIMES

On The Belonging Of A Perturbed Vector To A Subspace From A Numerical View Point

FIBONACCI DIOPHANTINE TRIPLES. Florian Luca and László Szalay Universidad Nacional Autonoma de México, Mexico and University of West Hungary, Hungary

G. Sburlati GENERALIZED FIBONACCI SEQUENCES AND LINEAR RECURRENCES

TROPICAL SCHEME THEORY

MAT246H1S - Concepts In Abstract Mathematics. Solutions to Term Test 1 - February 1, 2018

Hypergeometric series and the Riemann zeta function

Explicit solution of a class of quartic Thue equations

Definition 6.1 (p.277) A positive integer n is prime when n > 1 and the only positive divisors are 1 and n. Alternatively

Congruent numbers via the Pell equation and its analogous counterpart

Some prehistory of Lagrange s Theorem in group theory:

Introduction to Combinatorial Game Theory

Polynomials, Ideals, and Gröbner Bases

Geometric Complexity and Applications CIS 6930 August 26 - September 4, Lecture 1 through 4

Contents. To the Teacher... v

Hanoi Graphs and Some Classical Numbers

Section Summary. Relations and Functions Properties of Relations. Combining Relations

Decomposition of Pascal s Kernels Mod p s

MATH 433 Applied Algebra Lecture 4: Modular arithmetic (continued). Linear congruences.

PROBABILITY AND STATISTICS Vol. I - Random Variables and Their Distributions - Wiebe R. Pestman RANDOM VARIABLES AND THEIR DISTRIBUTIONS

A relative of the Thue-Morse Sequence

A NOTE ON AN ADDITIVE PROPERTY OF PRIMES

On the binary solitaire cone

GAPS IN BINARY EXPANSIONS OF SOME ARITHMETIC FUNCTIONS, AND THE IRRATIONALITY OF THE EULER CONSTANT

G. Sburlati RANDOM VARIABLES RELATED TO DISTRIBUTIONS OF SUMS MODULO AN INTEGER

Weak Relative Pseudo-Complements of Closure Operators

Algorithms CMSC Basic algorithms in Number Theory: Euclid s algorithm and multiplicative inverse

On squares of squares

Reformulation of the Hadamard conjecture via Hurwitz-Radon word systems

Appell Lauricella hypergeometric functions over finite fields, and a new cubic transformation formula

The next sequence of lectures in on the topic of Arithmetic Algorithms. We shall build up to an understanding of the RSA public-key cryptosystem.

1. Consider the conditional E = p q r. Use de Morgan s laws to write simplified versions of the following : The negation of E : 5 points

Change of Ordering for Regular Chains in Positive Dimension

Winter Camp 2009 Number Theory Tips and Tricks

NUMBERS OF SOLUTIONS OF EQUATIONS IN FINITE FIELDS. The equations to be considered here are those of the type

#A9 INTEGERS 12 (2012) PRIMITIVE PRIME DIVISORS IN ZERO ORBITS OF POLYNOMIALS

SOLVABLE GROUPS OF EXPONENTIAL GROWTH AND HNN EXTENSIONS. Roger C. Alperin

Ma/CS 6a Class 18: Groups

ON CONGRUENCE PROPERTIES OF CONSECUTIVE VALUES OF P(N, M) Brandt Kronholm Department of Mathematics, University at Albany, Albany, New York, 12222

ABSTRACT 1. INTRODUCTION

distibution. G. Caristi - E. Saitta and M. Stoka

Projective Schemes with Degenerate General Hyperplane Section II

SQUARES FROM SUMS OF FIXED POWERS. Mark Bauer and Michael A. Bennett University of Calgary and University of British Columbia, Canada

Geometric motivic integration

Diophantine quadruples and Fibonacci numbers

The Chameleons of Camelot

= More succinctly we can write the preceding statements as

SUMSETS MOD p ØYSTEIN J. RØDSETH

Shi Feng Sheng Danny Wong

A Four Integers Theorem and a Five Integers Theorem

Classical transcendental curves

#A67 INTEGERS 18 (2018) ON THE NESTED LOCAL POSTAGE STAMP PROBLEM

IDENTITIES FOR OVERPARTITIONS WITH EVEN SMALLEST PARTS

ZivRan(*) ON A THEOREM OF MARTENS

Understanding Decimal Addition

CSE 20 DISCRETE MATH. Fall

Solving Quadratic & Higher Degree Equations

Monoids. Definition: A binary operation on a set M is a function : M M M. Examples:

QUADRATIC CONGRUENCES FOR COHEN - EISENSTEIN SERIES.

Combinatorics on Words:

Discrete Mathematics. Benny George K. September 22, 2011

Projects on elliptic curves and modular forms

On the Inoue invariants of the puzzles of Sudoku type

Partial Sums of Powers of Prime Factors

Fibonacci Diophantine Triples

Early Writings on Graph Theory: Topological Connections

On the number of cyclic subgroups of a finite Abelian group

A CHARACTERIZATION OF LOCALLY FINITE VARIETIES THAT SATISFY A NONTRIVIAL CONGRUENCE IDENTITY

9 MODULARITY AND GCD PROPERTIES OF GENERALIZED FIBONACCI NUMBERS

CS 468: Computational Topology Group Theory Fall b c b a b a c b a c b c c b a

Elementary Number Theory

a = a i 2 i a = All such series are automatically convergent with respect to the standard norm, but note that this representation is not unique: i<0

A field F is a set of numbers that includes the two numbers 0 and 1 and satisfies the properties:

Transcription:

Rend. Sem. Mat. Univ. Pol. Torino Vol. 73/2, 3 4 (2015), 317 321 F. Mora DE NUGIS GROEBNERIALIUM 3: SOLITAIRE, REIß, GRÖBNER Abstract. The analysis of the Solitaire given by Reiß is here reformulated via groebner technology. 1. Solitaire Solitaire is a patience board game of which Leibniz was fond and whose first mention is to be found in a french book dating from 1668. The game is played on a board with thirtyseven holes in the following configuration and thirtysix pieces, one in each hole except the central one. The game entails removing one piece after another until a single piece is left; the only move allowed is like a capture in draughts move: one piece jumps over another into an empty hole, and the piece which was jumped over is removed. So, from the original position one could reach e.g. the configurations In the second half of the Nineteenth Century, it became popular a kind of puzzle whose This series [4, 5, 6] of notes, whose title mimics Walter Map s De nugis curialium [3] is devoted to trifles related to Buchberger Theory and its application. I learned all the historical informations on Solitaire, the quoted configurations and Reiß solution from [1], which is the first in a series of books discussing arithmetical and combinatorial divertissements, some of which are now classical computer science problems like Hamiltonian paths, binary arithmetic, traversing labyrinths, the eight queens problem, etc.. The books are now available in a reprinted version [2]. 317

318 F. Mora aim was either to end with a specific configuration like which are known as The Four Evangelists and the Twelve Apostles and The Pentagon, starting either by the original configuration or by any configuration using all the pieces (i.e. covering all the holes except one); or to begin with such configuration and remove all pieces except one. 2. Reiß This naturally raised the question of proving the impossibility of a given problem. A solution was proposed in Crelle by Reiß [7], who extended the allowed configurations, allowing any number of pieces and that each hole could contain any number of them, and considered two configurations congruent if one of them is obtained by applying a move to the other one. Then he posed (and solved) the question of finding a set of canonical representatives for the congruence classes. Following the presentation in [1] I assume that each hole could contain also a negative number of pieces and I remark that the result holds even in the case of an infinite board equivalent to (and indexed by) the lattice Z 2. Let us denote, (m,n) Z 2,C(m,n) the configuration where there is a single piece in the hole indexed by (m,n) and no piece everywhere else, and by (m,n) Z 2 γ(m,n)c(m,n) the configuration which has exactly γ(m,n) pieces in each hole indexed by (m,n). In this setting it is easy to describe the results stated and proved by Reiß: A less easy puzzle was already discussed by Leibniz, which, in a January 17, 1716 letter to Montmort, writes I took it in the other direction, i.e. instead of undoing a piece composition according the rules of the game [...], I thought that it would be better to restore what has been destroyed [...]; in this way one could intend to achieve a specific configuration. [...] Why do so?, one could ask. I answer: to improve the art of inventing. a student of Gauß which taught in Bruxelles and Frankfurt a. M. In fact, Lucas embeds the board in the lattice N 2 and describes his notation as a generalization of the one introduced for chess problems in [8] where On trouve [...] une solution curieuse du problème du cavalier des échecs sur un échiquier cubique, et les premiers éléments scientifiques de la géometrie des tissus à fils curvilignes, an argument in applied industrial mathematics in which Lucas worked a lot. An embedding in Z 2 is instead suggested by Reiß s notation.

Solitaire, Reiß, Gröbner 319 THEOREM 1. The following holds: 1. It is possible to remove one piece from each of three contiguous holes in a row (column); 2. it is possible to remove two pieces from a hole; 3. a piece can jump two holes in both directions along a row (column); 4. the two configurations C(m,n) and C(m,n ) are congruent iff m m (mod 3), and n n (mod 3); 5. each configuration C is equivalent to one of the following sixteen configurations: γ(0,0)c(0,0)+γ(1,0)c(1,0)+γ(0,1)c(0,1)+γ(1,1)c(1,1),γ(i, j) Z 2. 3. Gröbner When, in the Eighties, I read this result, which is one of the oldest non trivial application of the notion of canonical form" I have ever seen, it seemed to me that the Gröbner technology would give an immediate proof of Reiß result. In fact, it was sufficient to describe in terms of Laurent polynomials in Z[[X,Y ]] the configurations associating γ(m,n)c(m,n) to γ(m,n)x m Y n (m,n) Z 2 (m,n) Z 2 and each Laurent polynomial (m,n) Z 2 γ(m,n)x m Y n Z[[X,Y ]] to its canonical form in Z[X,T,Y,Z] modulo the ideal (XT 1,YZ 1); to realize that, in this setting, the elementary moves are described by the polynomials P := { X i f 1,X i f 2,T i f 1,T i f 2,Y i f 3,Y i f 4,Z i f 3,Z i f 4,i N } where f 1 := T + 1 X, f 2 := T 1 X, f 3 := Z + 1 Y, f 3 := Z 1 Y. and that, therefore, the problem posed by Reiß could be translated to PROBLEM 1. Describe the set of the canonical forms of the polynomials in Z[X,T,Y,Z] modulo the ideal I Z[X,T,Y,Z] generated by P {XT 1,YZ 1};

320 F. Mora to remark that (1) 2 =(T + 1 X) (T 1 X), 2 =(Z + 1 Y ) (Z 1 Y ), so that, as a consequence, G := {X 2 + X 1,T X 1,2,Z Y 1,Y 2 +Y 1,XT 1,YZ 1} is a basis of I; to solve therefore the problem by computing the Gröbner basis of the ideal generated by G, using any degree compatible ordering < s.t. X < T < Y < Z, which requires only to perform the Buchberger reductions XT 1 = X(T X 1)+(X 2 + X 1), YZ 1 = Y (Z Y 1)+(Y 2 +Y 1), in order to conclude that the required Gröbner basis is {X 2 + X 1,T X 1,2,Z Y 1,Y 2 +Y 1} so that Z[X,T,Y,Z] \ I = Z 2 [X,Y ] \ (X 2 + X + 1,Y 2 +Y + 1), from which all the statements of Reiß s theorem follow immediately. REMARK 1. Of course, there is no need to deal with Laurent polynomials, if, following Vandermonde and Lucas approach, we embed the board in N 2 and we represent the configurations by polynomials in Z[X,Y ]; in this setting the elementary moves are the polynomials P := { X i (X 2 ± X 1),Y i (Y 2 ±Y 1),i N } generating the ideal I Z[X,Y ] w.r.t. which we need to describe the set of the canonical forms. Once it is proved that 2 I, it is evident that I is generated by the Gröbner basis {X 2 + X 1,2,Y 2 +Y 1}. However, the euclidean derivation 2 =(X 1)(X 2 + X 1) (X + 1)(X 2 X 1) I seems to me less elegant than (1), which moreover represents two effective moves.

Solitaire, Reiß, Gröbner 321 REMARK 2. Solitaire could be directly interpreted as a game on a board of Boolean values, each move amounting to simultaneously negate three consecutive values in a line. Under this interpretation the configurations are represented by polynomials in Z 2 [X,Y ], the elementary moves are the polynomials P := { X i (X 2 + X + 1),Y i (Y 2 +Y + 1),i N }, the ideal I Z 2 [X,Y ] w.r.t. which we need to describe the set of the canonical forms, is generated by the basis {X 2 +X +1,Y 2 +Y +1}, which is obviously Gröbner. In this way Reiß s theorem can be derived by a completely elementary and elegant argument. References [1] E. LUCAS. Recreations mathematiques, Blanchad, Paris 1882. [2] E. LUCAS. Recreations mathematiques, Gauthier-Villars, Paris 1977. [3] WALTER MAP De nugis curialium; Courtiers Trifles, ed. and trans. M. R. James. Revised by C. N. L. Brooke and R. A. B. Mynors. (Oxford Medieval Texts.), Clarendon Press, Oxford University Press, New York 1983. [4] F. MORA, De Nugis Groebnerialium 1: Eagon, Northcott, Groebner. In Buchberger B., Winkler F. (Eds.), Gröbner Bases and Application, Cambridge Univ. Press, Cambridge 1998, 434-447. [5] F. MORA, De Nugis Groebnerialium 2: Applying Macaulay s Trick in Order to Easily Write a Gröbner Basis, Appl. Algebra Eng. Commun. Comput. 13 6 (2003) 437-446. [6] F. MORA, De Nugis Groebnerialium 4: Zacharias, Spears, Möller, Proc. ISSAC 15, ACM, New York 1915, 191 198. [7] M. REISS, Beiträge zur Theorie des Solitär-Spiels, J. rein und ang. Math. 65 (1857), 344 379. [8] A.-T. VANDERMONDE, Remarques sur les problèmes de situation, Mem. Ac. R. Sci. Paris, (1714), 566 574. AMS Subject Classification: 13P10, 91A46 Ferdinando MORA, DIMA, Università di Genovay Via Dodecaneso 25, I-16100 Genova, ITALY e-mail: 5919@unige.it Lavoro arrivato in redazione il 7-6-16.