1 Introduction

The studying of thermodynamics in gravitational systems has made great progresses in revealing the important properties of black holes [1,2,3]. For example, one of the most important thermodynamic aspects in Anti-de Sitter (AdS) spacetime is the Hawking-Page (HP) phase transition between thermal radiation and large AdS black hole [4], which can be interpreted as the confinement/deconfinement phase transition of the dual boundary quantum fields in the context of AdS/CFT correspondence [5,6,7,8]. And for the charged AdS black hole, there exists a first order phase transition between the charged small and large black holes, which is similar to the van der Waals phase transition [9, 10]. In addition, new thermodynamic perspective with the extend phase space can be introduced for black holes in the presence of the cosmological constant \(\Lambda \), in which \(\Lambda \) is regarded as the thermodynamic pressure P [11,12,13], see also [14,15,16,17,18,19,20,21,22,23,24,25,26] for related studies.

Recently, Wei, Liu and Mann [27] proposed a new approach for describing black hole thermodynamics by using Duan’s topological current \(\phi \)-mapping theory [28, 29]. It is shown in this approach that a black hole can be regarded as defects in thermodynamic parameter space, from the topological perspective, the winding numbers can reflect the characteristics of local thermodynamic stability of the black hole, and the topological number defined as the sum of winding numbers can divide different black hole solutions into three categories. Subsequently, the method has been applied to reanalyze thermodynamic properties of various black holes by calculating their topological numbers, see for example [30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46].

On the other hand, as for the thermodynamic description of black holes, there still exist some outstanding issues that deserve further studying. It is known that the Bekenstein-Hawking entropy of black hole is nonextensive which is proportional to the area of the horizon rather than the volume. Therefore, the standard Gibbs–Boltzmann (GB) statistics may not be the best choice in characterizing strongly gravitating systems. In other words, the GB entropy formula, which satisfies the condition of neglecting long-range type interactions, is violated for the long-range interactions (e.g. black hole system) [47, 48]. Moreover, based on the GB statistics, it is generally believed that a black hole in asymptotically flat spacetime has a negative heat capacity, which implies that the thermodynamic system of black hole can not be in thermodynamic equilibrium with a heat bath of thermal radiation, and the canonical ensemble in the GB statistics may not reliable in nonextensive long-range interaction black hole system. Hence it is necessary to find more appropriate statistical approach to describe systems with long-range type interactions. In general, for a non-additive system, the Abe’s composition rule [49] is given by

$$\begin{aligned} H_{\lambda }(S_{12})=H_{\lambda }(S_{1})+H_{\lambda }(S_{2})+\lambda H_{\lambda }(S_{1})H_{\lambda }(S_{2}), \end{aligned}$$
(1)

where \(H_{\lambda }\) is a differentiable function of S and \(\lambda \in \mathbb {R} \) is a constant parameter. A simple example is the Tsallis entropy [50], which has the following form

$$\begin{aligned} S_\textrm{T}=\frac{1}{1-q}\left( \sum _{i=1}^{N} p_{i}^{q}-1\right) , \quad q\in \mathbb {R} \end{aligned}$$
(2)

where N is the total number of microstates and \(p_{i}\) are the probabilities of system. When \(q \rightarrow 1\), \(S_\textrm{T} \rightarrow S_\textrm{GB}=-\sum _{i=1}^N p_{i} \ln p_{i}\), which is the standard GB statistics. One can find that the composition rule of Tsallis entropy satisfies Eq. (1), i.e.,

$$\begin{aligned} S_\textrm{T}(A,B)=S_\textrm{T}(A)+S_\textrm{T}(B)+(1-q)S_\textrm{T}(A)S_\textrm{T}(B), \end{aligned}$$
(3)

However, there is an incompatibility between the zeroth law of thermodynamics and non-additive entropy composition rules in nonextensive thermodynamics. Fortunately, this problem can be solved by the so-called the formal logarithm approach proposed by Biró and Ván [51]. For the homogeneous system, the Tsallis entropy can be transformed into zeroth law compatible entropy function as

$$\begin{aligned} L\left( S_\textrm{T}\right) =\frac{1}{1-q}\left[ \ln \left( 1+(1-q) S_\textrm{T}\right) \right] \equiv S_\textrm{R} , \end{aligned}$$
(4)

which is just the well-known Rényi entropy [52] and satisfies the additive relation

$$\begin{aligned} S_\textrm{R}(A,B)=S_\textrm{R}(A)+S_\textrm{R}(B). \end{aligned}$$
(5)

Therefore, the corresponding zeroth law compatible temperature function can be calculated as

$$\begin{aligned} \frac{1}{T_\textrm{R}}=\frac{\partial S_\textrm{R}(E)}{\partial E}, \end{aligned}$$
(6)

where E is the energy of the system. It is interesting to regard \(S_\mathrm{{BH}}\) as \(S_\textrm{T}\) [48], and it is natural to apply the above approach to investigate the black hole entropy [53]. In recent years, the Rényi statistics had been applied into different kinds of black holes [54,55,56,57,58,59,60,61,62], in which the parameter \(\lambda \) is shown to play a role of pressure just like the cosmological constant \(\Lambda \).

As discussed above, the analysis of topological number for various kinds of black holes is mainly based on GB statistics. It is interesting to extend the thermodynamic topology to the black holes via the Rényi statistics. In the present paper, we will combine topological method with the Rényi statistics to study the following two problems: The first one is that the topological number is expected to change due to the presence of nonextensivity parameter \(\lambda \), but whether the calculation of topological number via Rényi statistics will change the topological classification of the black hole. The second one is that, previous studies have shown evidences supporting the proposal that there exists a relation between nonextensivity parameter \(\lambda \) and the cosmological constant \(\Lambda \), it is worth considering whether the topological numbers in asymptotically flat and asymptotically AdS spacetime calculated via Rényi and GB statistics are also related, respectively.

The outline of the paper is as follows. In Sect. 2, we give a brief review of the topological approach. In Sect. 3, we start with four-dimensional Schwarzschild black hole and calculate its topological number via the Rényi statistics. In Sects. 4 and 5, we calculate the topological numbers of Reissner–Nordström and Kerr singly rotating black holes in four and higher dimensions, respectively. In Sect. 6, we analyze the topological number of five-dimensional charged black hole in Gauss–Bonnet gravity. Finally, we give the discussion and conclusion in Sect. 7.

2 Topology of black hole thermodynamics

In this section, we first give a brief review of the topological approach. The generalized off-shell free energy of a black hole can be written as [27]

$$\begin{aligned} \mathcal {F}=M-\frac{S}{\tau }, \end{aligned}$$
(7)

where M and S are the black hole mass and entropy, respectively, \(\tau \) is a variable which can be regarded as the inverse temperature of the ensemble. Only when \(\tau = \tau _\textrm{H}=1/T_\textrm{H}\), where \(T_\textrm{H}\) is the Hawking temperature, the generalized free energy is on-shell and reduces to the Helmholtz free energy \(\mathcal {F}= M-T_\textrm{H}S\). In terms of the Rényi statistics, the generalized off-shell free energy can be rewritten as follows

