Next Article in Journal
Modeling Y-Linked Pedigrees through Branching Processes
Previous Article in Journal
Existence Results for Nonlinear Fractional Problems with Non-Homogeneous Integral Boundary Conditions
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Divisibility Patterns within Pascal Divisibility Networks

by
Pedro A. Solares-Hernández
1,2,3,
Fernando A. Manzano
1,2,3,
Francisco J. Pérez-Benito
1,4 and
J. Alberto Conejero
1,*
1
Instituto Universitario de Matemática Pura y Aplicada, Universitat Politècnica de València, 46022 València, Spain
2
Departamento de Estadística, Universidad APEC, Santo Domingo 10203, Dominican Republic
3
Departamento de Ingeniería, Universidad APEC, Santo Domingo 10203, Dominican Republic
4
Instituto de Tecnología Informática (ITACA), Universitat Politècnica de València, 91354 València, Spain
*
Author to whom correspondence should be addressed.
Mathematics 2020, 8(2), 254; https://doi.org/10.3390/math8020254
Submission received: 31 December 2019 / Revised: 3 February 2020 / Accepted: 7 February 2020 / Published: 14 February 2020
(This article belongs to the Section Network Science)

Abstract

:
The Pascal triangle is so simple and rich that it has always attracted the interest of professional and amateur mathematicians. Their coefficients satisfy a myriad of properties. Inspired by the work of Shekatkar et al., we study the divisibility patterns within the elements of the Pascal triangle, through its decomposition into Pascal’s matrices, from the perspective of network science. Applying Kolmogorov–Smirnov test, we determine that the degree distribution of the resulting network follows a power-law distribution. We also study degrees, global and local clustering coefficients, stretching graph, averaged path length and the mixing assortative.
MSC:
05C82; 05C25

1. Introduction

Number theory has been one of the most studied fields of mathematics for centuries. In contrast, network science has emerged as a discipline in the last twenty years. Nevertheless, networks have attracted the interest of many researchers due to their multiple applications to different disciplines, such as biology, telecommunications, social and environmental sciences, as well as systems medicine.
Besides, some networks have emerged from mathematical concepts, such as the divisibility network. This was firstly studied by Zhou et al. in [1]. Here, nodes represent natural numbers and two nodes n , m N are connected by a directed edge if n divides m, denoted by n | m . These authors noticed that this network has a large clustering coefficient of approximately 0.34, which is insensitive to the network size. Besides, they showed that: (i) The average distance between a pair of nodes is upper bounded, in contrast to small-world networks, (ii) it posses a hierarchical architecture, and (iii) the degree distribution follows a power-law.
A divisibility network can also be considered as a non-directed one if we connect a pair of nodes a , b N if either a | b or b | a . Shekatkar et al. [2] studied it using the framework of a growing complex network. Among other properties, they showed that it is scale-free but has a non-stationary degree distribution, reporting a stretching similarity pattern, and showing how this pattern evolves with the size of the network. Related to divisibility networks, Yan et al. [3] showed that every layer in a multiplex congruence network is a sparse and heterogeneous subnetwork satisfying the scale-free property, providing an insight into the simultaneous congruences problem through the graphical solutions provided there.
All these results have inspired us to look for other ways of consider the divisibility network through a different growing network procedure. Due to the abundance of beautiful and unpredictable properties hidden in the Pascal Triangle (PT), we have studied the non-directed divisibility following a similar approach as Shekatkar et al. did. For this purpose, we have considered squared Pascal symmetric matrices as a covering of growing finite subsets of the PT. These matrices were firstly analyzed by Brawer and Pirovino [4]. We will denote by S n the Pascal square matrix of order n, that is obtained when taking the square with two orthogonal sides given by the first n ones of both sides of the PT. As an example, we have indicated in bold font the Pascal matrix S 4 in (1). From S 4 we construct a divisibility network whose nodes are { 1 , 2 , 3 , 4 , 6 , 10 , 20 } .
Row   0 1 Row   1 1 1 Row   2 1 2 1 Row   3 1 3 3 1 Row   4 1 4 6 4 1 Row   5 1 5 10 10 5 1 Row   6 1 6 15 20 15 6 1
Pascal matrices present some beautiful properties. As an example, we mention the decomposition of the Pascal matrices proposed by Edelman and Strang [5] who showed how to decompose any Pascal matrix S n of order n, into the product of two matrices L n , which is a lower triangular matrix, and U n , which is an upper triangular matrix, such that, S n = L n U n , for every n N .
For any given number k N , there is some n 0 N such that k S n for all n n 0 . With this in mind, we will study the divisibility networks provided by these matrices. On the one hand, using these matrices, we can cover all the natural numbers through a growing family of subnetworks. On the other hand, the numbers in these matrices are not consecutive, and when sequentially ordered, we can find big gaps between some of them. This suggests us to study whether the scale-free degree distribution holds and other network properties are still satisfied as to the ones shown in [2].
In particular, we have considered the evolution of several network measures along with the size of Pascal matrices, such as the average degree k , the histogram of the connectivity degree distribution; the local and global clustering coefficients C i and C Δ , the assortativity index r; and the average path length d . We will recall the definition of these notions in the next section.
The degree distribution is studied in Section 2.1, where we show that it is scale-free. We also study an example of how to compute the fitting parameters. In order to study the structure of this network, we have studied how the clustering evolves with the size of the network. The local and global clustering coefficients are presented in Section 2.2 and Section 2.3. The tendency of nodes to connect to nodes of similar degree is analyzed through the assortative coefficient in Section 2.4, and how nodes are separated respect to the others through the average path length, see Section 2.5.
We refer the reader to the books of Barabási [6], Estrada [7], and Newman [8], as basic references of Network Science.

