Skip to main content
QUICK REVIEW

[Paper Review] Efficient enumeration of graceful permutations

Michał Adamaszek|ArXiv.org|Aug 21, 2006
Graph Labeling and Dimension ProblemsComputer Science3 references8 citations
TL;DR

This paper improves the asymptotic lower bound on the number of graceful $n$-permutations from $\Omega((5/3)^n)$ to $\Omega(2.37^n)$ using a computer-assisted algorithm that efficiently enumerates graceful permutations via a recursive search tree with equivalence class optimization based on symmetry and complementarity. The key contribution is a refined enumeration method that drastically reduces memory usage and enables computation of large-scale counts, leading to the improved exponential lower bound.

ABSTRACT

A graceful n-permutation is a graceful labeling of an n-vertex path P_n. In this paper we improve the asymptotic lower bound on the number of such permutations from (5/3)^n to 2.37^n. This is a computer-assisted proof based on an effective algorithm that enumerates graceful n-permutations. Our algorithm is also presented in detail.

Motivation & Objective

  • To improve the asymptotic lower bound on the number of graceful $n$-permutations, which are permutations of $\{0, \dots, n-1\}$ such that the absolute differences of adjacent elements yield $\{1, \dots, n-1\}$.
  • To develop an efficient algorithm for enumerating graceful $n$-permutations by exploiting structural symmetries and complementarity in the search space.
  • To compute large-scale counts of graceful permutations with specific endpoints to derive tighter exponential lower bounds.
  • To establish that $G(n) = \Omega(2.37^n)$, significantly improving upon the prior $\Omega((5/3)^n)$ bound.

Proposed method

  • A recursive depth-first search is used to build partial permutations by adding edges in decreasing order of edge labels, starting from $n-1$ down to $1$.
  • Each node in the search tree is represented by two arrays: `free[u]` (number of available slots for vertex $u$) and `forb[u]` (the paired endpoint of $u$ in a path, if any).
  • Equivalence classes of partial permutations are defined based on identical `free` and `forb` structures, or their complement (relabeling $u \to n-1-u$), reducing redundant computation.
  • A hash table is used to group equivalent nodes and track their multiplicities, ensuring only one representative per class is expanded.
  • The algorithm is adapted to compute $G(2m; j, j+m)$, the number of graceful permutations with endpoints $j$ and $j+m$, for optimal growth rate estimation.
  • The growth rate $\gamma_{m,j} = G(2m; j, j+m)^{1/(2m)}$ is maximized by choosing $j = \lfloor m/2 \rfloor$, and the bound is derived from $\gamma_{32,16} > 2.37$.

Experimental results

Research questions

  • RQ1What is the best possible asymptotic lower bound on the number of graceful $n$-permutations?
  • RQ2Can a computer-assisted algorithm efficiently enumerate graceful permutations by exploiting symmetry and complementarity?
  • RQ3What is the maximum growth rate $\gamma_{m,j}$ achievable for $G(2m; j, j+m)^{1/(2m)}$?
  • RQ4How can the search space of graceful permutations be reduced using equivalence classes of partial permutations?
  • RQ5Is it possible to significantly improve upon the prior $\Omega((5/3)^n)$ lower bound for $G(n)$?

Key findings

  • The number of graceful $n$-permutations satisfies $G(n) = \Omega(2.37^n)$, improving upon the previous bound of $\Omega((5/3)^n)$.
  • The value $G(64; 16, 48) = 1,172,380,428,523,169,632,220,649$ was computed, yielding $\gamma_{32,16} > 2.37$.
  • The algorithm reduces memory usage to less than $3 \times 10^5$ equivalence classes per level, even though the full search tree has $\approx 0.2 \times 10^{18}$ nodes at level 1 for $n=40$.
  • The growth rate $\gamma_{m,\lfloor m/2 \rfloor}$ is increasing with $m$, suggesting that larger $m$ would yield even better bounds.
  • The method confirms that $G(n; 16) = \Omega(2.37^n)$, where $G(n; a)$ counts graceful permutations with left endpoint $a$.
  • The computed quotients $G(n+1)/G(n)$ for $n \leq 40$ range between 3 and 4.5, indicating that the lower bound of $2.37^n$ is still conservative.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.