$$\begin{aligned} \mathcal {F}_\textrm{R}=M-\frac{S_\textrm{R}}{\tau _\textrm{R}}. \end{aligned}$$
(8)

The generalized free energy becomes on-shell and reduces to \(\mathcal {F}_\textrm{R}=M - T_\textrm{R}S_\textrm{R}\) when \(\tau _\textrm{R} = 1/T_\textrm{R}\). (In the following section, if there is no special explanation, the generalized free energy we refer to indicates the one in Eq. (8).) Then a vector \(\phi \) can be introduced as

$$\begin{aligned} \phi =\left( \frac{\partial \mathcal {F}_\textrm{R}}{\partial r_\textrm{h}},-\cot \Theta \csc \Theta \right) , \end{aligned}$$
(9)

where \(0< r_\textrm{h}<+ \infty \) and \(0\le \Theta \le \pi \). When \(\Theta = 0,\pi \), \(\phi ^{\Theta }\) is divergent and the direction of the vector points outward. Further, by using Duan’s \(\phi \)-mapping topological current theory [29, 63, 64], a topological current can be defined as

$$\begin{aligned} j^{\mu }=\frac{1}{2 \pi } \epsilon ^{\mu \nu \rho } \epsilon _{a b} \partial _{\nu } n^{a} \partial _{\rho } n^{b}, \quad \mu , \nu , \rho =0,1,2 \end{aligned}$$
(10)

where \(\partial _{\nu }=\frac{\partial }{\partial x^{\nu }}\) and \(x^{\nu }=(\tau _\textrm{R},\ r_\textrm{h},\ \Theta )\). The unit vector n is given by \(n=(n^{1}, n^{2})\), where \(n^{1}=\phi ^{1}/\parallel \phi \parallel \) and \(n^{2}=\phi ^{2}/\parallel \phi \parallel \). It is easy to check that the topological current is conserved, i.e., \(\partial _{\mu }j^{\mu }=0\). Following the \(\phi \)-mapping theory, the topological current \(j^{\mu }\) can be re-expressed as

$$\begin{aligned} j^{\mu }=\delta ^{2}(\phi ) J^{\mu }\left( \frac{\phi }{x}\right) , \end{aligned}$$
(11)

where the vector Jacobi is defined as

$$\begin{aligned} \epsilon ^{a b}J^{\mu }\left( \frac{\phi }{x}\right) =\epsilon ^{\mu \nu \rho }\partial _{\nu }\phi ^{a}\partial _{\rho }\phi ^{b}. \end{aligned}$$
(12)

Obviously, the topological current \(j^{\mu }\) is nonzero only when \(\phi =0\), and we can find that the topological charge (or topological number ) can be derived as

$$\begin{aligned} W=\int _{\Sigma } j^{0} d^{2} x=\sum _{i=1}^{N} \beta _{i} \eta _{i}=\sum _{i=1}^{N} w_{i}, \end{aligned}$$
(13)

where \(\beta _{i}\) is the positive Hopf index, which counts the number of the loops of the vector \(\phi ^{a}\) in the \(\phi \) space when \(x^{\mu }\) goes around the zero point \(z_{i}\), the Brouwer degree \(\eta _{i}=\) sign\((J^{0}(\phi /x)_{z_{i}})=\pm \, 1\) and \(w_{i}\) is the winding number for the i-th zero point of \(\phi \) in the parameter space \(\Sigma \). Note that when we choose \(\Sigma \) to be the neighborhood of a zero point of \(\phi \), it will display local topological properties, on the contrary, if \(\Sigma \) is the entire parameter space, the global topological W number will be revealed.

3 The topological number of four-dimensional Schwarzschild black hole

In this section, we investigate the topological number of the four-dimensional Schwarzschild black hole via the above topological approach. The Schwarzschild black hole metric is

$$\begin{aligned} ds^{2}=-\left( 1-\frac{2M}{r}\right) dt^{2} +\left( 1-\frac{2M}{r}\right) ^{-1}dr^{2}+r^{2}d \Omega _{2}^{2},\nonumber \\ \end{aligned}$$
(14)

where M is the ADM mass and \(d\Omega ^{2}_{2}\) is the line element of the unit \(S^2\). And the mass and entropy of the four-dimensional Schwarzschild black hole is given by

$$\begin{aligned} M=\frac{r_\textrm{h}}{2}, \quad S_\textrm{BH}= \pi r_\textrm{h}^{2}, \end{aligned}$$
(15)

where \(r_\textrm{h}\) is the horizon radius. Using the transformation rule Eq. (4), we obtain the Rényi entropy function of Schwarzschild black hole as

$$\begin{aligned} S_\textrm{R}=\frac{1}{\lambda }\ln (1+\lambda \pi r_\textrm{h}^2) . \end{aligned}$$
(16)

According to Eqs. (8), (15), (16). We obtain the generalized free energy as

$$\begin{aligned} \mathcal {F} _\textrm{R}=\frac{r_\textrm{h}}{2}-\frac{1}{\lambda }\ln (1+\lambda \pi r_\textrm{h}^2)\frac{1}{\tau _\textrm{R}}. \end{aligned}$$
(17)

Then the components of the vector \(\phi \) can be calculated as

$$\begin{aligned} \begin{aligned} \phi ^{r_\textrm{h}}&=\frac{1}{2}-\frac{2\pi r_\textrm{h}}{1+\lambda \pi r_\textrm{h}^{2}}\frac{1}{\tau _\textrm{R}} , \\ \phi ^{\Theta }&=-\cot \Theta \csc \Theta . \end{aligned} \end{aligned}$$
(18)

By solving the equation \(\phi ^{r_\textrm{h}}=0\), we obtain

$$\begin{aligned} \tau _\textrm{R}=\frac{4\pi r_\textrm{h}}{1+\lambda \pi r_\textrm{h}^{2}}. \end{aligned}$$
(19)

Figure 1a shows the curve of Eq. (19) on the \(r_\textrm{h}-\tau _\textrm{R}\) plane. When we fix the parameter \(\lambda = 0.1/\pi \), we find that for \(\tau _\textrm{R} < \tau _{a}\) (e.g. \(\tau _\textrm{R}=\tau _{1}\)), there are two points which satisfy the condition \(\tau _\textrm{R}=1/T_\textrm{R}\), it reveals that there are two different types of black holes: one is thermodynamically stable, another is thermodynamically unstable, which are characterized by positive or negative values of the winding numbers.

In addition, we plot the unit vector field n at \(\tau _\textrm{R}=15\) in Fig. 1b, where we find two zero points (ZP): ZP\(_{1}\) at \(r_\textrm{h}=1.44\) and ZP\(_{2}\) at \(r_\textrm{h}=6.94\), the corresponding winding numbers are \(w_{1}=-\,1\) and \(w_{2}=+\,1\), respectively. Thus, the topological number of four-dimensional Schwarzschild black hole is: \(W=-\,1+1=0\).