2. Network Analysis

For any arbitrary n N , we consider the divisibility network M n = ( V n , E n ) , associated to the Pascal matrix S n of order n. This network has V n as its set of nodes and E n as its set of edges. We point out that we exclude the number 1 of V n since it will be linked with any other number, which does not provide useful information for studying the evolution of the network properties of these matrices.
We denote card ( V n ) by N n , with N n O ( n 2 ) , and card ( E n ) by L n . Once fixed the set of nodes V n with the non-repeated elements of S n , we recall that an arbitrary pair of elements a , b V n are linked by an edge if, and only if, a | b or b | a . Figure 1a,b are generated from matrices S 6 and S 7 .

2.1. Degree Distribution

Given the sequence of nodes from a network M n , with n N , we first analyze the evolution of the degree distribution p ( k ) = n k / N n , where n k is the number of coefficients with degree k in M n , along with n. First, we check if the scale-free property holds, which will result into the existence of many nodes with only a few edges and a few nodes with a large number of edges, that are called hubs, see [6,9].
In Figure 2, we illustrate the asymptotic growth of the cumulative and the averaged cumulative degree distributions for the network M 2 6 , that has a total of 2001 nodes and 51147 edges. The nodes are indexed in increasing order respect to the term of S 2 6 that they represent. We appreciate how both measures tend to stabilize when adding the last nodes of each network.
Applying the Maximum Likelihood method [2,10], we confirm that the divisibility network of Pascal matrices satisfies a scale-free law. This means that the network degree distribution follows, at least asymptotically, a power-law of the form p ( k ) = C · k γ for all k k min . We recall that when the power-law governs a process, this usually occurs from what we determinate the “minimum value” k m i n , which is exactly the point where one can start to observe the fall of the heavy tail. In Figure 3a, we represent again the degree distribution for M 2 11 with logarithmic binning in the degree values.
We characterize the power-law of the degree distribution of M 2 6 through bootstrapping, using 1000 iterations of bootstrapping. The obtained fitting parameters were k m i n = 3 and γ = 1.2256 . In Figure 2a, we plot the histogram of the values obtained for the γ parameter. For γ = 1.2256 , the Kolmogorov–Smirnov coefficient was 0.976 , see Figure 3b, which shows the goodness of the estimation. It is worth to mention that network with similar degree distributions could have a different inner structure, see [11].
We also show the degree distributions of M 2 5 , M 2 6 , M 2 7 and M 2 8 in Figure 4. We observe a high concentration of nodes (plateau) in the region of high values of the degree. This suggests a bias in the linear model fitting due to the comparatively large number of nodes with low degrees respect to the fewer number of nodes with large degrees [6,12].
In order to correct the non-uniform sampling seen with the linear binning, we show these degrees distributions with logarithmic binning again, see Figure 5.
As n grows, the γ coefficient of the power-law fitting decreases. Increasing the number of nodes of the network does not guarantee a better fit of the linear model. It is worth to mention that these indicators do not fully reflect the network robustness due to the inherent bias of the particular sampling process, see for instance [13].
We also have wondered how important is the role of the lowest numbers, which have the highest degrees, in determining the scale-free nature of the network. In this line, we have removed the hubs corresponding to nodes associated with numbers 2 to 6. These new degree distributions also follow a power-law, as we can see in Figure 6.

2.2. Local Clustering Coefficient

Many scale-free networks also display a high degree of clustering. This is the result of a hierarchical organization in which small groups of nodes organize into increasingly larger ones while preserving the scale-free property [14].
Since all the natural numbers appear along the first row/column of Pascal matrices, and the rest of their elements are composite numbers, there will be many connections from the first elements to the second ones. Besides, as numbers in the inner columns/rows of the matrices grow pretty fast, there will be fewer edges among them. Therefore, we have analyzed how clustered the network is. The main two measures for analyzing the clustering are the local and the global clustering coefficients. The global version provides an indicator of the clustering in the network, whereas the local one gives an indicator of the connection between the adjacent nodes to a given one.
We recall that given M n = ( V n , E n ) and a node v i V n with degree k i , we denote by v ˜ i the set of nodes adjacent to v i . Then, the local clustering coefficient C i is the number of pairs of adjacent nodes to v i that are connected between them by an edge, divided by the number of admissible neighbor pairs of v i [8,15,16] that is:
C i = 2 l j k : v j , v k v ˜ i k i ( k i 1 ) , where l j k denotes an edge linking v j and v k .
From Equation (2), we generate some stretching graphs to show how the clustering coefficient evolves when adding the nodes one by one to the networks M 2 6 , M 2 7 and M 2 8 , see Figure 7.
To see this evolution, we can also represent the difference between the local clustering of two consecutive nodes, namely Δ C = C i C i + 1 . This can be compared respect to ([2], Figure 5). Figure 8 shows a symmetrical pattern with respect to the value Δ C = 0 , as the network grows.

2.3. Global Clustering Coefficient

The global clustering coefficient is based on ordered triplets of connected nodes, that can be linked by 2 (open triplet) or 3 edges (closed triplet). With this, a triangle graph has 3 closed triplets: That is, a triangle ABC has 3 triplets associated to it: ABC, BCA, and CAB. With this, the global clustering coefficient can be computed as
C Δ = 3 × number of triangles number of connected triplets
As we can see in Figure 9 the global clustering coefficients decreases when the size of M n grows, approaching 0 for high values of n, which represents that the networks M n become more and more sparse when increasing its size n.

2.4. Assortative Coefficient

