Next Article in Journal
Real-Time Fuzzy Record-Matching Similarity Metric and Optimal Q-Gram Filter
Previous Article in Journal
CEEMDAN-IHO-SVM: A Machine Learning Research Model for Valve Leak Diagnosis
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Simple Rules of a Discrete Stochastic Process Leading to Catalan-like Recurrences

by
Mariusz Białecki
Institute of Geophysics, Polish Academy of Sciences, Księcia Janusza 64, 01-452 Warsaw, Poland
Algorithms 2025, 18(3), 149; https://doi.org/10.3390/a18030149
Submission received: 11 February 2025 / Revised: 1 March 2025 / Accepted: 4 March 2025 / Published: 6 March 2025
(This article belongs to the Section Algorithms for Multidisciplinary Applications)

Abstract

:
A method for obtaining integer sequences is presented by defining simple rules for the evolution of a discrete dynamical system. This paper demonstrates that various Catalan-like recurrences of known integer sequences can be obtained from a single stochastic process defined by simple rules. The resulting exact equations that describe the stationary state of the process are derived using combinatorial analysis. A specific reduction of the process is applied, and the solvability of the reduced system of equations is demonstrated. Then, a procedure for providing appropriate parameters for a given sequence is formulated. The general method is illustrated with examples of Catalan, Motzkin, Schröder, and A064641 integer sequences. We also point out that by appropriately changing the parameters of the system, one can smoothly transition between distributions related to Motzkin numbers and shifted Catalan numbers.

1. Introduction

Catalan numbers are remarkably ubiquitous in mathematics. More than two hundred objects are counted by them, as described in [1]. Moreover, Catalan numbers have the longest entry in the On-Line Encyclopedia of Integer Sequences (OEIS) [2]. They are the most well-known representative of a class of numbers called Catalan-like numbers, with which they share their various properties [3,4]. All Catalan-like numbers belong to the larger class of integer sequences [2].
In addition to the purely combinatorial origin of certain integer sequences, they can also appear in other areas of mathematics. In particular, they can arise from dynamical systems in the context of closed orbits of a point under the action of map iteration [5,6,7] and from queueing theory [8].
Catalan-like numbers also appear in a very interesting way in ref. [9], where the problem of the decay of initial data in the form of a unit step for Bogoyavlensky lattices [10,11] is studied. It turns out that the problem is solvable, since the dynamics are linearizable, and the solution is expressed in terms of generalized hypergeometric functions being exponential generating functions for generalized Catalan numbers. This work extends earlier results [12], where the crucial role of the form of this exponential generating function was remarkably noticed. The results can then be proved using known identities for Hankel determinants [3,13]. Moreover, ref. [9] also extends the result [14], where a symmetry reduction consistent with dynamics is used instead of identities for determinants.
There are also other close examples of the appearance of combinatorial objects in mathematical physics: a connection of the Catalan numbers with the Chebyshev polynomials [15,16], the Catalan and Hurwitz numbers in the theory of the dispersionless Toda chain [17,18], the generalized Catalan numbers, and the spectral properties of the products of random matrices [19].
The aim of this work is to define a single stochastic discrete dynamical system evolving in discrete time, similar to the one from [20], but that leads not to one but various recurrences of Catalan-like integer sequences. The approach for generating of integer sequences presented here is very direct and focuses on the construction of a discrete stochastic process, which in stationary state is characterized by a distribution that is given by the recurrence related to integer sequences. The motivation for the approach results from two works [21,22], on probabilistic cellular automata leading to Motzkin [23,24,25], and Catalan numbers [1,26,27], respectively.
This concept was initiated by analyzing a simple earthquake model whose probability parameters are determined by solving an inverse problem for given earthquake statistics [28]. This model can be fitted to real data [29], but it can also be applied to a much wider range of distributions, including those related to integer sequences. In this way, one more interpretation of Motzkin numbers, and later Catalan numbers, was established as recurrences originating from the limiting distributions for discrete dynamical systems.
Those results, as well as common properties of Catalan-like numbers [3,4], suggest that for other integer sequences, an appropriate stochastic process can also be defined in order to derive the respective recurrences.
This paper extends the method to a broader class of recurrences based on a more general definition of a stochastic process. Within this approach, we obtain a “master recurrence”, which after appropriate reductions leads to an infinite number of recurrences. In this way, we obtain various recurrences from a single stochastic process, including those related to the Catalan and Motzkin numbers, but also other ones; for example, those related to the Schröder numbers [30,31,32] or to the sequence A064641 [33].
This article defines a new process for which the derived stationary state equations are exact, and there is no need to use mean-field-type approximations, as was necessary in earlier works (for details, see Section 3). Relevant stationary-state variables are introduced and show how the equations they are supposed to fulfill result from counting all possibilities for all system states. The general group size distribution equation simplifies in the limit of the infinite size of the system N . Finally, reductions are applied, and a few special cases related to the above-mentioned sequences are calculated in detail.
The model of aggregation and separation of entities considered in this paper can be described figuratively as follows. Each of the N entities can be in one of two mutually exclusive states: in the aggregative state or in the separative state. Separative individuals are always solitary, unlike aggregative individuals, which occur in clusters of sizes 1 , 2 , 3 , . Random changes that occur in discrete time steps can only be as follows. In each time step, a chosen separative unit can turn into an aggregative unit with a certain constant probability, or a chosen group of (only aggregative) entities can either increase by one, decrease by one, all units can turn into a separative state, or the whole cluster can be activated. Activation is a state of a cluster that enables the merging of clusters. There are two draws in each time step, so if there are two simultaneously activated clusters, they can merge. All of these changes for aggregative entities occur with respective probability given by parameters depending on the size of the cluster. For fixed-probability parameters, the process leads to a stationary state. It is possible to explicitly calculate the resulting number of separative entities (and hence the number of aggregative entities) and the total number of clusters. Moreover, the group size distribution in this process is given by the recurrence relation, which is then simplified by appropriate reductions.
The structure of the paper is as follows. Section 2 provides the necessary notation, definitions and sets the Evolution rule. Section 3 contains the derivation of the equations for the stationary state of the process. Section 4 is devoted to the reduction to a finite number of parameters. Section 5 deals with specific cases and examples. Finally, Section 6 and back matter contains concluding remarks and comments.

2. The System and Its Evolution Rule

In this Section, we introduce the notion of the system. The system and its dynamics can be expressed more formally in terms of partitions of sets of indexes of some set, as presented in ref. [20]. Here, we formulate all the definitions and evolution rules clearly in a less formal but precise way.

2.1. The System