Moreover, our calculation is based on the Rényi statistics, which naturally leads to various result in [27] via the GB statistics. It is worth noting that previous study has shown that the canonical ensemble in flat spacetime which is described by the Rényi formula exists just like in AdS spacetime [65]. Now by comparing the topological number we calculated (including winding number) with the result of four-dimensional Schwarzschild-AdS black hole via the GB statistics, we find that they are similar, which indicates a connection between the black hole thermodynamics in asymptotically flat spacetime via Rényi statistics and that in asymptotically AdS spacetime via GB statistics. In the following section, we will analyze other types of black holes along with this thought.

Fig. 1
figure 1

The left figure a zero points of the vector \(\phi ^{r_\textrm{h}}\) shown in the \(r_\textrm{h}-\tau _\textrm{R}\) plane with \(\lambda = 0.1/\pi \) for four-dimensional Schwarzschild black hole. The annihilation point for this black hole is represented by the red dot with \(\tau _{a}\). There are two Schwarzschild black holes when \(\tau _\textrm{R}=\tau _{1}\). Obviously, the topological number is: \(W =-1+1 = 0\). The left figure b the red arrows represent the unit vector field n on a portion of the \(r_\textrm{h}-\Theta \) plane with \(\lambda = 0.1/\pi \) and \(\tau _\textrm{R}=15\) for four-dimensional Schwarzschild black hole. The black contours \(C_{i}\) are closed loops surrounding the zero points

4 The topological number of Reissner–Nordström (RN) black holes

The topological number of RN black holes have been studied via the GB statistics in [27], and it has been shown that the topological number of RN black hole is different from that of the Schwarzschild black hole. In the following, we will analyze the topological number for the charged case from the perspective of Rényi statistics. We start with the d-dimensional RN black hole, the metric is

$$\begin{aligned} ds^{2}= & -\left( 1-\frac{2m}{r^{d-3}}+\frac{q^{2}}{r^{2(d-3)}}\right) dt^{2}\nonumber \\ & +\left( 1-\frac{2m}{r^{d-3}}+\frac{q^{2}}{r^{2(d-3)}}\right) ^{-1}\nonumber \\ & \times dr^{2} +r^{2}d\Omega _{d-2}^{2}, \end{aligned}$$
(20)

where the ADM mass M, charge Q and entropy \(S_\textrm{BH}\) of the black hole are

$$\begin{aligned} & M=\frac{d-2}{8\pi }\omega _{d-2}m,\quad Q=\frac{\sqrt{2(d-2)(d-3)} }{8\pi }\omega _{d-2} q,\nonumber \\ & S_\textrm{BH} =\frac{\omega _{d-2}r_\textrm{h}^{d-2}}{4}, \end{aligned}$$
(21)

where \(r_\textrm{h}\) is the outer horizon radius and \(\omega _{d-2}=2\pi ^{(d-1)/2}/ \Gamma ((d-1)/2)\) is the volume of the unit \(S^{d-2}\). In following subsection, we will discuss the four-dimensional and higher dimensional cases based on the above thermodynamic quantities.

4.1 Four-dimensional case

For the case \(d=4\), \(\omega _{2}=4 \pi \), the thermodynamic quantities (21) reduce to

$$\begin{aligned} M=m, \quad Q=q, \quad S_\textrm{BH}=\pi r_\textrm{h}^{2}. \end{aligned}$$
(22)

Thus, the Rényi entropy is given by

$$\begin{aligned} S_\textrm{R}=\frac{1}{\lambda } \ln (1+\lambda \pi r_\textrm{h}^{2}). \end{aligned}$$
(23)

From Eqs. (22), (23), we obtain the generalized free energy

$$\begin{aligned} \begin{aligned} \mathcal {F}_\textrm{R}&=M-\frac{S_\textrm{R}}{\tau _\textrm{R}}\\&=\frac{r_\textrm{h}}{2}+\frac{Q^{2}}{2r_\textrm{h}}-\frac{1}{\lambda }\ln (1+\lambda \pi r_\textrm{h}^2)\frac{1}{\tau _\textrm{R}}. \end{aligned} \end{aligned}$$
(24)

The components of the vector \(\phi \) can be calculated as

$$\begin{aligned} \begin{aligned} \phi ^{r_\textrm{h}}&= \frac{1}{2}-\frac{Q^{2}}{2r_\textrm{h}^{2}} -\frac{2\pi r_\textrm{h}}{1+\lambda \pi r_\textrm{h}^{2}}\frac{1}{\tau _\textrm{R}},\\ \phi ^{\Theta }&=-\cot \Theta \csc \Theta , \end{aligned} \end{aligned}$$
(25)

and the on-shell condition \(\phi ^{r_\textrm{h}}=0\) gives

$$\begin{aligned} \tau _\textrm{R}=\frac{4\pi r_\textrm{h}^{3}}{(r_\textrm{h}^{2}-Q^{2})(1+\lambda \pi r_\textrm{h}^{2} )} . \end{aligned}$$
(26)
Fig. 2
figure 2

The curves of Eq. (26), where the stable and unstable black hole branches are plotted in solid and dashed lines, respectively. The left figure a is plotted with \(Q=1\), \(\lambda =0.03/\pi <\lambda _{c}\) and \(\tau _\textrm{R}=36\). The red solid, blue dashed, and black solid lines are for the large black hole (LBH), intermediate black hole (IBH), and small black hole (SBH), respectively. The annihilation and generation points are represented by red and blue dots, respectively. The right figure b is plotted with \(Q=1\), \(\lambda =2/\pi >\lambda _{c}\) and \(\tau _\textrm{R}=1.5\)

Fig. 3
figure 3

The red arrows represent the unit vector field n on a portion of the \(r_\textrm{h}-\Theta \) plane for four-dimensional RN black hole. The left figure a is plotted with \(Q=1\) and \(\lambda =0.03/\pi <\lambda _{c}\). The right figure b is plotted with \(Q=1\), \(\lambda =2/\pi >\lambda _{c}\)

Next, we will give the curve between \(r_\textrm{h}\) and \(\tau _\textrm{R}\) when the parameter Q and \(\lambda \) are fixed. Noting that there is a critical parameter \(\lambda _{c}=(7-4\sqrt{3})/\pi Q^{2}\) for the four-dimensional black hole, when \(\lambda <\lambda _{c}\), there is a SBH/LBH phase transition, otherwise, i.e., \(\lambda >\lambda _{c}\), there is no phase transition [55]. From Fig. 2, when choosing \(Q=1\), \(\lambda =0.03/\pi <\lambda _{c}\), we can find that there are three black hole branches: the red and black solid lines for large and small black hole branches, respectively, and the blue dashed line for intermediate black hole branch. When taking \(Q=1\), \(\lambda =2/\pi >\lambda _{c}\), there is only one black hole branch.