The assortativity coefficient r the correlation coefficient of the degrees of adjacent nodes. It shows the preference of nodes to connect with other nodes of comparable degree [8,17].
Given a network G n = ( V n , E n ) , it is defined as follows:
r = i j ( A i j k i k j / 2 L n ) k i k j i j ( k i δ i j k i k j / 2 L n ) k i k j
where k i is the degree of v i , A i j is the ( i , j ) t h element of the adjacency matrix associated to the eventual connection between v i and v j , L n is the total of links in the network, and δ i j is the Kronecker delta. However, determining the assortativity from (4) supposes a high computational cost, and therefore it is suggested to approximate the assortativity by means of the next expression ([8], Section 10.7):
r = S 1 S e S 2 S 1 S 3 S 2 2 with S e = i j A i j k i k j = 2 l ( i , j ) k i k j , and S m = i = 1 N n k i m for m = 1 , 2 , 3 ,
where we have introduced l ( i , j ) for referring to all unordered pairs of nodes connected by an edge and N n is the total number of nodes of a network M n .
Assortativity coefficient presents values ranging from 1 to 1. If r = 1 , we called the network to be fully assortative. In case of r = 0 the network is said to be not assortative, while if r = 1 , the network is called disassortative [15,17,18]. The divisibility networks M n approaches to be disassortative as long as n increases, see Figure 9, which reflects that nodes that have a high degree tend to connect with low-grade nodes.

2.5. Average Path Length

The network average path length, denoted by d is the averaged distance between all pairs of nodes. For each pair, the distance between them is given by the shortest path connecting them. Clearly, if two nodes belong to different connected components, the distance will be ∞. For computing the average path length we have excluded pairs of nodes belonging to different connected components.
d = 1 N ( N 1 ) i , j = 1 , N i j d i , j .
We can see that, if connected, the averaged path length is short. In Figure 9, we show it for several networks. It increases with the size of the network, but even for M 2 11 it is 2.05. This means that the biggest connected component is closed to be a bipartite network.

3. Conclusions

PT and Pascal matrices present multiple properties that have fascinated mathematicians for ages. Here, we have studied them from the perspective of Network Science. We have considered Pascal matrices as a ground for constructing a growing divisibility network. Its structure has been studied, following the approach of [2]. The interest of this choice lies in the fact that PT contains all the natural numbers on each of their sides. The way in which we increasingly construct the divisibility network by taking the Pascal matrices provides a different arrangement of the natural numbers, with gaps between some of them. Nevertheless, the scale-free property for the degree distribution also holds.
Either in [2] or here, both growing networks present similar structures and characteristics to real based networks. This can be noticed when looking at the degree distribution, the global and local clustering coefficients, the assortativity, and the average path length. This work fits within our interest in studying divisibility networks constructed from subsets of the natural numbers, and to see how network measures can help us to describe them and how to find hidden structures and hierarchies [19]. In future works, we will study the divisibility networks provided by other arrangements of the natural numbers, and the divisibility networks of other countable sets of numbers such as the rational numbers in the unit interval [20].
The results concerning the local clustering coefficient are similar to the ones given by [2]. Besides, we have seen that when the size of the network grows, the global clustering coefficient tends to 0, and the divisibility networks approach more and more to being disassortative. Both results agree with the average path length that, despite low, it increases as the network size grows and indicates that the network is close to being bipartite.

Author Contributions

Conceptualization, P.A.S.-H. and J.A.C.; software P.A.S.-H, F.J.P.-B. and F.A.M.; validation and formal analysis, P.A.S.-H. and J.A.C.; writing–original draft preparation, writing–review and editing, P.A.S.-H., F.J.P.-B., F.A.M. and J.A.C. All authors have read and agreed to the published version of the manuscript.

Funding

J.A.C. was funded by MEC grant number MTM2016-75963-P. P.A.S.-H. acknowledges the support of MESCyT-RD and Casa Brugal for his PhD grants.

Conflicts of Interest

The authors declare no conflict of interest. The funding institutions had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.