The system consists of a set of N entities labeled by integers and represented by their labels. The size N of the system does not change over time. Each entity can be in one of two states—either s or a. The symbol s stands for a separative state, and the symbol a stands for an aggregative state.
Definition 1
(Set of entities). Let us denote by [ N ] the set of the first N integers, i.e., [ N ] = { 1 , 2 , , N } , and define V = { s , a } , where s and a are formal symbols. Then,
[ N ] × N ( k , t ) v ( k , t ) V
defines the state of the element k [ N ] —referred to as k-entity—at time t N .
Aggregative entities are grouped into clusters of various sizes: i = 1 , 2 , 3 , . The size of a cluster is simply the number of entities it contains. The number of clusters is denoted by n ( t ) . The number of blocks of size i is denoted by n i ( t ) . Then, it follows that
n ( t ) = i 1 n i ( t ) .
The system is characterized by the ratio of the number of aggregative entities to the number of separative ones, or equivalently, the density of aggregative units, as given below.
Definition 2
(Density). The density of the system ρ ( t ) is given by the ratio of the number of aggregative elements, that is, those with v ( i , t ) = a , to the number of all elements.
It follows that
ρ ( t ) = 1 N i 1 i n i ( t ) .
Separative units do not group. The number of separative units is denoted by n 0 ( t ) , and it is given as follows:
n 0 ( t ) = N ( 1 ρ ( t ) ) .
Entities can change their state during evolution. They are subjected to various rules described in the next section.

2.2. Draw Configurations and Their Probabilities

The evolution of the system takes place in discrete time steps. In each time step t N , two integers k 1 , k 2 [ N ] , not necessarily different, are drawn with flat probability. Thus, one of the following five mutually excluding configurations appears with the respective probability. Those five configurations are denoted by (ss), (s), (sa), (a), and (aa).
  • (ss)—Two different individuals in the separative state are chosen, i.e., v ( k 1 ) = s and v ( k 2 ) = s . With k 1 k 2 , it happens with the following probability:
    p s s = n 0 N · ( n 0 1 ) N ;
  • (s)—One individual in the separative state is chosen, i.e., k 1 = k 2 = k and v ( k ) = s , and the respective probability is as follows:
    p s = n 0 N · 1 N ;
  • (sa)—One individual is in the separative state and one is in the aggregative state, thus in a cluster of some size i, i.e., v ( k 1 ) = a and v ( k 2 ) = s , or opposite v ( k 1 ) = s and v ( k 2 ) = a ,
    p s a i = 2 n 0 N · i n i N ;
  • (a)—Two chosen individuals, or one (if k 1 = k 2 ), belong to a cluster of some size i, i.e., v ( k 1 ) = a and v ( k 2 ) = a , with k 1 and k 2 in the same partition, and the probability is as follows:
    p a i = i n i N · i N ;
  • (aa)—Two individuals in different clusters are chosen, one in a cluster of size i and the other one in a cluster of size j (it may happen that j = i ), i.e., v ( k 1 ) = a and v ( k 2 ) = a , with k 1 and k 2 in different partitions, and the probability is as follows:
    p a i j = i n i N · j · ( n j δ i j ) N = 1 N 2 · ( i j n i n j i j n i δ i j ) ,
    where δ i j is the Kronecker delta (i.e., δ i j = 1 for i = j and δ i j = 0 for i j ). Note that p a i j = p a j i . In particular,
    p a i i = i n i N · i ( n i 1 ) N = i 2 n i ( n i 1 ) N 2 .
We define p a : = i p a i , p s a : = i p s a i = 2 n 0 ( N n 0 ) N 2 , and p a a : = i , j p a i j = i i n i ( N n 0 i ) N 2 . Then, the following identities hold:
p s + p s s = ( n 0 ) 2 N 2 , p a + p a a = ( N n 0 ) 2 N 2 ,
and
p s + p s s + p s a + p a + p a a = 1 .

2.3. Evolution and Dynamic Parameters

First, we define possible changes of state in individuals assigning relevant probability parameters. Next, the merging conditions of the clusters are defined.
Definition 3
(Transition). If an entity in the separative state is chosen, i.e., if v ( k ) = s , then the transition takes place with probability ν—the k t h entity changes its state to a. Otherwise, with probability ( 1 ν ) , it remains in state s. If two integers k 1 and k 2 are chosen and k 1 = k 2 , then the probability of transition is ν ˜ .
Definition 4
(Separation, γ -activation, δ + -increase, δ -decrease). If an entity in the aggregative state is chosen, i.e., if v ( k ) = a , then it belongs to a cluster of some size i, and one of the following changes can occur:
  • Separation:  with probability μ i , i.e., all entities belonging to the cluster containing the chosen k t h entity change their states to s;
  • γ -activation:   with probability γ i , the activation is valid in the current time step only; γ-activated clusters can merge;
  • δ + -increase:   with probability δ i + , i.e., the cluster containing chosen k-entity increases its size by 1 via absorption of a separative unit with respective probability δ i + ;
  • δ -decrease:   with probability δ i , i.e., the cluster containing chosen k-entity decreases its size by 1 via change of state of a one entity from the cluster to a separative state.
Otherwise, with probability ( 1 μ i γ i δ i + δ i ) , nothing changes. If k 1 and k 2 belong to the same cluster, the respective probability parameters are denoted by tilde, that is, μ ˜ i , γ ˜ i , δ ˜ i + , and δ ˜ i . We also assume the notation convention δ 0 = 0 .
Definition 5
(Merging of clusters). If there are two γ-activated clusters in the current time step, then they merge with probability σ + , σ , σ 0 depending on whether after merging the cluster additionally increases/does not change/decreases its size by 1. Otherwise, with probability ( 1 ( σ + + σ 0 + σ ) ) , nothing happens. Also, if there is only one γ-activated cluster, nothing happens.
Remark 1.
Note that the above merging process can be generalized in a simple way by introducing dependency of parameters σ on the sizes of the merged clusters, i.e., it is straightforward to define σ i , j + , σ i , j 0 , σ i , j with possible dependencies on sizes i and j of the respective clusters.
Definition 6
(Evolution rule). In a given time step t, pick up two integers k 1 [ N ] and k 2 [ N ] . Then, for a given state of the system, depending on which of the configurations—(ss), (s), (sa), (a), (aa)—happens, the changes described in Definitions 3, 4, and 5 take place with their respective probabilities. Then, the same procedure is repeated in the next time step ( t + 1 ) .
All possible changes in the system during a single time step of the evolution are summarized in Table 1. The changes in a single entity according to Definitions 3 and 4 are illustrated in Figure 1. The evolution variants of the ( aa ) configuration are presented in Figure 2.

3. Equations for Stationary State

The process defined above can also be defined in terms of Markov chains (compare [34]), and with the use of such notion, it is straightforward to conclude the existence of its stationary state. For a more rigorous description of this approach, we refer to the recent article [35] and the references therein.
In this section, we derive equations relating probability parameters to state parameters of the system, which are necessary conditions for the stationary state of the system.
For the stationary state, the variables that describe the state of the system do not depend on time. Moreover, the stationary state does not depend on the values of the probabilities defined above that determine the evolution of the system but only on their ratios. This is because their rescaling (e.g., dividing by 2) only affects the appropriate slowing down of the process (twice), and this has no effect on the stationary state.

3.1. Density