Besides, the unit vector field is plotted in Fig. 3a, in which there are three zero points: ZP\(_{1}\) at \(r_\textrm{h}=1.34\), ZP\(_{2}\) at \(r_\textrm{h}=3.89\) and ZP\(_{3}\) at \(r_\textrm{h}=7.28\). The winding numbers of both large black hole branch (e.g. ZP\(_{3}\)) and small black hole branch (e.g. ZP\(_{1}\)) are equal to \(+\,1\), while the winding number of intermediate black hole branch (e.g. ZP\(_{2}\)) is equal to \(-\,1\). Thus, the topological number of four-dimensional RN black hole is: \(W=+\,1-1+1=+1\). For the case \(\lambda >\lambda _{c}\), only one zero point ZP\(_{4}\) at \(r_\textrm{h}=4.31\) As shown in Fig. 3b, which has the same topological number as the case \(\lambda <\lambda _{c}\), i.e. \(W=+\,1\).

4.2 Higher dimensional cases

For the case of higher dimensional RN black hole, it is convenient to study its topological numbers by analyzing the asymptotic behaviors of \(\tau _\textrm{R}(r_\textrm{h})\) at small and large \(r_\textrm{h}\) limits. Starting with thermodynamic quantities in Eq. (21), the generalized free energy is given by

$$\begin{aligned} \begin{aligned} \mathcal {F}_\textrm{R}&=M-\frac{S_\textrm{R}}{\tau _\textrm{R}}\\&= \frac{d-2}{8\pi }\omega _{d-2}\left( \frac{r_\textrm{h}^{d-3}}{2}+\frac{q^{2}}{2r_\textrm{h}^{d-3}} \right) -\frac{\ln \left( 1+\lambda \frac{\omega _{d-2}r_\textrm{h}^{d-2}}{4} \right) }{\lambda \tau _\textrm{R}}. \end{aligned} \end{aligned}$$
(27)

Thus, the zero point \(\partial \mathcal {F}_\textrm{R}/\partial r_\textrm{h}=0\) is

$$\begin{aligned} \tau _\textrm{R}=\frac{16\pi r_\textrm{h}^{2d-5}}{(d-3)(r_\textrm{h}^{2d-6}-q^{2})(4+\lambda r_\textrm{h}^{d-2}\omega _{d-2})} . \end{aligned}$$
(28)

When the charge \(q=0\), Eq. (28) reduces to

$$\begin{aligned} \tau _\textrm{R}=\frac{16\pi r_\textrm{h}}{(d-3)(4+\lambda r_\textrm{h}^{d-2}\omega _{d-2})} , \end{aligned}$$
(29)

which is the case of d-dimensional Schwarzschild black hole, the lower bound of \(r_\textrm{h}\) in Eq. (29) is zero, i.e. \(r_\textrm{min}=0\), so the asymptotic of \(\tau _\textrm{R}\) in small and large \(r_\textrm{h}\) limits satisfy

$$\begin{aligned} \begin{aligned}&\tau _\textrm{R}\rightarrow 0, \quad r_\textrm{h}\rightarrow \infty ,\\&\tau _\textrm{R}\rightarrow 0, \quad r_\textrm{h}\rightarrow 0 , \end{aligned} \end{aligned}$$
(30)

which is similar to Type 4 introduced in [32], and the topological number is equal to 0.

When the charge q is nonzero, the lower bound of \(r_\textrm{h}\) in Eq. (28) is the horizon radius of the extremal black hole with zero temperature (i.e. \(r_\textrm{min}=r_\textrm{ex}=q^{\frac{1}{d-3}}\)), then we obtain

$$\begin{aligned} \begin{aligned}&\tau _\textrm{R}\rightarrow 0, \quad r_\textrm{h}\rightarrow \infty ,\\&\tau _\textrm{R}\rightarrow \infty , \quad r_\textrm{h}\rightarrow r_\textrm{ex} , \end{aligned} \end{aligned}$$
(31)

which is similar to Type 2 introduced in [32], and the topological number \(W=+1\). From the above discussion, we can see that the charge has an effect on the topological number of the black hole, and that the dimension has no effect on the topological number of Schwarzschild and RN black holes calculated via Rényi statistics, which is similar to the result by using the GB statistics in [27].

5 The topological number of Kerr black holes

In this section, we will explore the cases for rotating black holes, i.e., Kerr black hole via the Rényi statistics. For d-dimensional singly rotating Kerr black hole, its metric is

$$\begin{aligned} \begin{aligned} d s^{2}=&-\frac{\Delta _{r}}{\Sigma }\left( d t-a \sin ^{2} \theta d \phi \right) ^{2}+\frac{\Sigma }{\Delta _{r}} d r^{2}+\Sigma d \theta ^{2} \\&+\frac{\sin ^{2} \theta }{\Sigma }\left[ a d t-\left( r^{2}+a^{2}\right) d \phi \right] ^{2}+r^{2} \cos ^{2} \theta d \Omega _{d-4}^{2}, \end{aligned} \end{aligned}$$
(32)

where

$$\begin{aligned} \Delta _{r}=r^{2}+a^{2}-2mr^{5-d},\quad \Sigma =r^{2}+a^{2}\cos \theta , \end{aligned}$$
(33)

and its corresponding mass, horizon entropy, angular velocity and angular momentum are respectively

$$\begin{aligned} \begin{aligned}&M=\frac{d-2}{8\pi }\omega _{d-2}m,\quad S_\textrm{BH}=\frac{\omega _{d-2}}{4}(r_\textrm{h}^{2}+a^{2})r_\textrm{h}^{d-4}, \\&\Omega =\frac{a}{r_\textrm{h}^{2}+a^{2}},\quad J=\frac{\omega _{d-2}}{4\pi }ma, \end{aligned} \end{aligned}$$
(34)

where the horizon radius \(r_\textrm{h}\) is given by the equation \(\Delta _{r}=0\).

5.1 Four-dimensional case

We start with the case \(d=4\), the thermodynamic quantities in Eq. (34) reduces to

$$\begin{aligned} \begin{aligned}&M=m,\quad S_\textrm{BH}=\pi (r_\textrm{h}^{2}+a^{2}), \\&\Omega =\frac{a}{r_\textrm{h}^{2}+a^{2}},\quad J=ma. \end{aligned} \end{aligned}$$
(35)

Therefore, the Rényi entropy is calculated as follows

$$\begin{aligned} S_\textrm{R}=\frac{1}{\lambda }\ln (1+\lambda \pi (r_\textrm{h}^2+a^{2})) , \end{aligned}$$
(36)

and the generalized free energy of the four-dimensional Kerr black hole can be written as

$$\begin{aligned} \begin{aligned} \mathcal {F}_\textrm{R}&=M-\frac{S_\textrm{R}}{\tau _\textrm{R}}\\&=\frac{r_\textrm{h}^{2}+a^{2}}{2 r_\textrm{h}}-\frac{1}{\lambda }\ln (1+\lambda \pi (r_\textrm{h}^2+a^{2}))\frac{1}{\tau _\textrm{R}} . \end{aligned} \end{aligned}$$
(37)
Fig. 4
figure 4

The curves of Eq. (39), where the stable and unstable black hole branches are plotted in solid and dashed lines, respectively. The left figure a is plotted with \(a=1\) and \(\lambda =0.01 <\lambda _{c}\). The red solid, blue dashed, and black solid lines are for the large black hole (LBH), intermediate black hole (IBH), and small black hole (SBH), respectively. The annihilation and generation points are represented by red and blue dots, respectively. The right figure b is plotted with \(a=1\), \(\lambda =0.1 >\lambda _{c}\)

The components of the vector \(\phi \) can be given by

$$\begin{aligned} \begin{aligned} \phi ^{r_\textrm{h}}&= \frac{1}{2}-\frac{a^2}{2r_\textrm{h}^{2}} -\frac{2\pi r_\textrm{h}}{1+\lambda \pi (r_\textrm{h}^{2}+a^{2})}\frac{1}{\tau _\textrm{R}},\\ \phi ^{\Theta }&=-\cot \Theta \csc \Theta . \end{aligned} \end{aligned}$$
(38)

The zero points are determined by \(\phi =0\), namely,

$$\begin{aligned} \tau _\textrm{R}=\frac{4\pi r_\textrm{h}^{3}}{(r_\textrm{h}^{2}-a^{2})(1+\lambda \pi (r_\textrm{h}^{2}+a^{2}) )} . \end{aligned}$$
(39)
Fig. 5
figure 5

The red arrows represent the unit vector field n in a portion of the \(r_\textrm{h}-\Theta \) plane for four-dimensional Kerr black hole. The left figure a is plotted with \(a=1\), \(\lambda =0.01 <\lambda _{c}\) and \(\tau _\textrm{R} =32\). The right figure b is plotted with \(a=1\), \(\lambda =0.1 >\lambda _{c}\) and \(\tau _\textrm{R} =7\)

Through the analysis of Eq. (39), we find that there is a critical parameter \(\lambda _{c}\) for the four-dimensional rotating case. It is similar to the case of four-dimensional RN black hole, where there is a phase transition or no phase transition when the value of parameter \(\lambda \) is different (i.e., \(\lambda <\lambda _{c}\) or \(\lambda >\lambda _{c}\)). For more discussion on the phase transition, refer to [54]. To plot the curve of Eq. (32), we set \(a=1\), and choose various values for \(\lambda =0.01<\lambda _{c}\) and \(\lambda =0.1>\lambda _{c}\). As shown in Fig. 4, there are two types of curves on the \(r_\textrm{h}-\tau _\textrm{R}\) plane, which is the same as that of the analysis of four-dimensional RN black hole. In Fig. 5, we plot the vector field, there are three ZPs in Fig. 5a: ZP\(_{1}\) at \(r_\textrm{h}=1.43\), ZP\(_{2}\) at \(r_\textrm{h}=2.92\) and ZP\(_{3}\) at \(r_\textrm{h}=9.01\), only one zero point in Fig. 5b: ZP\(_{4}\) at \(r_\textrm{h}=5.12\). Thus, one can make a similar calculation of the topological number, and obtain the topological number W for each cases \(\lambda <\lambda _{c}\) and \(\lambda >\lambda _{c}\) is equal to \(+1\).

5.2 Higher dimensional cases

For the \(d>4\)-dimensional Kerr black hole, from Eq. (34), its Rényi entropy and generalized free energy are

$$\begin{aligned} S_\textrm{R}= & \frac{1}{\lambda }\ln (1+\frac{\omega _{d-2}}{4} \lambda (r_\textrm{h}^{2}+a^{2})r_\textrm{h}^{d-4} ), \nonumber \\ \mathcal {F}_\textrm{R}= & M-\frac{S_\textrm{R}}{\tau _\textrm{R}}\nonumber \\= & \frac{(d-2)\omega _{d-2}(r_\textrm{h}^{2}+a^{2})}{16\pi r_\textrm{h}^{5-d}}\nonumber \\ & -\frac{1}{\lambda }\frac{\ln (1+\frac{\omega _{d-2}}{4} \lambda (r_\textrm{h}^{2}+a^{2})r_\textrm{h}^{d-4} )}{\tau _\textrm{R}}. \end{aligned}$$
(40)

Then the components of the vector \(\phi \) can be given by

$$\begin{aligned} \phi ^{r_\textrm{h}}= & \frac{(d-2)r_\textrm{h}^{d-4}\omega _{d-2}}{8\pi } \nonumber \\ & +\frac{(d-2)(d-5)r_\textrm{h}^{d-6}(a^{2}+r_\textrm{h}^{2})w_{d-2}}{16\pi } \nonumber \\ & -\frac{(2r_\textrm{h}^{d-3}+(d-4)r_\textrm{h}^{d-5}(a^{2}+r_\textrm{h}^{2})) \omega _{d-2}}{\tau _\textrm{R}(4+r_\textrm{h}^{d-4}(a^{2}+r_\textrm{h}^{2})\lambda \omega _{d-2})}\nonumber \\ \phi ^{\Theta }= & -\cot \Theta \csc \Theta . \end{aligned}$$
(41)
Fig. 6
figure 6

The left figure a zero points of the vector \(\phi ^{r_\textrm{h}}\) shown in the \(r_\textrm{h}-\tau _\textrm{R}\) plane with \(a=1\) and \(\lambda = 0.01 \) for five-dimensional singly rotating Kerr black hole. The red solid, blue dashed, and black solid lines are for the large black hole (LBH), intermediate black hole (IBH), and small black hole (SBH), respectively. The annihilation and generation points are represented by red and blue dots, respectively. The left figure b the red arrows represent the unit vector field n on a portion of the \(r_\textrm{h}-\Theta \) plane with \(\lambda = 0.01 \), \(a=1\) and \(\tau _\textrm{R}=8\) for the case \(d=5\). The black contours \(C_{i}\) are closed loops surrounding the zero points

By solving \(\phi ^{r_\textrm{h}}=\partial {\mathcal {F}_\textrm{R} }/\partial {r_\textrm{h}}=0 \), the relationship between \(\tau _\textrm{R}\) and \(r_\textrm{h}\) is given by

$$\begin{aligned} & \tau _\textrm{R}{=}\frac{16\pi r_\textrm{h}^{5}((d-4)a^{2}{+}(d-2)r_\textrm{h}^{2})}{(d{-}2)((d{-}3)r_\textrm{h}^{2}{+}(d-5)a^{2})(4r_\textrm{h}^{4}{+}\lambda \omega _{d-2}r_\textrm{h}^{d}(a^{2}{+}r_\textrm{h}^{2}))}.\nonumber \\ \end{aligned}$$
(42)

Next, we will firstly discuss situations in specific dimensions, and finally give an analysis from the asymptotic behaviors of \(\tau _\textrm{R}\).

5.2.1 (a). \(d=5\)

When \(d=5\), \(\omega _{3}=2 \pi ^{2} \), the vector \(\phi \) is given by

$$\begin{aligned} \begin{aligned} \phi ^{r_\textrm{h}}&= \frac{3 \pi r _\textrm{h}}{4}-\frac{\pi ^{2}\left( a^{2}+3 r_\textrm{h}^{2}\right) }{\left( 2+a^{2} \pi ^{2} r_\textrm{h} \lambda +\pi ^{2} r_\textrm{h}^{3} \lambda \right) \tau _\textrm{R}},\\ \phi ^{\Theta }&=-\cot \Theta \csc \Theta , \end{aligned} \end{aligned}$$
(43)

and the zero point of vector satisfies

$$\begin{aligned} \tau _\textrm{R}=\frac{4\pi (a^{2}+3r_\textrm{h}^{2})}{3r_\textrm{h}(2+\lambda \pi ^{2} r_\textrm{h}(a^{2}+r_\textrm{h}^{2}))}. \end{aligned}$$
(44)

In Fig. 6a, we plot the zero point of \(\phi ^{r_\textrm{h}}\) by fixing \(a=1\), \(\lambda =0.01\), and there are three black hole branches. The unit vector field n with \(\tau _\textrm{R}=8\) is shown in Fig. 6b, there are three zero points which are located at ZP\(_i\) \((r_\textrm{h},\Theta )=(0.35,\pi /2), \ (1.15,\pi /2), \ (2.94,\pi /2)\). From Fig. 6a, b, the topological number of five-dimensional rotating black hole can be calculated as: \(W=+\,1-1+1=+\,1\), where \(+\,1\) is the winding number of large and small black hole branches, and \(-\,1\) is the winding number of intermediate black hole branch. Furthermore, we can find that the topological number of five-dimensional case is the same as that of the four-dimensional case.

Fig. 7
figure 7

The left figure a zero points of the vector \(\phi ^{r_\textrm{h}}\) shown in the \(r_\textrm{h}-\tau _\textrm{R}\) plane with \(a=1\) and \(\lambda = 0.01 \) for six-dimensional singly rotating Kerr black hole. The annihilation point for this black hole is represented by the blue dot with \(\tau _{a}\). The left figure b the red arrows represent the unit vector field n on a portion of the \(r_\textrm{h}-\Theta \) plane with \(\lambda = 0.01 \), \(a=1\) and \(\tau _\textrm{R}=3\) for the case \(d=6\). The black contours \(C_{i}\) are closed loops surrounding the zero points

5.2.2 (b). \(d=6\)

For the \(d=6\) case, \(\omega _{4}=8\pi ^{2}/3\), the components of vector \(\phi \) are given by

$$\begin{aligned} \phi ^{r_\textrm{h}}= & \frac{4\pi r_\textrm{h}^{2}}{3}+\frac{2\pi }{3}(a^{2}+r_\textrm{h}^{2})-\frac{4\pi ^{2}r_\textrm{h}(a^{2}+2r_\textrm{h}^{2})}{(3+2\pi ^{2} \lambda r_\textrm{h}^{2}(a^{2}+r_\textrm{h}^{2}) )\tau _\textrm{R}} \nonumber \\ \phi ^{\Theta }= & -\cot \Theta \csc \Theta , \end{aligned}$$
(45)

and the zero point of the vector gives

$$\begin{aligned} \tau _\textrm{R}=\frac{6\pi r_\textrm{h}(a^{2}+2r_\textrm{h}^{2})}{(a^{2}+3r_\textrm{h}^{2})(3+2\pi ^{2}r_\textrm{h}^{2}\lambda (a^{2}+r_\textrm{h}^{2}) )} . \end{aligned}$$
(46)

Taking the parameter \(a=1\) and \(\lambda =0.01\), we plot the curve of Eq. (46) in Fig. 7a, and the unit vector n with \(\tau _\textrm{R}=3\) is shown in Fig. 7b, one can easily calculate the winding numbers of two points which are located at ZP\(_{1}\) \((0.59,\pi /2)\) and ZP\(_{2}\) \((2.35,\pi /2)\) as: \(\omega _{1}=-1\), \(\omega _{2}=+1\), respectively. Thus, the topological number W of six-dimensional case is equal to \(-1+1=0\), which different from the topological number for the cases \(d=4,5\).

5.2.3 (c). \(d=7\)

As for the \(d=7\) case, and the volume of unit \(S^7\) is \(\omega _{5}=\pi ^{3}\) and the vector \(\phi ^{a}\) is given by

$$\begin{aligned} \begin{aligned} \phi ^{r_\textrm{h}}&=\frac{5\pi ^{2}r_\textrm{h}^{3} }{8}+\frac{5\pi ^{2}}{8}r_\textrm{h}(a^{2}+r_\textrm{h}^{2})-\frac{\pi ^{3}r_\textrm{h}^{2}(3a^{2}+5r_\textrm{h}^{2})}{(4+\lambda \pi r_\textrm{h}^{3}(a^{2}+r_\textrm{h}^{2}))\tau _\textrm{R}} \\ \phi ^{\Theta }&=-\cot \Theta \csc \Theta , \end{aligned} \end{aligned}$$
(47)

and thezero point of the vector gives

$$\begin{aligned} \tau _\textrm{R}=\frac{8\pi r_\textrm{h}(3a^{2}+5r_\textrm{h}^{2})}{5(a^{2}+2r_\textrm{h}^{2})(4+\pi ^{3}r_\textrm{h}^{3}\lambda (a^{2}+r_\textrm{h}^{2}) )} . \end{aligned}$$
(48)

Figure 8a is the curve of Eq. (48) with \(a=1\) and \(\lambda =0.01\), and Fig. 8b is the unit vector n with \(\tau _\textrm{R}=2\), which exists two points ZP\(_{1}\) \((0.58,\pi /2)\) and ZP\(_{2}\) \((1.80,\pi /2)\). From Fig. 8a, b, the topological number is calculated as: \(W=-1+1=0\).

Through the above calculations for \(d=4,5,6,7\) cases, we show that the cases \(d=4,5\) have the same topological number \(W=+1\), which is different from the cases \(d=6,7\) with \(W=0\). Therefore, it implies that the dimension will affect on the topological number of the singly rotating Kerr black hole calculated by the Rényi statistics, which is also mentioned in [31, 32, 35, 36] for different kinds of black holes based on the GB statistics.

Fig. 8
figure 8

The left figure a zero points of the vector \(\phi ^{r_\textrm{h}}\) shown in the \(r_\textrm{h}-\tau _\textrm{R}\) plane with \(a=1\) and \(\lambda = 0.01 \) for seven-dimensional singly rotating Kerr black hole. The annihilation point for this black hole is represented by the red dot with \(\tau _{a}\). The left figure b the red arrows represent the unit vector field n on a portion of the \(r_\textrm{h}-\Theta \) plane with \(\lambda = 0.01 \), \(a=1\) and \(\tau _\textrm{R}=2\) for the case \(d=7\). The black contours \(C_{i}\) are closed loops surrounding the zero points

Now, we will also determine the topological number for general dimensional Kerr black holes via analyzing the asymptotic behaviors of \(\tau _\textrm{R}\) and explain the reason for the different topological numbers when \(d>5\). We start with Eq. (42),

$$\begin{aligned} \tau _\textrm{R} =\frac{16\pi r_\textrm{h}^{5}((d-4)a^{2}+(d-2)r_\textrm{h}^{2})}{(d-2)((d-3)r_\textrm{h}^{2}+(d-5)a^{2})(4r_\textrm{h}^{4}+\lambda \omega _{d-2}r_\textrm{h}^{d}(a^{2}+r_\textrm{h}^{2}))}.\nonumber \\ \end{aligned}$$
(49)

Note that when \(d=4\), the lower bound of \(r_\textrm{h}\) is \(r_\textrm{h} \rightarrow r_\textrm{ex}=a\), thus the asymptotic behavior of \(\tau _\textrm{R}\) is given by

$$\begin{aligned} \begin{aligned}&\tau _\textrm{R}\rightarrow \infty , \quad r_\textrm{h}\rightarrow r_\textrm{ex} ,\\&\tau _\textrm{R}\rightarrow 0, \quad r_\textrm{h}\rightarrow \infty , \end{aligned} \end{aligned}$$
(50)

and the topological number W is equal to \(+1\). When \(d=5\), the asymptotic behavior of \(\tau _\textrm{R}\) is same as the case \(d=4\), but the lower bound of \(r_\textrm{h}\) is different, which is \(r_\textrm{h} \rightarrow r_\textrm{min} =0\) in the small \(r_\textrm{h}\) limit. Therefore, the topological numbers are the same for both \(d=4\) and \(d=5\) cases.

For the \(d>5\) case, we can find that the low bound of \(r_\textrm{h}\) in Eq. (49) is zero (i.e., \(r_\textrm{h} \rightarrow r_\textrm{min}=0\)), hence the asymptotic behaviors of \(\tau _\textrm{R}\) in \(r_\textrm{h} \rightarrow 0\) and \(r_\textrm{h} \rightarrow \infty \) limits can be calculated as

$$\begin{aligned} \begin{aligned}&\tau _\textrm{R}\rightarrow 0, \quad r_\textrm{h}\rightarrow 0 ,\\&\tau _\textrm{R}\rightarrow 0, \quad r_\textrm{h}\rightarrow \infty , \end{aligned} \end{aligned}$$
(51)

which is the same as Type 4 in [32] and the topological number is \(W=0\).

In short, since the asymptotic behaviors of \(\tau _\textrm{R}\) for singly rotating Kerr black holes have an effect on the dimension, where there are the same asymptotic behavior for \(d=4,5\), but there is a different asymptotic behavior for \(d>5\), the topological number depends on the dimension. Based on the above calculation, we find that the topological numbers of cases \(d=4,5\) and \(d>5\) are equal to \(+1\) and 0, respectively, which is consistent with the results obtained from the GB statistics [35, 36].

6 The topological number of five-dimensional Gauss–Bonnet black hole

In this section, we will study the topological numbers of five-dimensional Gauss–Bonnet black holes with and without charges, the d-dimensional spherically symmetric Gauss–Bonnet black hole is [66]

$$\begin{aligned} ds^{2}=-f(r)dt^{2}+f(r)^{-1}dr^{2}+r^{2}d\Omega _{d-2}^{2} , \end{aligned}$$
(52)

where f(r) is

$$\begin{aligned} & f(r)=1+\frac{r^{2}}{2 \alpha }\nonumber \\ & \quad \times \left( 1-\sqrt{1+\frac{64 \pi \alpha M}{(d-2) \omega _{d-2} r^{d-1}}-\frac{2 \alpha Q^{2}}{(d-2)(d-3) r^{2 d-4}}}\right) ,\nonumber \\ \end{aligned}$$
(53)

and M is the ADM mass, Q is the charge, and \(\alpha \) is related to the positive Gauss–Bonnet coefficient \(\alpha _\textrm{GB}\), which satisfies \(\alpha =(d-2)(d-3)\alpha _\textrm{GB}\). For \(d=5\), the metric in Eq. (53) reduces to

$$\begin{aligned} f(r)=1+\frac{r^{2}}{2 \alpha }\left( 1-\sqrt{1+\frac{64 \pi \alpha M}{3\omega _{3} r^{4}}-\frac{ \alpha Q^{2}}{3 r^{6}}}\right) . \end{aligned}$$
(54)

We list the thermodynamic quantities as follows:

$$\begin{aligned} M = \frac{\omega _{3} Q^{2}}{64\pi r_\textrm{h}^{2}}+\frac{3 \omega _{3} r_\textrm{h}^{2}}{16\pi }\left( 1+\frac{\alpha }{r_\textrm{h}^{2}} \right) , \quad S_\textrm{BH}=\frac{\omega _{3} r_\textrm{h}^{3}}{4}\left( 1+\frac{6\alpha }{r_\textrm{h}^{2}} \right) . \end{aligned}$$
(55)

Thus, we obtain the Rényi entropy as

$$\begin{aligned} S_\textrm{R}=\frac{1}{\lambda }\ln \left( 1+\lambda \frac{\omega _{3} r_\textrm{h}^{3}}{4}\left( 1+\frac{6\alpha }{r_\textrm{h}^{2}} \right) \right) , \end{aligned}$$
(56)

and the generalized free energy of the five-dimensional charged Gauss–Bonnet black hole can be written as

$$\begin{aligned} \mathcal {F}_\textrm{R}= & \frac{\omega _{3} Q^{2}}{64\pi r_\textrm{h}^{2}}+\frac{3 \omega _{3} r_\textrm{h}^{2}}{16\pi }\left( 1+\frac{\alpha }{r_\textrm{h}^{2}} \right) \nonumber \\ & -\frac{1}{\lambda \tau _\textrm{R}}\ln \left( 1+\lambda \frac{\omega _{3} r_\textrm{h}^{3}}{4}\left( 1+\frac{6\alpha }{r_\textrm{h}^{2}} \right) \right) . \end{aligned}$$
(57)

The components of the vector \(\phi \) can be calculated as

$$\begin{aligned} \begin{aligned} \phi ^{r_\textrm{h}}&=\frac{\omega _{3} (12r_\textrm{h}^{4}-Q^{2})}{32\pi r_\textrm{h}^{3}}-\frac{3 \omega _{3} (2\alpha +r_\textrm{h}^{2})}{(4+\lambda \omega _{3} r_\textrm{h}(6\alpha +r_\textrm{h}^{2}))\tau _\textrm{R}}, \\ \phi ^{\Theta }&=-\cot \Theta \csc \Theta . \end{aligned} \end{aligned}$$
(58)

By solving the equation \(\phi ^{r_\textrm{h}}=0\), we obtain

$$\begin{aligned} \tau _\textrm{R}=\frac{96\pi (2 \alpha r_\textrm{h}^{3}+r_\textrm{h}^{5})}{(12r_\textrm{h}^{4}-Q^{2})(4+\lambda \omega _{3} r_\textrm{h}(6\alpha +r_\textrm{h}^{2}))}. \end{aligned}$$
(59)