References

  1. Zhou, T.; Wang, B.H.; Hui, P.; Chan, K. Topological properties of integer networks. Phys. A Stat. Mech. Appl. 2006, 367, 613–618. [Google Scholar] [CrossRef] [Green Version]
  2. Shekatkar, S.M.; Bhagwat, C.; Ambika, G. Divisibility patterns of natural numbers on a complex network. Sci. Rep. 2015, 5, 14280. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  3. Yan, X.Y.; Wang, W.X.; Chen, G.R.; Shi, D.H. Multiplex congruence network of natural numbers. Sci. Rep. 2016, 6, 23714. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  4. Brawer, R.; Pirovino, M. The linear algebra of the Pascal matrix. Linear Algebr. Its Appl. 1992, 174, 13–23. [Google Scholar] [CrossRef]
  5. Edelman, A.; Strang, G. Pascal matrices. Am. Math. Mon. 2004, 111, 189–197. [Google Scholar] [CrossRef]
  6. Barabási, A.-L. Network Science; Cambridge University Press: Cambridge, UK, 2016. [Google Scholar]
  7. Estrada, E. The Structure of Complex Networks: Theory and Applications; Oxford University Press: Oxford, UK, 2012. [Google Scholar]
  8. Newman, M. Networks; Oxford University Press: Oxford, UK, 2018. [Google Scholar]
  9. Barabási, A.L.; Albert, R. Emergence of scaling in random networks. Science 1999, 286, 509–512. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  10. Clauset, A.; Shalizi, C.; Newman, M. Power-law distributions in empirical data. SIAM Rev. 2009, 51, 661–703. [Google Scholar] [CrossRef] [Green Version]
  11. Shang, Y. Distinct clusterings and characteristic path lengths in dynamic small-world networks with identical limit degree distribution. J. Stat. Phys. 2012, 149, 505–518. [Google Scholar] [CrossRef]
  12. Gillespie, C. Fitting heavy tailed distributions: The poweRlaw Package. J. Stat. Softw. 2015, 64, 1–16. [Google Scholar] [CrossRef]
  13. Shang, Y. Subgraph robustness of complex networks under attacks. IEEE Trans. Syst. Man Cybern. Syst. 2017, 49, 821–832. [Google Scholar] [CrossRef]
  14. Ravasz, E.; Barabási, A. Hierarchical organization in complex networks. Phys. Rev. 2003, 67, 026112. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  15. Dorogovtsev, S.; Mendes, J. Evolution of networks. Adv. Phys. 2002, 51, 1079–1187. [Google Scholar] [CrossRef] [Green Version]
  16. Newman, M. The structure and function of complex networks. SIAM Rev. 2003, 45, 167–256. [Google Scholar] [CrossRef] [Green Version]
  17. Newman, M. Mixing patterns in networks. Phys. Rev. 2003, 67, 026126. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  18. Newman, M. Assortative mixing in networks. Phys. Rev. 2002, 89, 208701. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  19. Bunimovich, L.; Smith, D.; Webb, B. Finding hidden structures, hierarchies, and cores in networks via isospectral reduction. Appl. Math. Nonlinear Sci. 2019, 4, 225–248. [Google Scholar] [CrossRef] [Green Version]
  20. Hernández-Solares, P.; Conejero, J.A. Divisibility patterns of the rational numbers on the interval on a complex network. Preprint 2020. [Google Scholar]