The density ρ is given by the number of separative units in the system—see Equation (4).
Proposition 1.
The balance equation for the density reads as follows:
2 N n 0 ν i μ i n i i 2 + i ( δ i + δ i ) n i i + ( σ + σ ) i , j γ i γ j ( i j n i n j i j n i δ i j ) + + ( ν ˜ 2 ν ) n 0 + i ( 2 μ i μ ˜ i ) n i i 3 + i ( δ ˜ i + δ ˜ i ) 2 ( δ i + δ i ) n i i 2 = 0 .
Proof. 
The contributions to the expected value of change in density—counted in the number of aggregative individuals—in their respective configurations are as follows:
  • (ss)—gain by transition + 2 · ν p s s ,
  • (s)—gain by transition + 1 · ν ˜ p s ,
  • (sa)— gain by transition + 1 · ν , loss by separation i · μ i , gain by δ + -increase + 1 · δ i + , and loss by δ -decrease 1 · δ i ; in total,
    i 1 ( + 1 · ν i · μ i + 1 · δ i + 1 · δ i ) p s a i ,
  • (a)—loss by separation i · μ ˜ i , gain by δ ˜ + -increase + 1 · δ i + , and loss by δ ˜ -decrease 1 · δ i ; in total,
    i 1 ( i · μ ˜ i + 1 · δ ˜ i + 1 · δ ˜ i ) p a i ,
  • (aa)—loss by separation i · μ i j · μ j , gain by growth + 1 · δ i + + 1 · δ j + , loss by reduction 1 · δ i 1 · δ j , gain by merging with increase + 1 · γ i γ j σ + , and loss by merging with reduction 1 · γ i γ j σ ; in total,
    i , j 1 ( i · μ i j · μ j + 1 · ( δ i + δ i ) + 1 · ( δ j + δ j ) + 1 · γ i γ j ( σ + σ ) ) p a i j .
Combining of these contributions with the requirement that the expected value for the change is equal to zero leads to Equation (13). □

3.2. Number of Clusters

Proposition 2.
The balance equation for the number of clusters reads as follows:
2 N n 0 ν i μ i n i i + ( ν ˜ 2 ν ) n 0 + i ( 2 μ i μ ˜ i ) n i i 2 + ( σ + + σ 0 + σ ) i , j γ i γ j ( i j n i n j i j n i δ i j ) = 0 .
Proof. 
The contributions to the number of clusters are as follows:
  • (ss)—gain by transition + 2 · ν p s s ,
  • (s)—gain by transition + 1 · ν ˜ p s ,
  • (sa)—gain by transition + 1 · ν and loss by separation 1 · μ i ; in total,
    i 1 ( + 1 · ν 1 · μ i ) p s a i ,
  • (a)—loss by separation i 1 ( 1 ) · μ ˜ i p a i ,
  • (aa)—loss by separation 1 · μ i 1 · μ j and loss by merging 1 · ( σ + + σ 0 + σ ) γ i γ j ; in total,
    i , j 1 ( 1 · μ i 1 · μ j 1 · ( σ + + σ 0 + σ ) γ i γ j ) p a i j .
The sum of these contributions gives Equation (14). □

3.3. Number of Clusters of Size 1

Proposition 3.
The balance equation for the number of clusters of size 1 reads as follows:
2 N n 0 ν ( μ i + δ 1 + ) n 1 + 2 δ 2 n 2 + + ( ν ˜ 2 ν ) n 0 + ( 2 μ i μ ˜ i ) + ( 2 δ 1 + δ ˜ 1 + ) n 1 4 ( 2 δ 2 δ ˜ 2 ) n 2 + 2 γ 1 n 1 ( σ + + σ 0 + σ ) i γ i i n i γ 1 + σ γ 2 n 1 ( n 1 1 ) = 0 .
Proof. 
The contributions are as follows:
  • (ss)—gain by transitions + 2 · ν p s s .
  • (s)—gain by transition + 1 · ν ˜ p s .
  • (sa)—gain by transition + 1 · ν i p s a i , loss by separation 1 · μ 1 p s a 1 , loss by growth 1 · δ 1 + p s a 1 , and gain by reduction + 1 · δ 2 p s a 2 ; in total, they give
    ν i p s a i ( μ 1 + δ 1 + ) p s a 1 + δ 2 p s a 2 .
  • (a)—loss by separation 1 · μ ˜ 1 p a 1 , loss by growth 1 · δ ˜ 1 + p a 1 , and gain by reduction + 1 · δ ˜ 2 p a 2 result in the following:
    ( μ ˜ 1 + δ ˜ 1 + ) p a 1 + δ ˜ 2 p a 2 .
  • (aa)—loss by separation i , j 1 · μ 1 ( δ 1 i + δ 1 j ) p a i j , loss by growth i , j 1 · δ 1 + ( δ 1 i + δ 1 j ) p a i j , gain by reduction i , j + 1 · δ 2 ( δ 2 i + δ 2 j ) p a i j , loss by merging i , j 1 · γ i γ j ( σ + + σ 0 + σ ) ( δ 1 i + δ 1 j ) p a i j , and gain by merging with reduction i , j + 1 · γ i γ j σ δ 1 i δ 1 j p a i j ; in total,
    i , j μ 1 δ 1 + γ i γ j ( σ + + σ 0 + σ ) ( δ 1 i + δ 1 j ) + δ 2 ( δ 2 i + δ 2 j ) p a i j + + i , j γ i γ j σ δ 1 i δ 1 j p a i j .
The sum of these contributions gives Equation (15). □

3.4. Number of Clusters of Size 2 and Larger

In the next fact, we use the following symbol:
Definition 7.
Θ m 2 : = 1 for m even , 0 for m odd .
Proposition 4.
The balance equation for the number of clusters of size k 2 reads as follows:
2 N ( μ k + δ k + + δ k ) k n k + δ k 1 + ( k 1 ) n k 1 + δ k + 1 ( k + 1 ) n k + 1 + + ( ( 2 μ k μ ˜ k ) + ( 2 ( δ k + + δ k ) ( δ ˜ k + + δ ˜ k ) ) ) k 2 n k + + ( 2 δ k 1 + δ ˜ k 1 + ) ( k 1 ) 2 n k 1 + ( 2 δ k + 1 δ ˜ k + 1 ) ( k + 1 ) 2 n k + 1 + 2 γ k k n k ( σ + + σ 0 + σ ) i γ i i n i k γ k + + σ + i = 1 k 2 γ i γ k 1 i n i n k 1 i i ( k 1 i ) σ + γ k 1 2 2 k 1 2 2 n k 1 2 Θ k 1 2 + + σ 0 i = 1 k 1 γ i γ k i n i n k i i ( k 1 ) σ 0 γ k 2 2 k 2 2 n k 2 Θ k 2 + + σ i = 1 k γ i γ k + 1 i n i n k + 1 i i ( k + 1 i ) σ γ k + 1 2 2 k + 1 2 2 n k + 1 2 Θ k + 1 2 = 0 .
Proof. 
Contributions:
  • (ss)—gives no contribution,
  • (s)—also gives no contribution,
  • (sa)—loss by separation 1 · μ k p s a k , loss by growth and reduction 1 · ( δ k + + δ k ) p s a k , and gain by growth and reduction + 1 · δ k 1 + p s a k 1 + 1 · δ k + 1 p s a k + 1 ; in total,
    μ k ( δ k + + δ k ) p s a k + δ k 1 + p s a k 1 + δ k + 1 p s a k + 1 .
  • (a)—loss by separation 1 · μ ˜ k p a k , loss by growth and reduction 1 · ( δ ˜ k + + δ ˜ k ) p a k , and gain by growth and reduction + 1 · δ ˜ k 1 + p a k 1 + 1 · δ ˜ k + 1 p a k + 1 ; in total,
    μ ˜ k ( δ ˜ k + + δ ˜ k ) p a k + δ ˜ k 1 + p a k 1 + δ ˜ k + 1 p a k + 1 .
  • (aa)—loss by separation i , j 1 · μ i ( δ i k + δ j k ) p a i j , loss by growth and by reduction
    i , j 1 · ( δ k + + δ k ) ( δ i k + δ j k ) p a i j , gain by growth and by reduction
    i , j + 1 · δ k 1 + ( δ i , k 1 + δ j , k 1 ) + 1 · δ k + 1 ( δ i , k + 1 + δ j , k + 1 ) p a i j , loss by merging
    i , j 1 · γ i γ j ( σ + + σ 0 + σ ) ( δ i k + δ j k ) p a i j , and gain by merging
    i , j γ i γ j + 1 · σ + δ j , k 1 i + 1 · σ 0 δ j , k i + 1 · σ δ j , k + 1 i p a i j ; in total,
    i , j μ k ( δ k + + δ k ) ( δ i k + δ j k ) + δ k 1 + ( δ i , k 1 + δ j , k 1 ) + δ k + 1 ( δ i , k + 1 + δ j , k + 1 ) p a i j + + i , j γ i γ j ( σ + + σ 0 + σ ) ( δ i k + δ j k ) + σ + δ j , k 1 i + 1 · σ 0 δ j , k i + σ δ j , k + 1 i p a i j .