It is worth noting that through the analysis of Eq. (59), it can be found that there is a critical value \(\lambda _{c}\). when choosing \(Q=1\) and \(\alpha =1\), we can find \(\lambda _{c}\simeq 0.00229\) numerically. As shown in Fig. 9, we choose \(Q=1\), \(\alpha =1\) and plot the curve of Eq. (59) for fixing \(\lambda =0.001<\lambda _{c}\) and \(\lambda =0.1>\lambda _{c}\) in \(r_\textrm{h}-\tau _\textrm{R}\) plane. In Fig. 10, we show the unit vector n with \(\tau _\textrm{R}=18\), there are three zero points which are located at ZP\(_i\) \((r_\textrm{h},\Theta )=(1.20,\pi /2), \ (2.47,\pi /2), \ (5.85,\pi /2)\). Thus, the topological number is calculated as: \(W=+1-1+1=+1\).

Fig. 9
figure 9

The curves of Eq. (59). The red solid, blue dashed, and black solid lines are for the large black hole (LBH), intermediate black hole (IBH), and small black hole (SBH), respectively. The annihilation and generation points are represented by red and blue dots, respectively. The left figure a is plotted with \(Q=1\), \(\alpha =1\) and \(\lambda =0.001 <\lambda _{c}\). The right figure b is plotted with \(Q=1\), \(\alpha =1\), and \(\lambda =0.1 >\lambda _{c}\)

Fig. 10
figure 10

The red arrows represent the unit vector field n on a portion of the \(r_\textrm{h}-\Theta \) plane with \(\lambda = 0.001 \), \(Q=1\), \(\alpha =1\) and \(\tau _\textrm{R}=18\) for five-dimensional Gauss–Bonnet black hole. The black contours \(C_{i}\) are closed loops surrounding the zero points

In the following part, we focus on the analysis of asymptotic behaviors of \(\tau _\textrm{R}\) and calculate the topological numbers when the charge is absent. Besides, as a comparison, we also use the analysis of asymptotic behavior of \(\tau _\textrm{R} \) to give the topological numbers of five-dimensional Gauss–Bonnet black hole calculated by GB statistics. When \(Q=0\), Eq. (59) reduces to

$$\begin{aligned} \tau _\textrm{R}=\frac{8\pi (2\alpha +r_\textrm{h}^{2})}{r_\textrm{h}(4+\lambda \omega _{3} r_\textrm{h}(6\alpha +r_\textrm{h}^{2}))}, \end{aligned}$$
(60)

then the lower bound of \(r_\textrm{h}\) in Eq. (60) is zero, hence the asymptotic behavior of \(\tau _\textrm{R}\) is given by

$$\begin{aligned} \begin{aligned}&\tau _\textrm{R}\rightarrow \infty , \quad r_\textrm{h}\rightarrow 0 ,\\&\tau _\textrm{R}\rightarrow 0, \quad r_\textrm{h}\rightarrow \infty , \end{aligned} \end{aligned}$$
(61)

thus the topological number is \(W=+1\), which is same as the case of \(Q \ne 0\).

Table 1 The topological number W calculated from the Rényi and the GB statistics for different black holes
Table 2 The topological number W calculated via Rényi and GB statistics for different black holes

Now taking the limit of \(\lambda \rightarrow 0\), the entropy function \(S_\textrm{R}\) reduces to \(S_\textrm{BH}\) and \(\tau _\textrm{R}\) becomes

$$\begin{aligned} \tau = \frac{24\pi (2 \alpha r_\textrm{h}^{3}+r_\textrm{h}^{5})}{12r_\textrm{h}^{4}-Q^{2}}, \end{aligned}$$
(62)

which exists a lower bound of \(r_\textrm{ex}\). It is easy to find that \(\tau \) possesses the asymptotic behaviors:

$$\begin{aligned} \begin{aligned}&\tau \rightarrow \infty , \quad r_\textrm{h}\rightarrow r_\textrm{ex} ,\\&\tau \rightarrow \infty , \quad r_\textrm{h}\rightarrow \infty , \end{aligned} \end{aligned}$$
(63)

which implies the topological number is \(W=0\). In addition, when setting \(Q=0\) in Eq. (62), the asymptotic behaviors of \(\tau \) are the same as the \(Q\ne 0\) case. Thus, the topological number is \(W=0\) both for the five-dimensional charged and uncharged Gauss–Bonnet black holes calculated by GB statistics, which is different from the topological number \(W=+1\) obtained by the Rényi statistics.

7 Conclusions and discussions

In this paper, we combined the topological method with the Rényi statistics to investigate black hole thermodynamics, and calculated the topological number of various black holes, the results are listed in Table 1, from which one can see that the topological numbers calculated from the Rényi statistics are different from previous results calculated via the GB statistics, it is natural because \(\tau _\textrm{R}\) is different from \(\tau \). However, although the topological numbers are different between the calculations of Rényi and GB statistics, we find that the topological classifications of various types of vacuum black holes share similar properties as their counterparts in AdS spacetime: four-dimensional RN, four-dimensional and five-dimensional singly rotating Kerr, five-dimensional charged and uncharged Gauss–Bonnet black holes belong to the same kind of topological classes, and four-dimensional Schwarzschild black hole and \(d>5\) singly rotating Kerr black holes belong to the another different kind of topological classes.

Furthermore, an interesting point we mentioned at the end of Sect. 3 is that the topological numbers in asymptotically flat spacetime calculated via the Rényi statistics seem to be related to those of black holes in asymptotically AdS spacetime calculated via the GB statistics. As shown in Table 2, by comparing the topological numbers we calculated with previous results obtained from the GB statistics, we found that their topological numbers can correspond with each other. Note that there were many studies focusd on black holes thermodynamics via the Rényi statistics, and showed that the nonextensive parameter \(\lambda \) plays the role of pressure just like the cosmological constant \(\Lambda \) in AdS background. Thus, it is natural that we can obtain the same topological number as in AdS spacetime via the Rényi statistics. In fact, from another point of view, we utilized the topological method to provide an evidence for the connection between the Rényi parameter \(\lambda \) and the cosmological constant \(\Lambda \). Especially, previous studies on black hole thermodynamics analyzed via the Rényi statistics mainly focused on four-dimensional cases (e.g., Schwarzschild, RN, Kerr, etc.), in the present paper, we used the topological method to calculate not only the four-dimensional case, but also the higher-dimensional black holes and five-dimensional Gauss–Bonnet black hole. We showed that the topological numbers calculated from Rényi and GB statistics in asymptotically flat and AdS spacetimes are also consistent, respectively, which reveals that the thermodynamic behaviors of higher dimensional black holes and Gauss–Bonnet gravity in asymptotically flat spacetime via the Rényi statistics is connected with their counterparts in asymptotically AdS spacetime via the GB statistics. Our results may shed light on future studies on the topological classes of many other types of black holes via the Rényi statistics and also the entanglement entropy of black holes. Another interesting problem to study is whether the topological numbers of black holes can be understood from the black hole shadow obtained by the Event Horizon Telescope, we would like to study this problem in a future work.