Figure 1. Examples of divisibility networks obtained from Pascal matrices S 6 and S 7 . From S 6 , we have that the network M 6 has 14 nodes and 29 edges, see Figure 1a, and from S 7 we have that M 7 has 20 nodes and 72 edges, see Figure 1b.
Figure 1. Examples of divisibility networks obtained from Pascal matrices S 6 and S 7 . From S 6 , we have that the network M 6 has 14 nodes and 29 edges, see Figure 1a, and from S 7 we have that M 7 has 20 nodes and 72 edges, see Figure 1b.
Mathematics 08 00254 g001
Figure 2. Cumulative degree and average degree distributions for the network M 2 6 . Figure 2a shows the cumulative degree as the coefficients of S 2 6 grow in value. Figure 2b plots the evolution of the average degree when the coefficients of S 2 6 are progressively added. For n = 2 6 the average degree is k n = 51.114 .
Figure 2. Cumulative degree and average degree distributions for the network M 2 6 . Figure 2a shows the cumulative degree as the coefficients of S 2 6 grow in value. Figure 2b plots the evolution of the average degree when the coefficients of S 2 6 are progressively added. For n = 2 6 the average degree is k n = 51.114 .
Mathematics 08 00254 g002
Figure 3. In Figure 3a, the sizes of the bins are equal to successive positive powers of 2, and the count in each bin is normalized dividing by the bin width, like in ([2], Figure 2). In Figure 3b, we characterize the uncertainty in the parameter fitting to a power law using 1000 bootstraps for M 2 6 .
Figure 3. In Figure 3a, the sizes of the bins are equal to successive positive powers of 2, and the count in each bin is normalized dividing by the bin width, like in ([2], Figure 2). In Figure 3b, we characterize the uncertainty in the parameter fitting to a power law using 1000 bootstraps for M 2 6 .
Mathematics 08 00254 g003
Figure 4. Representation of the degree distribution for M 2 5 , M 2 6 , M 2 7 , and M 2 8 .
Figure 4. Representation of the degree distribution for M 2 5 , M 2 6 , M 2 7 , and M 2 8 .
Mathematics 08 00254 g004
Figure 5. Representation of the degree distribution for M 2 5 , M 2 6 , M 2 7 , and M 2 8 , with logarithmic bining.
Figure 5. Representation of the degree distribution for M 2 5 , M 2 6 , M 2 7 , and M 2 8 , with logarithmic bining.
Mathematics 08 00254 g005
Figure 6. Degree distributions of the Pascal network M 2 11 with logarithmic bining. In Figure 6a we have removed node 2 and in Figure 6b we have removed nodes 2 to 6.
Figure 6. Degree distributions of the Pascal network M 2 11 with logarithmic bining. In Figure 6a we have removed node 2 and in Figure 6b we have removed nodes 2 to 6.
Mathematics 08 00254 g006
Figure 7. Local clustering coefficient in terms of the node index for different network sizes: (a) M 2 6 , (b) M 2 7 , (c) M 2 8 . Nodes are indexed in increasing order of the number to which they are associated. This graph shows a stretch of similarity due to the divisibility between the coefficients of the Pascal matrix. The stretch is the same, regardless of the size of the network, as was shown in [2].
Figure 7. Local clustering coefficient in terms of the node index for different network sizes: (a) M 2 6 , (b) M 2 7 , (c) M 2 8 . Nodes are indexed in increasing order of the number to which they are associated. This graph shows a stretch of similarity due to the divisibility between the coefficients of the Pascal matrix. The stretch is the same, regardless of the size of the network, as was shown in [2].
Mathematics 08 00254 g007
Figure 8. Behavior of the evolution of the difference between the clustering coefficient C i and the clustering coefficient C i + 1 .
Figure 8. Behavior of the evolution of the difference between the clustering coefficient C i and the clustering coefficient C i + 1 .
Mathematics 08 00254 g008
Figure 9. Evolution of the global clustering, assortativity, and average path length for M 2 2 , M 2 5 , M 2 7 , M 2 9 , and M 2 11 .
Figure 9. Evolution of the global clustering, assortativity, and average path length for M 2 2 , M 2 5 , M 2 7 , M 2 9 , and M 2 11 .
Mathematics 08 00254 g009

Share and Cite

MDPI and ACS Style

Solares-Hernández, P.A.; Manzano, F.A.; Pérez-Benito, F.J.; Conejero, J.A. Divisibility Patterns within Pascal Divisibility Networks. Mathematics 2020, 8, 254. https://doi.org/10.3390/math8020254

AMA Style

Solares-Hernández PA, Manzano FA, Pérez-Benito FJ, Conejero JA. Divisibility Patterns within Pascal Divisibility Networks. Mathematics. 2020; 8(2):254. https://doi.org/10.3390/math8020254

Chicago/Turabian Style

Solares-Hernández, Pedro A., Fernando A. Manzano, Francisco J. Pérez-Benito, and J. Alberto Conejero. 2020. "Divisibility Patterns within Pascal Divisibility Networks" Mathematics 8, no. 2: 254. https://doi.org/10.3390/math8020254

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