The sum of these contributions gives Equation (17). □

4. Reductions

Up to this point, the considerations presented have remained general to ensure the widest possible range of model properties. However, in this section, we aim to show the connection of the above equations with recurrences for a class of integer sequences. In this section, we reduce the model through appropriate choice of process parameters.
In the characterization of the process, we defined the parameters with tilde for k 1 and k 2 in the same partition. The choice μ ˜ i = 2 μ i removes the term ( . ) n i i 3 . In similar way, the number of terms in Equations (13), (14), (15), and (17) will be reduced if the following condition is imposed:
2 ν = ν ˜ , 2 μ i = μ ˜ i , 2 δ i = δ ˜ i , and 2 δ i + = δ ˜ i + .
Next, in order to simplify the terms ( . ) n i i 2 and ( . ) n i i , we define the dynamic of the process as follows:
μ i = μ i , γ i = γ i , δ i = δ i , and δ i + = δ + i .
The parameters μ , γ , δ i , and δ + define the respective probabilities irrespective of the size of the affected cluster. Thus, they characterize the relative chance for a cluster independently of the size.
Hence, with constraints (18) and (19), we arrive at the following reduced system of equations (in the same order: (13), (14), (15) and (17)):
ν n 0 + ( δ + δ ) n μ ( N n 0 ) + ( σ + σ ) 2 N γ 2 n ( n 1 ) = 0 ,
ν n 0 μ n ( σ + + σ 0 + σ ) 2 N γ 2 n ( n 1 ) = 0 ν n 0 ( μ 1 + δ 1 + ) n 1 + 2 δ 2 n 2 +
( σ + + σ 0 + σ ) N γ 2 n 1 ( n 1 ) + σ 2 N γ 2 n 1 ( n 1 1 ) = 0 ( μ + δ + + δ ) + ( σ + + σ 0 + σ ) γ 2 n 1 N n k = δ + n k 1 + δ n k + 1 + + σ + γ 2 1 2 N i = 1 k 2 n i n k 1 i + σ 0 γ 2 1 2 N i = 1 k 1 n i n k i + σ γ 2 1 2 N i = 1 k n i n k + 1 i +
1 2 N σ + γ 2 n k 1 2 Θ k 1 2 + σ 0 γ 2 n k 2 Θ k 2 + σ γ 2 n k + 1 2 Θ k + 1 2
Remark 2.
Note that Equations (20) and (21) are linear in n 0 and quadratic in n; thus, the system can be explicitly solved for n and n 0 .
The aim is to show the relation of the above recurrence to integer sequences, which are infinite; thus, we consider a limit N . Hence, we rescale the variables as follows:
m 0 : = n 0 N , m : = n N , and m k : = n k N .
We define the symbols σ ^ + , σ ^ 0 , σ ^ as follows:
σ ^ + = γ 2 σ + , σ ^ 0 = γ 2 σ 0 , and σ ^ = γ 2 σ ,
and introduce S : = σ ^ + σ ^ , and S + : = σ ^ + + σ ^ 0 + σ ^ Then, in the limit N , the above equations reduce to the following:
( ν + μ ) m 0 + ( δ + δ ) m + 1 2 S m 2 = μ ,
ν m 0 μ m 1 2 S + m 2 = 0
μ + δ + + S + m m 1 + 1 2 σ ^ m 1 2 2 δ m 2 = ν m 0
μ + δ + + δ + S + m m k δ + m k 1 δ m k + 1 = 1 2 σ ^ + i = 1 k 2 m i m k 1 i + σ ^ 0 i = 1 k 1 m i m k i + σ ^ i = 1 k m i m k + 1 i .
If the process is without merging, then S + = 0 , and also S = 0 (equivalently, we can consider no γ -activation, i.e., take γ = 0 ). We have the following:
m = μ ν μ ( μ + ν ) + ν ( δ + δ ) , m 0 = μ 2 μ ( μ + ν ) + ν ( δ + δ ) ,
and recurrence is linear. Thus, in the following, we assume S + 0 .
If the process has no transition, i.e., ν = 0 , it follows from Equations (26) and (27) that there is no other stationary state, except for m = 0 and m 0 = 1 , thus with density ρ = 0 , otherwise μ = 0 .
In this article, we aim to show that one dynamical system can be the source of many recurrences related to known integer sequences. For this purpose—as will be evident in the following—we do not need to study the defined system in full generality. Therefore, we will limit ourselves to considering the case δ = 0 . This restriction significantly simplifies the system. For δ = 0 , Equations (28) and (29) are in cascading form: the first gives m 1 , the second gives m 2 as a function of m 1 , the next gives m 3 as a function of m 1 and m 2 , and so on.
For δ = 0 , to reduce the sizes of clusters during evolution, it is necessary to ensure that separation can happen. Thus, we must assume μ 0 . Note that if the process is without separation, i.e., μ = 0 , then m = m 0 = 0 , i.e., we have a full system with density ρ = 1 , or
m = ( δ + δ ) 1 2 ( 2 σ ^ + + σ ^ 0 ) , m 0 = ( δ δ + ) 2 ( σ ^ + + σ ^ 0 + σ ^ ) 1 2 ν ( 2 σ ^ + + σ ^ 0 ) 2 ,
Consequently, the condition m > 0 gives δ > δ + , which is not compatible with the condition δ + > 0 and δ = 0 , which is of interest here.
Equations (26) and (27) for S + 0 , δ = 0 and μ 0 are equivalent to the following:
1 + 1 2 S + μ m m = ν μ m 0
1 + ν μ 1 + S S + m 0 + δ + μ S S + m = 1 .
Proposition 5.
If S + 0 , δ = 0 , ν 0 , and μ 0 , then the system of Equations (32and (33has a unique positive solution ( m , m 0 ) , where 0 < m and 0 < m 0 .
Proof. 
In all cases, i.e., depending on whether δ + μ S S + is > 0 , = 0 , or < 0 , the existence of the unique positive solution follows directly from the analysis of the graph of the above equations in the plane ( m , m 0 ) .
Equation (32) defines a parabola that intersects the m axis at the points m = 0 and m = 2 μ S + . Equation (33) defines a line intersecting the m-axis at point m = δ + μ S S + 1 (or does not intersect it when δ + μ S S + = 0 ) and the m 0 -axis at point m 0 = 1 + ν μ 1 + S S + 1 < 1 . In each case, there is exactly one intersection point for m > 0 and m 0 > 0 , which determines the solution.
The exact form of the solution can be obtained by solving the quadratic equation (for m) and then the linear equation (for m 0 ). □

5. Recurrences

In this Section, we will show a method for determining the dynamic parameters of a system in order to obtain a given recurrence from a system of equations describing the steady state. In particular, we will show whether it is possible to reconcile a given choice of parameters with obtaining an appropriate initial value of the recurrence. In particular, we will consider in detail, among others, the cases of recurrences associated with the Catalan, Motzkin, and Schroeder numbers.
For the sake of simplicity, we will additionally assume σ = 0 . For a non-zero value of s i g m a , we simply obtain more examples of recurrences, which can be studied exactly the same way as those presented below. Then, S = σ ^ + and S + = σ ^ + + σ ^ 0 , and the recurrence is of the following form:
1 + δ + μ + ( σ ^ + + σ ^ 0 ) μ m m 1 = ν μ m 0
1 + δ + μ + ( σ ^ + + σ ^ 0 ) μ m m k = δ + μ m k 1 + 1 2 σ ^ + μ i = 1 k 2 m i m k 1 i + σ ^ 0 μ i = 1 k 1 m i m k i .
The dependence of the equations on ratios of parameters reflects the fact that scaling these parameters—for example, dividing by 2—will slow down the process but will not influence its stationary state.
In the process, because there is separation and the transition from the separative to aggregative state for single identities, the number of groups will decrease with size. In contrast, classical integer sequences do not decrease. Hence, to relate these two objects, it is necessary to introduce appropriate scaling (compare [21,22]):
m k = β α k 1 M k
Then, using the following short notation
A = μ + δ + + ( σ ^ + + σ ^ 0 ) m ,
the above recurrence is reduced to
M 1 = ν m 0 β A
M k = δ + α A M k 1 + β σ + 2 α A i = 1 k 2 M i M k 1 i + β σ 0 2 A i = 1 k 1 M i M k i .
Next, we define the following for P , Q , R N :
P : = δ + α A , Q : = β σ ^ + 2 α A , R : = β σ ^ 0 2 A .
Thus, the choice of P , Q , and R determines the coefficients of the recurrence.

5.1. δ + 0 , σ ^ + 0 and σ ^ 0 0

In this case, we have the following:
α = δ + A 1 P , β = 2 A σ 0 R , A = Q P R δ + σ 0 σ +
The first two formulas set values of α and β , while the last one gives an additional value for dynamic parameters, namely
m = 1 σ + + σ 0 μ Q P R σ ^ 0 σ ^ + 1 δ + μ 1
To check if the above restriction is compatible with state equations for the system, we introduce symbols x , Y R :
x : = σ ^ + σ ^ 0 , and Y = Q P R .
Then, we have (42), (32) (modified with (42)), and (33) in the following form:
m ( x + 1 ) σ ^ 0 μ = Y 1 x 1 δ + μ 1
m 2 Y 1 x 1 δ + μ + 1 = ν μ m 0
1 + ν μ 1 + x x + 1 m 0 + δ + μ x x + 1 m = 1 .
Solving for σ ^ 0 μ , ν μ , and δ + μ gives the following:
σ 0 μ = 1 m ( x + 1 ) Y x 1 δ + μ 1
ν μ = m 2 m 0 Y x 1 δ + μ + 1
where
δ + μ = 1 m 0 m 2 ( x + 1 ) m 2 ( x + 1 ) 1 + Y 2 + 1 x
From δ + μ > 0 , it follows that
ρ = 1 m 0 > m 2 ( x + 1 ) .
Next, to have σ ^ 0 μ > 0 (or equivalently m > 0 , see Equation (42)), we must assume the following:
Y x > 1 , and δ + μ > Y x 1 1 .
The second inequality, after using (49), gives the following condition:
ρ = 1 m 0 > m 1 + Y x 1 1 = m 1 x Y 1 .
The last condition is stronger than the condition (50).
Thus, for given P , Q , R , and hence Y, we need to choose x < Y and m , m 0 respecting the condition (52), then calculate σ ^ 0 μ , δ + μ , ν μ and σ ^ + μ .
Finally, M 1 is given as follows:
M 1 = R P Q 2 m 0 ν 2 σ 0 σ + δ + 2 = 1 4 1 R Y x 2 ( x + 1 ) Y x 1 2 δ + μ 2 .
Example 1.
A064641 sequence 1 , 2 , 7 , 29 , 133 , 650 , 3319 , [33]
The choice P = 1 , Q = 1 , R = 1 gives the following reccurence relation:
M k = M k 1 + i = 1 k 2 M i M k 1 i + i = 1 k 1 M i M k i .
Hence, Y = 1 , and this implies that x < 1 . The condition (52is 1 m 0 < m 1 x .
Thus, for example, one can choose x = 1 2 , m = 1 6 , m 0 = 1 3 , and hence
δ + μ = 11 5 , ν μ = 4 5 , σ ^ 0 μ = 24 5 , σ ^ + μ = 12 5 .
For α = 1 2 and β = 11 6 , the above parameters lead to the recurrence of the A064641 sequence [2]; however, it starts with
M 1 = 4 121 .
As can be seen from Equation (53), for R = 1 and Y = 1 , it follows that M 1 1 4 .

5.2. δ + 0 , σ ^ + 0 and σ ^ 0 = 0

For σ 0 = 0 , we have the following:
α = δ + A 1 P , β = 2 δ + σ ^ + Q P .
Then, Equations (32) and (33) imply the following:
σ ^ + μ = 2 m ν μ m 0 m 1 ,
δ + μ = 1 m ( 1 m 0 ) + m 2 ν μ m 0 .
From conditions σ ^ + μ > 0 and δ + μ > 0 it follows that
m m 0 < ν μ < 1 m 0 + m 2 m 0
Since
A = μ ( 1 m 0 ) m ,
we have
M 1 = P Q ν m 0 2 A σ ^ + δ + = P Q ν m 0 μ m ν m 0 μ m 1 1 m 0 m 1 + 1 m 0 m 2 ν m 0 μ m .
Thus, for a given m , m 0 such that m < ( 1 m 0 ) , the value of M 1 varies from 0 to for ν μ within the range given by inequality (59). In particular, M 1 = 1 for the following:
ν μ = m 2 m 0 1 + 4 1 m 0 m 2 Q P Q P + 1 2 ( 1 m 0 ) m Q P + 1 .
Example 2.
Motzkin numbers 1 , 1 , 2 , 4 , 9 , 21 , 51 , [23,24,25]
To obtain the Motzkin numbers, we set P = 1 and Q = 1 . Hence, we have the following recurrence relation:
M k = M k 1 + i = 1 k 2 M i M k 1 i ,
which for k = k 1 and N k = M k is equivalent to the standard form:
N k = N k 1 + j = 0 k 2 N j N k 2 j .
The exemplary choice m = 1 6 and m 0 = 2 3 leads to the following:
σ ^ + μ = 12 4 ν μ 1 , δ + μ = 3 8 ν μ ,
and hence to the following condition:
1 4 < ν μ < 3 8 .
The choice ν μ = 33 3 8 0.34307 provides M 1 = 1 . Finally, α = 3 33 2 and β = 1 24 ( 33 3 ) give the correspondence between the distribution m i and Motzkin numbers M i .
Example 3.
Shifted Catalan numbers 1 , 2 , 5 , 14 , 42 , 132 , 429 , [1,4]
We set P = 2 and Q = 1 . Hence, we have the following recurrence relation:
M k = 2 M k 1 + i = 1 k 2 M i M k 1 i ,
which directly coincidences with the shifted Catalan number recurrence (where C 0 = 1 ):
C n = i = 0 n 1 C i C n 1 i = 2 C 0 C n 1 + i = 1 n 2 C i C n 1 i .
We set m = 1 6 and m 0 = 2 3 , as in the previous example, and consequently, we obtain Equation (65).
Then, the choice ν μ = 13 1 8 0.325694 provides M 1 = 1 for P = 2 and Q = 1 .
Then, α = 1 13 4 , and β = 1 24 ( 13 1 ) gives an appropriate correspondence of m i to the shifted Catalan numbers.
Remark 3.
For a given m and m 0 , the choice of σ ^ + μ and δ + μ , as defined by Equations (57) and (58), and an appropriate change in the value ν m , ensures a smooth transition from the distribution m i related to the Motzkin numbers to the distribution related to shifted Catalan numbers, through a resulting change in m i . Note that the coefficients P and Q also change accordingly.
In this way, by choosing P and Q, one can easily generate further examples of various integer sequences, starting with M 1 = 1 and directly related to the m i distribution.

5.3. δ + 0 , σ ^ + = 0 and σ ^ 0 0

For σ ^ + = 0 , we have the following:
α = δ + A 1 P , β = 2 A σ ^ 0 R .
Equations (32) and (33) imply the following:
σ 0 μ = 2 m ν μ m 0 m 1 ,
δ + μ = 1 m ( 1 m 0 ) ν μ m 0
From σ ^ 0 μ > 0 and δ + μ > 0 , it follows that
m m 0 < ν μ < 1 m 0 m 0 .
Finally, M 1 is given as follows:
M 1 = ν μ m 0 m ν μ m 0 m 1 R 1 m 0 m 1 + ν μ m 0 m 2
Example 4.
Schröder numbers 1 , 2 , 6 , 22 , 90 , 394 , 1806 , [30,31,32]
For P = 1 and R = 1 , we have the following recurrence relation:
M k = M k 1 + i = 1 k 1 M i M k i .
The exemplary choice m = 1 6 and m 0 = 2 3 leads to the following:
σ ^ + μ = 12 4 ν μ 1 , δ + μ = 2 4 ν μ ,
and hence
1 4 < ν μ < 1 2 .
Therefore,
M 1 < ν μ m 0 m ν μ m 0 m 1 R 2 ν μ m 0 m 1 2 = 1 4 R 1 1 2 ν μ m 0 m 1 2 < 1 4 R ,
which shows that for the recurrence of Schröder numbers, it is impossible to obtain M 1 = 1 for any value of parameter ν μ .

5.4. δ + = 0 , σ ^ + 0 and σ ^ 0 0

In this case, one has the following:
α = σ ^ + σ ^ 0 R Q β = 2 A σ ^ 0 R .
For x = σ ^ + σ ^ 0 , as previously, we can obtain the following:
σ ^ 0 μ = 2 ( 1 + x ) 1 m ν μ m 0 m 1 ,
ν μ = ( 1 m 0 ) x 1 + x m m 0 1 + x 1 + x .
From σ ^ 0 μ > 0 , it follows that ν μ > m m 0 .
And finally,
M 1 = 1 R 1 ( x + 1 ) ν μ m 0 m ν μ m 0 m 1 2 ν μ m 0 m 1 2 = 1 4 1 R 1 ( x + 1 ) 1 1 2 ν μ m 0 m 1 2 < 1 4 1 R 1 ( x + 1 ) ,
which shows restriction for M 1 .

6. Conclusions

In this paper, a discrete system evolving according to a relatively simple algorithm is defined. The rules of changes in the state of the system, dependent on parameters defining the probabilities of specific changes, lead to a stationary state that can be described in an exact way (without approximations) through a set of equations dependent on these parameters. From these equations, one can obtain formulas for the basic parameters of the system, such as the density and the number of clusters. These equations, after appropriate reduction, lead to the master recurrence with coefficients. By choosing the appropriate coefficients, we obtain the known recurrences associated with the Catalan, Motzkin, Schröder, and other numbers. For all of these cases, the corresponding probability parameters were determined. The general method presented in this paper can be used to further investigate this and other similar systems.
The system defined in this paper has an advantage over the previous ones in two respects. To derive the stationary state equations, it is not necessary to use any approximation, including the mean-field approximation, as was the case for systems that are cellular automata [21,22]. On the other hand, the advantage over these two previous works and ref. [20] (related exclusively to Catalan numbers) lies in the universality of this new stochastic process.
The main result of the paper is the definition of a stochastic process for which the precisely derived steady-state equations are the source of many different recurrences, including those related to the widely known integer sequences. This realization shows that the relations between different Catalan-like recurrences (see, for example, [3,4]) can be interpreted as changes in the values of parameters responsible for just a few subprocesses in a relatively simple dynamical system. As pointed out in Remark 3, a transition between different recurrences—in this case, related to the Catalan and Motzkin numbers—can be achieved by changing a single parameter.
The stochastic system is defined in this work in a way that aims at generality in order to ensure broad properties of the model. In particular, for the sole purposes of this work, it is not necessary to introduce the parameter δ i . Therefore, in the part dealing with the analysis of the system, we limit ourselves to considering the case δ = 0 , which also significantly simplifies the relevant equations. Investigating the properties of the system for δ 0 therefore remains a challenge for future study. The situation is fundamentally different with the condition σ = 0 . If σ 0 , then one can simply obtain more examples of recurrences in exactly the same way as those presented in the text.
A separate challenge is the question of whether it is possible to modify the evolution rules of the system in such a way that, in every case, or at least in a wider range, the initial value of M 1 = 1 is allowed. These issues will be the subject of further research.
The system presented in this article can also be considered as a specific realization of the aggregation–disaggregation process. These processes have applications in many different fields (see, for example, [36,37,38]), including the interesting problem of mathematical biology concerning the formation of causal groups [39] (both as applied to animals and humans) and the explanation of the distributions of the sizes of these groups [40,41,42].
Finally, following the growing interest in the use of machine learning to aid in the discovery process in the field of integer sequences [43], we would like to point out that the stochastic process defined in this work can be used to test algorithms designed to discover equations directly from observed data [44]. Knowing which parameters lead to a given recurrence, we can obtain a nontrivial random distribution of cluster sizes from the above-defined evolution rules and use it to test the ability to identify the equations behind such “data” by various algorithms, such as, for example, the well-established SINDy (Sparse Identification of Nonlinear Dynamics) algorithm for equation discovery [45]. In particular, dealing with the property of nontrivial smooth transitions between different recursions, indicated in Remark 3, can be a good indicator of the performance of the tested algorithm.

Funding

This research was carried out without external funding.

Data Availability Statement

All data are included in the text.

Acknowledgments

The author would like to thank Ralph Willox for stimulating conversations, Debora Choińska for preparing the figures, and the reviewers for their constructive comments.

Conflicts of Interest

The author declares no conflicts of interest.

References

  1. Stanley, R. Catalan Numbers; Cambridge University Press: Cambridge, UK, 2015. [Google Scholar]
  2. Sloane, N.J.A. The OEIS Foundation INC. The On-Line Encyclopedia of Integer Sequences. Available online: https://oeis.org (accessed on 9 February 2025).
  3. Aigner, M. Catalan-like Numbers and Determinants. J. Combin. Theory Ser. A 1999, 87, 33–51. [Google Scholar] [CrossRef]
  4. Aigner, M. A Course in Enumeration; Springer: Berlin/Heidelberg, Germany, 2007. [Google Scholar]
  5. Everest, G.; van der Poorten, A.J.; Puri, Y.; Ward, T. Integer sequences and periodic points. J. Integer Seq. 2002, 5, 02.2.3. [Google Scholar]
  6. Neumärker, N. Realizability of Integer Sequences as Differences of Fixed Point Count Sequences. J. Integer Seq. 2009, 12, 09.4.5. [Google Scholar]
  7. Ward, T. Integer sequences and dynamics. Electron. Notes Discrete Math. 2018, 70, 83–88. [Google Scholar] [CrossRef]
  8. Abate, J.; Whitt, W. Integer Sequences from Queueing Theory. J. Integer Seq. 2010, 13, 10.5.5. [Google Scholar]
  9. Adler, V.E. Bogoyavlensky Lattices and Generalized Catalan Numbers. Russ. J. Math. Phys 2024, 31, 1–23. [Google Scholar] [CrossRef]
  10. Bogoyavlensky, O.I. Algebraic Constructions of Integrable Dynamical Systems—Extensions of the Volterra System. Russ. Math. Surv. 1991, 46, 1–64. [Google Scholar] [CrossRef]
  11. Suris, Y.B. The Problem of Integrable Discretization: Hamiltonian Approach; Birkhäuser: Basel, Switzerland, 2003. [Google Scholar]
  12. Adler, V.E.; Shabat, A.B. Volterra Chain and Catalan Numbers. JETP Lett. 2018, 108, 825–828. [Google Scholar] [CrossRef]
  13. Krattenthaler, C. Determinants of (Generalised) Catalan Numbers. J. Statist. Plann. Inference 2010, 140, 2260–2270. [Google Scholar] [CrossRef]
  14. Adler, V.E.; Shabat, A.B. Some Exact Solutions of the Volterra Lattice. Theoret. Math. Phys. 2019, 201, 1442–1456. [Google Scholar] [CrossRef]
  15. Artisevich, A.E.; Bychkov, B.S.; Shabat, A.B. Chebyshev Polynomials, Catalan Numbers, and Tridiagonal Matrices. Theoret. Math. Phys. 2020, 204, 837–842. [Google Scholar] [CrossRef]
  16. Bychkov, B.S.; Shabat, G.B. On Generalizations of Chebyshev Polynomials and Catalan Numbers. Ufa Math. J. 2021, 13, 8–14. [Google Scholar] [CrossRef]
  17. Kodama, Y.; Pierce, V.U. Combinatorics of Dispersionless Integrable Systems and Universality in Random Matrix Theory. Comm. Math. Phys. 2009, 292, 529–568. [Google Scholar] [CrossRef]
  18. Takasaki, K. Hurwitz Numbers and Integrable Hierarchy of Volterra Type. J. Phys. A Math. Theor. 2018, 51, 43LT01. [Google Scholar] [CrossRef]
  19. Penson, K.A.; Życzkowski, K. Product of Ginibre Matrices: Fuss–Catalan and Raney Distributions. Phys. Rev. E 2011, 83, 061118. [Google Scholar] [CrossRef]
  20. Białecki, M. Stochastic Process Leading to Catalan Number Recurrence. Mathematics 2023, 11, 4953. [Google Scholar] [CrossRef]
  21. Białecki, M. Motzkin numbers out of a stochastic cellular automaton. Phys. Lett. A 2012, 376, 3098–3100. [Google Scholar] [CrossRef]
  22. Białecki, M. Catalan numbers out of random domino automaton. J. Math. Phys. 2019, 60, 012701. [Google Scholar] [CrossRef]
  23. Motzkin, T. Relations Between Hypersurface Cross Ratios, and a Combinatorial Formula for Partitions of a Polygon, for Permanent Preponderance, and for Nonassociative Products. Bull. Am. Math. Soc. 1948, 54, 352–360. [Google Scholar] [CrossRef]
  24. Donaghey, R.; Shapiro, L.W. Motzkin Numbers. J. Combin. Theory Ser. A 1977, 23, 291–301. [Google Scholar] [CrossRef]
  25. The On-Line Encyclopedia of Integer Sequences. Sequence A001006. Available online: https://oeis.org (accessed on 9 February 2025).
  26. Roman, S. An Introduction to Catalan Numbers; Birkhäuser: Basel, Switzerland, 2015. [Google Scholar]
  27. The On-Line Encyclopedia of Integer Sequences. Sequence A000108. Available online: https://oeis.org (accessed on 9 February 2025).
  28. Białecki, M. From statistics of avalanches to microscopic dynamics parameters in a toy model of earthquakes. Acta Geophys. 2013, 61, 1677–1689. [Google Scholar] [CrossRef]
  29. Białecki, M.; Gałka, M.; Bagchi, A.; Gulgowski, J. Modeling exact frequency-energy distribution for quakes by a Probabilistic Cellular Automaton. Entropy 2023, 25, 819. [Google Scholar] [CrossRef] [PubMed]
  30. Schröder, E. Vier kombinatorische Probleme. Z. Math. Phys. 1870, 15, 361–376. [Google Scholar]
  31. Moser, L.; Zayachkowski, W. Lattice Paths with Diagonal Steps. Scr. Math. 1963, 26, 223–229. [Google Scholar]
  32. The On-Line Encyclopedia of Integer Sequences. Sequence A006318. Available online: https://oeis.org (accessed on 9 February 2025).
  33. The On-Line Encyclopedia of Integer Sequences. Sequence A064641. Available online: https://oeis.org (accessed on 9 February 2025).
  34. Białecki, M. Properties of a Finite Stochastic Cellular Automaton Toy Model of Earthquakes. Acta Geophys. 2015, 63, 923–956. [Google Scholar] [CrossRef]
  35. Białecki, M. Catalan Numbers Recurrence as a Stationary State Equation of the Probabilistic Cellular Automaton. In Advances in Discrete Dynamical Systems, Difference Equations and Applications; Springer Proceedings in Mathematics & Statistics; Springer: Berlin/Heidelberg, Germany, 2023; Volume 416, pp. 155–165. [Google Scholar] [CrossRef]
  36. Bo, Z.; Islam, S.; Eltahir, E.A.B. Aggregation-disaggregation properties of a stochastic rainfall model. Water Resour. Res. 1994, 30, 3423–3435. [Google Scholar] [CrossRef]
  37. Dreyfus, R.; Leunissen, M.E.; Sha, R.; Tkachenko, A.; Seeman, N.C.; Pine, D.J.; Chaikin, P.M. Aggregation-disaggregation transition of DNA-coated colloids: Experiments and theory. Phys. Rev. E 2010, 81, 041404. [Google Scholar] [CrossRef]
  38. Bouthier, L.-V.; Castellani, R.; Manneville, S.; Poulesquen, A.; Valette, R.; Hachem, E. Aggregation and disaggregation processes in clusters of particles under flow: Simple numerical and theoretical insights. Phys. Rev. Fluids 2023, 8, 023304. [Google Scholar] [CrossRef]
  39. White, H. Chance Models of Systems of Casual Groups. Sociometry 1962, 25, 153–172. [Google Scholar] [CrossRef]
  40. Dunbar, R.I.M.; Duncan, N.D.C.; Nettle, D. Size and structure of freely forming conversational groups. Hum. Nat. 1995, 6, 67–78. [Google Scholar]
  41. Fontanari, J.F. Stochastic Simulations of Casual Groups. Mathematics 2023, 11, 2152. [Google Scholar] [CrossRef]
  42. Fontanari, J.F.; Santos, M. The dynamics of casual groups can keep free-riders at bay. Math. Biosci. 2024, 372, 109188. [Google Scholar] [CrossRef]
  43. Gec, B.; Džeroski, S.; Todorovski, L. Discovery of Exact Equations for Integer Sequences. Mathematics 2024, 12, 3745. [Google Scholar] [CrossRef]
  44. Schmidt, M.; Lipson, H. Distilling Free-Form Natural Laws from Experimental Data. Science 2009, 324, 81–85. [Google Scholar] [CrossRef] [PubMed]
  45. Brunton, S.L.; Proctor, J.L.; Kutz, J.N. Discovering governing equations from data by sparse identification of nonlinear dynamical systems. Proc. Natl. Acad. Sci. USA 2016, 113, 3932–3937. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Possible changes in states of entities. On the left, a chosen k-entity in separative state s, depicted as a black ball, changes its state to aggregative a, depicted as a white ball, with probability ν . With probability ( 1 ν ) , it remains in a separative state. On the right, a chosen aggregative k-entity belonging to a cluster of size i can trigger the following changes: separation of the whole cluster with probability μ i , γ -vation of the cluster, marked with a grid and denoted with an asterisk, with probability γ i , δ + -increase with probability δ i + and δ -decrease with probability δ i . With probability ( 1     μ i     γ i     δ i +     δ i ) , the cluster remains unchanged. See also Table 1.
Figure 1. Possible changes in states of entities. On the left, a chosen k-entity in separative state s, depicted as a black ball, changes its state to aggregative a, depicted as a white ball, with probability ν . With probability ( 1 ν ) , it remains in a separative state. On the right, a chosen aggregative k-entity belonging to a cluster of size i can trigger the following changes: separation of the whole cluster with probability μ i , γ -vation of the cluster, marked with a grid and denoted with an asterisk, with probability γ i , δ + -increase with probability δ i + and δ -decrease with probability δ i . With probability ( 1     μ i     γ i     δ i +     δ i ) , the cluster remains unchanged. See also Table 1.
Algorithms 18 00149 g001
Figure 2. Possible evolution scenarios for (aa) configuration. On the left, possible changes in the cluster of size j = 3 containing the randomly selected k 1 -entity and of the cluster of size i = 5 containing the randomly selected k 2 -entity. With probability γ i γ j , both clusters are γ -activated, which enables them to merge in three ways with their respected probabilities, σ , σ 0 , and σ + , as shown on the right. See also Table 1.
Figure 2. Possible evolution scenarios for (aa) configuration. On the left, possible changes in the cluster of size j = 3 containing the randomly selected k 1 -entity and of the cluster of size i = 5 containing the randomly selected k 2 -entity. With probability γ i γ j , both clusters are γ -activated, which enables them to merge in three ways with their respected probabilities, σ , σ 0 , and σ + , as shown on the right. See also Table 1.
Algorithms 18 00149 g002
Table 1. Evolution rule in a single time step. The symbol s denotes an entity in the separative state; the symbol ( a ) i denotes an entity in the aggregative state, being in a cluster of size i; ( a ) i * denotes a γ -activated cluster of size i. The last part refers to merging, which takes place within the same time step, when γ -activation of two clusters happens.
Table 1. Evolution rule in a single time step. The symbol s denotes an entity in the separative state; the symbol ( a ) i denotes an entity in the aggregative state, being in a cluster of size i; ( a ) i * denotes a γ -activated cluster of size i. The last part refers to merging, which takes place within the same time step, when γ -activation of two clusters happens.
ConfigurationInitial StateProbabilityChanged State
(ss)s ν a
s ν a
(s)s ν ˜ a
(sa)s ν a
( a ) i μ i s , s , s
γ i ( a ) i *
δ i + ( a ) i + 1
δ i ( a ) i 1
(a) ( a ) i μ ˜ i s , s , s
γ ˜ i ( a ) i *
δ ˜ i + ( a ) i + 1
δ ˜ i ( a ) i 1
(aa) ( a ) i μ i s , s , s
γ i ( a ) i *
δ i + ( a ) i + 1
δ i ( a ) i 1
( a ) j μ j s , s , s
γ j ( a ) j *
δ j + ( a ) j + 1
δ j ( a ) j 1
(aa) ( a ) i * ( a ) j * σ + ( a ) i + j + 1
σ 0 ( a ) i + j
σ ( a ) i + j 1
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Białecki, M. Simple Rules of a Discrete Stochastic Process Leading to Catalan-like Recurrences. Algorithms 2025, 18, 149. https://doi.org/10.3390/a18030149

AMA Style

Białecki M. Simple Rules of a Discrete Stochastic Process Leading to Catalan-like Recurrences. Algorithms. 2025; 18(3):149. https://doi.org/10.3390/a18030149

Chicago/Turabian Style

Białecki, Mariusz. 2025. "Simple Rules of a Discrete Stochastic Process Leading to Catalan-like Recurrences" Algorithms 18, no. 3: 149. https://doi.org/10.3390/a18030149

APA Style

Białecki, M. (2025). Simple Rules of a Discrete Stochastic Process Leading to Catalan-like Recurrences. Algorithms, 18(3), 149. https://doi.org/10.3390/a18030149

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop