Introduction

The first proposal of a unified theory of fundamental interactions was elaborated by Kaluza1,2 and Klein3,4 (see also, Ref.5). This new proposal established that the electromagnetism can be introduced through an extra (compactified) dimension in the space-time, where the spatial dimension becomes five-dimensional. This geometrical unification of gravitation and electromagnetism in five-dimensional version of general relativity gave some interesting results. The idea behind introducing additional space-time dimensions has found wide applications in quantum field theory6. Stationary cylindrically symmetric solutions to the five-dimensional Einstein and Einstein–Gauss–Bonnet equations has studied in Ref.7. Few examples of these solutions are the five-dimensional generalizations of cosmic string, chiral cosmic string8,9, and magnetic flux string10 space-times.

The Kaluza–Klein theory (KKT) has investigated in several branches of physics. For example, in Khaler fields11, in the presence of torsion12,13, in the Grassmannian context14,15,16, in the description of geometric phases in graphene17, in Kaluza–Klein reduction of a quadratic curvature model18, in the presence of fermions19,20,21, and in studies of the Lorentz symmetry violation22,23,24. In addition, the Kaluz–Klein theory has been studied in the relativistic quantum mechanics, for example, KG-oscillator on curved background in Ref.25, KG-oscillator field interacts with Cornell-type potential in Ref.26, generalized KG-oscillator in the background of magnetic cosmic string with scalar potential of Cornell-type in Ref.27, generalized KG-oscillator in the background of magnetic cosmic string with a linear confining potential in Ref.28, quantum dynamics of a scalar particle in the background of magnetic cosmic string and chiral cosmic string in Refs.29,30, bound states solution for a relativistic scalar particle subject to Coulomb-type potential in the Minkowski space-time in five dimensions in Ref.31, investigation of a scalar particle with position-dependent mass subject to a uniform magnetic field and quantum flux in the Minkowski space-time in five dimensions in Ref.32, and quantum dynamics of KG-scalar particle subject to linear and Coulomb-type central potentials in the five-dimensional Minkowski space-time33. Furthermore, effects of rotation on KG-scalar field subject Coulomb-type interaction and on KG-oscillator using Kaluza–Klein theory in the Minkowski space-time in five dimensions has also investigated34. In order to describe singular behavior for a system at large distances in a uniformly rotating frame on the clocks and on a rotating body, Landau et al.36 made a transformation such that it introduces a uniform rotation in the Minkowski space-time in cylindrical system. Non-inertial effects related to rotation have been investigated in several quantum systems, such as, in Dirac particle37, on a neutral particle38, on the Dirac oscillator39, in cosmic string space-time40,41, in cosmic string space-time with torsion42. Study of non-inertial effects on KG-oscillator within the Kaluza–Klein theory will be our next work.

The Klein–Gordon oscillator (KGO)43,44 was inspired by the Dirac oscillator (DO)45 applied to spin-\(\frac{1}{2}\) particle. Several authors have studied KGO on background space-times, for example, in cosmic string, Gödel-type space-times etc. (e.g. Refs.46,47,48). In the context of KKT, the KG-oscillator in five-dimensional cosmic string and magnetic cosmic string background25, under a Cornell-type potential in five-dimensional Minkowski space-time26 have investigated. In addition, generalized KGO on curved background space-time induced by a spinning cosmic string coupled to a magnetic field including quantum flux49, in magnetic cosmic string background under the effects of Cornell-type potential27 and a linear confining potential28 using KKT, in the presence of Coulomb-type potential in \((1+2)\)-dimensions Gürses space–time50, in cosmic string space-time with a spacelike dislocation51, and in cosmic string space-time52 have investigated.

In this work, we study generalized KGO by introducing a uniform magnetic field in the cosmic string line element using KKT1,2,3,4,5 under the effects of a linear confining potential, and analyze a relativistic analogue of the Aharonov–Bohm effect for bound states. The Aharonov–Bohm effect53,54,55,56 is a quantum mechanical phenomena that describe phase shifts of the wave-function of a quantum particle due to the presence of a quantum flux produced by topological defects space-times. This effect has investigated by several authors in different branches of physics, such as, in Newtonian theory57, in bound states of massive fermions58, in scattering of dislocated wave-fronts59, on position-dependent mass system under torsion effects42,48,60, in bound states solution of spin-0 scalar particles49. In addition, this effect has investigated using KKT with or without interactions of various kind in five-dimensional the Minkowski or cosmic string space-time background25,27,28,29,30,31,32,33,34.

Interactions of generalized KGO with scalar potential using the KKT

The basic idea of the Kaluz–Klein theory1,2,3,4,5,29 was to postulate one extra compactified space dimension and introducing pure gravity in new \((1+4)\)-dimensional space-time. It turns out that the five-dimensional gravity manifests in our observable \((1 + 3)\)-dimensional space-time as gravitational, electromagnetic and scalar filed. In this way, we can work with general relativity in five-dimensions. The information about the electromagnetism is given by introducing a gauge potential \(A_{\mu }\) in the space-time26,29,30 as

$$\begin{aligned} ds^2=-dt^2+dr^2+\alpha ^2\,r^2\,d\phi ^2+dz^2+\left[ dy+\kappa \,A_{\mu } (x^{\mu })\, dx^{\mu } \right] ^2, \end{aligned}$$
(1)

where \(\mu =0,1,2,3\), \(x^0=t\) is the time-coordinate, \(x^4=y\) is the coordinate associated with fifth additional dimension having ranges \(0< y < 2\,\pi \,a\) where, a is the radius of the compact dimension of y, \((x^1=r, x^2=\phi , x^3=z)\) are the cylindrical coordinates with the usual ranges, and \(\kappa\) is the gauge coupling or Kaluza constant29. The parameter \(\alpha =(1-4\,\mu )\)61 characterizing the wedge parameter where, \(\mu\) is the linear mass density of the string. We assume the values of the parameter \(\alpha\) lies in the range \(0< \alpha <1\).

Based on Refs.25,26,27,29,31,32, we introduce a uniform magnetic field \(B_0\) and quantum flux \(\Phi\) through the line-element of the cosmic string space-time (1) in the following form

$$\begin{aligned} ds^2=-dt^2+dr^2+\alpha ^2\,r^2\,d\phi ^2+dz^2+\left[ dy+\left( -\frac{1}{2}\,\alpha \,B_0\,r^2+\frac{\Phi }{2\pi } \right) \, d\phi \right] ^2, \end{aligned}$$
(2)

where the gauge field given by

$$\begin{aligned} A_{\phi }=\kappa ^{-1}\,\left( -\frac{1}{2}\,\alpha \,B_{0}\,r^2+\frac{\Phi }{2\pi } \right) \end{aligned}$$
(3)

gives rise to a uniform magnetic field \(\vec {B}= \vec {\nabla }\times \vec {A}=-\kappa ^{-1}\,B_0\,{\hat{z}}\)62, \({\hat{z}}\) is the unitary vector in the z-direction. Here \(\Phi =const\) is quantum flux53,62 through the core of the topological defects63.

The relativistic quantum dynamics of spin-0 scalar particle with a scalar potential S(r) by modifying the mass term in the form \(m \rightarrow m+ S(r)\) as done in Refs.27,28,48 in five-dimensional case is described by26,31,32,33:

$$\begin{aligned} \left[ \frac{1}{\sqrt{-g}}\,\partial _{M} (\sqrt{-g}\,g^{MN}\,\partial _{N})-(m+S)^2 \right] \,\Psi =0, \end{aligned}$$
(4)

where \(M, N=0,1,2,3,4\), with \(g=\det \,g=-\alpha ^2\,r^2\) is the determinant of metric tensor \(g_{MN}\) with \(g^{MN}\) its inverse for the line element (2) and m is rest mass of the particle.

To couple generalized Klein–Gordon oscillator with field, following change in the radial momentum operator is considered27,28,49,50,51,52,64

$$\begin{aligned} \vec {p} \rightarrow \vec {p}+i\,m\,\Omega \,f(r){\hat{r}}\quad ,\quad \partial _{r} \rightarrow \partial _{r}+m\,\Omega \,f(r), \end{aligned}$$
(5)

where \(\Omega\) is the oscillator frequency and we can write \(\vec {p}^{\,2} \rightarrow (\vec {p}+i\,m\,\Omega \,f(r){\hat{r}})(\vec {p}-i\,m\,\Omega \,f(r){\hat{r}})\). Therefore, the KG-equation becomes

$$\begin{aligned} \left[ \frac{1}{\sqrt{-g}}\,\left( \partial _{M}+m\,\Omega \,X_{M} \right) \sqrt{-g}\,g^{MN}\,\left( \partial _{N}-m\,\Omega \,X_{N} \right) -(m+S)^2 \right] \,\Psi =0, \end{aligned}$$
(6)

where \(X_{M}=(0, f(r), 0,0,0)\).

For the metric (2)

$$\begin{aligned} g^{MN}=\left( \begin{array}{lllll} -1 &{} 0 &{} \quad 0 &{} 0 &{} \quad 0 \\ \quad 0 &{} 1 &{} \quad 0 &{} 0 &{} \quad 0 \\ \quad 0 &{} 0 &{} \quad \frac{1}{\alpha ^2\,r^2} &{} 0 &{} -\frac{K\,A_{\phi }}{\alpha ^2\,r^2} \\ \quad 0 &{} 0 &{} \quad 0 &{} 1 &{} \quad 0 \\ \quad 0 &{} 0 &{} -\frac{K\,A_{\phi }}{\alpha ^2\,r^2} &{} 0 &{} 1+\frac{K^2\,A^2_{\phi }}{\alpha ^2\,r^2} \end{array} \right) . \end{aligned}$$
(7)

By considering the line-element (2) into the Eq. (6), we obtain the following differential equation:

$$\begin{aligned}&\Big[-\frac{\partial ^2}{\partial t^2}+\frac{\partial ^2}{\partial r^2}+\frac{1}{r}\,\frac{\partial }{\partial r}+\frac{1}{\alpha ^2\,r^2}\,\left( \frac{\partial }{\partial \phi }-\kappa \,A_{\phi }\,\frac{\partial }{\partial y}\right) ^2+\frac{\partial ^2}{\partial z^2}+\frac{\partial ^2}{\partial y^2}\nonumber \\&\quad -m\,\Omega \,\left( f'+\frac{f}{r} \right) -m^2\,\Omega ^2\,f^2(r)-\left( m+S \right) ^2\Big]\,\Psi (t,r,\phi ,z,y)=0. \end{aligned}$$
(8)

Since the line-element (2) is independent of \(t, \phi ,z, x\). One can choose the following ansatz for the function \(\Psi\) as:

$$\begin{aligned} \Psi (t, r, \phi , z, y)=e^{i\,(-E\,t+l\,\phi +k\,z+q\,y)}\,\psi (r), \end{aligned}$$
(9)

where E is the total energy of the particle, \(l=0,\pm \,1,\pm \,2, \ldots \in \mathbf{Z}\), and kq are constants.

Substituting the ansatz (9) into the Eq. (8), we obtain the following equation:

$$\begin{aligned}&\left[ \frac{d^2}{dr^2}+\frac{1}{r}\,\frac{d}{dr}+E^2-k^2-q^2-m\,\Omega \,\left( f'+\frac{f}{r} \right) - m^2\,\Omega ^2\,f^2(r)-\frac{(l-K\,q\,A_{\phi })^2}{\alpha ^2\,r^2}\right] \,\psi (r)\nonumber \\&\quad =(m+S)^2\,\psi (r). \end{aligned}$$
(10)

Linear confining potential

In this work, we consider linear confining potential that studies in the confinement of quarks65, in the relativistic quantum mechanics28,47,48,66,67,68,69,70,71, and in atomic and molecular physics72. This potential is given by

$$\begin{aligned} S (r)=\eta _L\,r, \end{aligned}$$
(11)

where \(\eta _L\) is a constant that characterizes the linear confining potential.

Below, we choose two types of function f(r) for the studies of generalized KG-oscillator in the considered relativistic system subject to linear confining potential.

Case A Cornell-type function \(f (r)=b_1\,r+\frac{b_2}{r}\)

Substituting Eqs. (3) and (11) into the Eq. (10) and using the above function, we obtain the following equation:

$$\begin{aligned} \left[ \frac{d^2}{dr^2}+\frac{1}{r}\,\frac{d}{dr}+\lambda -\frac{j^2}{r^2}-\omega ^2\,r^2-b\,r \right] \,\psi (r)=0, \end{aligned}$$
(12)

where

$$\begin{aligned} \lambda= & {} E^2-k^2-q^2-m^2-2\,m\,\omega _c\,\frac{(l-\frac{q\,\Phi }{2\pi })}{\alpha }-2\,m\,\Omega \,b_1-2\,m^2\,\Omega ^2\,b_1\,b_2,\nonumber \\ \omega= & {} \sqrt{m^2\,\omega ^2_{c}+\eta ^2_{L}+m^2\,\Omega ^2\,b^2_{1}},\nonumber \\ j= & {} \sqrt{\frac{(l-\frac{q\,\Phi }{2\pi })^2}{\alpha ^2}+m^2\,\Omega ^2\,b^2_{2}},\nonumber \\ \omega _c= & {} \frac{q\,B_0}{2\,m},\nonumber \\ b= & {} 2\,m\,\eta _L. \end{aligned}$$
(13)

Introducing a new variable \(\rho =\sqrt{\omega }\,r\), Eq. (12) becomes

$$\begin{aligned} \left[ \frac{d^2}{d\rho ^2}+\frac{1}{\rho }\,\frac{d}{d\rho }+\zeta -\frac{j^2}{\rho ^2}-\rho ^2-\theta \,\rho \right] \,\psi (\rho )=0, \end{aligned}$$
(14)

where

$$\begin{aligned} \zeta =\frac{\lambda }{\omega }\quad ,\quad \theta =\frac{b}{\omega ^{\frac{3}{2}}}. \end{aligned}$$
(15)

Let us impose the requirement that the wave-function \(\psi (\rho ) \rightarrow 0\) for both \(\rho \rightarrow 0\) and \(\rho \rightarrow \infty\). Suppose the possible solution to Eq. (14) is

$$\begin{aligned} \psi (\rho )=\rho ^{j}\,e^{-\frac{1}{2}\,(\rho +\theta )\,\rho }\,H (\rho ). \end{aligned}$$
(16)

Substituting the solution Eq. (16) into the Eq. (14), we obtain

$$\begin{aligned} H''(\rho )+\left[ \frac{\gamma }{\rho }-\theta -2\,\rho \right] \,H'(\rho )+\left[ -\frac{\beta }{\rho }+\Theta \right] \,H (\rho )=0, \end{aligned}$$
(17)

where

$$\begin{aligned}&\gamma =1+2\,j,\nonumber \\&\Theta =\zeta +\frac{\theta ^2}{4}-2\,(1+j),\nonumber \\&\beta =\frac{\theta }{2}\,(1+2\,j). \end{aligned}$$
(18)

Equation (17) is the biconfluent Heun’s differential equation27,28,48,60,73,74 and \(H (\rho )\) is the Heun polynomials.

The above equation (17) can be solved by the Frobenius method. We consider the power series solution75

$$\begin{aligned} H (\rho )=\sum _{i=0}^{\infty }\,c_{i}\,\rho ^{i} \end{aligned}$$
(19)

Substituting the above power series solution into the Eq. (17), we obtain the following recurrence relation for the coefficients:

$$\begin{aligned} c_{n+2}=\frac{1}{(n+2)(n+2+2\,j)}\,\left[ \left\{ \beta +\theta \,(n+1) \right\} \,c_{n+1}-(\Theta -2\,n)\,c_{n} \right] . \end{aligned}$$
(20)

And the various coefficients are

$$\begin{aligned}&c_1=\frac{\theta }{2}\,c_0,\nonumber \\&c_2=\frac{1}{4\,(1+j)}\,[\left( \beta +\theta \right) \,c_{1}-\Theta \,c_{0}]. \end{aligned}$$
(21)

We must truncate the power series by imposing the following two conditions27,28,31,32,33,48,60:

$$\begin{aligned} \Theta= & {} 2\,n, \quad (n=1,2, \ldots )\nonumber \\ c_{n+1}= & {} 0. \end{aligned}$$
(22)

By analyzing the condition \(\Theta =2\,n\), we get the following second degree expression of the energy eigenvalues \(E_{n,l}\):

$$\begin{aligned}&\frac{\lambda }{\omega }+\frac{\theta ^2}{4}-2\,(1+j)=2\,n\nonumber \\ \Rightarrow \; &E_{n,l}=\pm \,\{k^2+q^2+m^2+2\,\omega \,\left( n+1+\sqrt{\frac{(l-\frac{q\,\Phi }{2\pi })^2}{\alpha ^2}+m^2\,\Omega ^2\,b^{2}_2} \right) \nonumber \\&+2\,m\,\omega _c\,\frac{(l-\frac{q\,\Phi }{2\pi })}{\alpha }-\frac{m^2\,\eta ^2_{L}}{\omega ^2} +2\,m\,\Omega \,b_1\,(1+m\,\Omega \,b_2) \}^{\frac{1}{2}}. \end{aligned}$$
(23)

Note that the Eq. (23) does not represent the general expression for eigenvalues. One can obtain the individual energy eigenvalues one by one, that is, \(E_1, E_2, E_3, \ldots\) by imposing the additional recurrence condition \(C_{n+1}=0\) on the eigenvalue as done in Refs.27,28,48,60. For \(n=1\), we have \(\Theta =2\) and \(c_2=0\) which implies from Eq. (21)

$$\begin{aligned}&c_1=\frac{2}{\beta +\theta }\,c_0\Rightarrow \frac{\theta }{2}=\frac{2}{\beta +\theta }\nonumber \\&\omega _{1,l}=\left[ \frac{b^2}{8}\,(3+2\,j) \right] ^{\frac{1}{3}}= \left[ \frac{m^2\,\eta ^2_{1\,L}}{2}\,(3+2\,j) \right] ^{\frac{1}{3}} \end{aligned}$$
(24)

a constraint on the parameter \(\omega _{1,l}\). The relation given in Eq. (24) gives the value of the parameter \(\omega _{1,l}\) that permit us to construct a first degree polynomial solution of \(H (\rho )\) for the radial mode \(n=1\). Note that the parameter \(\omega _{1,l}\) depends on the linear confining potential \(\eta _L\) and its value changes for each quantum number \(\{n, l\}\), so we have labeled \(\omega \rightarrow \omega _{n,l}\) and \(\eta _{L} \rightarrow \eta _{1\,L}\). Besides, we have adjusted the magnetic field \(B^{1,l}_{0}\) and the linear confining potential \(\eta _{1\,L}\) such that Eq. (24) can be satisfied and we have simplified by labelling:

$$\begin{aligned} \omega ^{1,l}_{c}=\frac{1}{m}\sqrt{\omega ^2_{1,l}-\eta ^2_{1\,L}-m^2\,\Omega ^2\,b^2_{1}} \leftrightarrow B^{1,l}_{0}=\frac{2}{q}\sqrt{\omega ^2_{1,l}-\eta ^2_{1\,L}-m^2\,\Omega ^2\,b^2_{1}}. \end{aligned}$$
(25)

It is noteworthy that the allowed value of the magnetic field \(B^{1,l}_{0}\) for lowest state of the system given by (25) is defined for the radial mode \(n=1\). We can note from Eq. (25) that the magnetic field \(B_0\) depends on the quantum numbers \(\{n, l\}\) of the relativistic system which shows a quantum effect.

Therefore, the ground state energy level for \(n=1\) is given by

$$\begin{aligned} E_{1,l}= & {} \pm \,\{k^2+q^2+m^2+2\,\omega _{1,l}\,\left( 2+\sqrt{\frac{(l-\frac{q\,\Phi }{2\pi })^2}{\alpha ^2}+m^2\,\Omega ^2\,b^{2}_2} \right) \nonumber \\&+2\,m\,\omega ^{1,l}_c\,\frac{(l-\frac{q\,\Phi }{2\pi })}{\alpha }-\frac{m^2\,\eta ^2_{L}}{\omega ^2_{1,l}}+2\,m\,\Omega \,b_1\,(1+m\,\Omega \,b_2) \}^{\frac{1}{2}}. \end{aligned}$$
(26)

And the radial wave-functions is

$$\begin{aligned} \psi _{1,l}=\rho ^{\sqrt{\frac{(l-\frac{q\,\Phi }{2\pi })^2}{\alpha ^2}+m^2\,\Omega ^2\,b^{2}_2}}\,e^{-\frac{1}{2}\,\left( \frac{2\,m\,\eta _L}{\omega ^{\frac{3}{2}}_{1,l}}+\rho \right) \,\rho }\,\left( c_0+c_1\,\rho \right) , \end{aligned}$$
(27)

where

$$\begin{aligned} c_1= & {} \frac{1}{\sqrt{\frac{3}{2}+\sqrt{\frac{(l-\frac{q\,\Phi }{2\pi })^2}{\alpha ^2}+m^2\,\Omega ^2\,b^{2}_2}}}\,c_0. \end{aligned}$$
(28)

Then, by substituting the magnetic field (25) into the Eq. (26), one can obtain the allowed values of the relativistic energy level for the radial mode \(n=1\) of the system. As the values of the wedge parameter \(\alpha\) are in the ranges \(0< \alpha < 1\), thus, the degeneracy of the energy is broken and shifted the energy level in comparison to the case of five-dimensional Minkowski space-time.

Case B Coulomb-type function \(f (r)=\frac{b_2}{r}\)

In that case, the radial wave-equation (12) becomes

$$\begin{aligned} \left[ \frac{d^2}{dr^2}+\frac{1}{r}\,\frac{d}{dr}+{\tilde{\lambda }}-\frac{j^2}{r^2}-{\tilde{\omega }}^2\,r^2-b\,r \right] \,\psi (r)=0, \end{aligned}$$
(29)

where

$$\begin{aligned} {\tilde{\lambda }}= & {} E^2-k^2-q^2-m^2-2\,m\,\omega _c\,\frac{(l-\frac{q\,\Phi }{2\pi })}{\alpha },\nonumber \\ {\tilde{\omega }}= & {} \sqrt{m^2\,\omega ^2_{c}+\eta ^2_{L}}. \end{aligned}$$
(30)

Introducing a new variable \(\rho =\sqrt{{\tilde{\omega }}}\,r\), Eq. (12) becomes

$$\begin{aligned} \left[ \frac{d^2}{d\rho ^2}+\frac{1}{\rho }\,\frac{d}{d\rho }+{\tilde{\zeta }}-\frac{j^2}{\rho ^2}-\rho ^2-{\tilde{\theta }}\,\rho \right] \,\psi (\rho )=0, \end{aligned}$$
(31)

where

$$\begin{aligned} {\tilde{\zeta }}=\frac{{\tilde{\lambda }}}{{\tilde{\omega }}}\quad ,\quad {\tilde{\theta }}=\frac{b}{{\tilde{\omega }}^{\frac{3}{2}}}. \end{aligned}$$
(32)

Let the possible solution to Eq. (31) is

$$\begin{aligned} \psi (\rho )=\rho ^{j}\,e^{-\frac{1}{2}\,(\rho +{\tilde{\theta }})\,\rho }\,H (\rho ). \end{aligned}$$
(33)

Substituting solution Eq. (33) into the Eq. (31), we obtain

$$\begin{aligned} H''(\rho )+\left[ \frac{\gamma }{\rho }-{\tilde{\theta }}-2\,\rho \right] \,H'(\rho )+\left[ -\frac{{\tilde{\beta }}}{\rho }+{\tilde{\Theta }} \right] \,H (\rho )=0, \end{aligned}$$
(34)

where

$$\begin{aligned}&{\tilde{\Theta }}={\tilde{\zeta }}+\frac{{\tilde{\theta }}^2}{4}-2\,(1+j),\nonumber \\&{\tilde{\beta }}=\frac{{\tilde{\theta }}}{2}\,(1+2\,j). \end{aligned}$$
(35)

Equation (34) is the biconfluent Heun’s differential equation27,28,48,60,73,74 and \(H (\rho )\) is the Heun polynomials.

Substituting the above power series solution (19) into the Eq. (34), we obtain the following recurrence relation for the coefficients:

$$\begin{aligned} c_{n+2}=\frac{1}{(n+2)(n+2+2\,j)}\,\left[ \left\{ {\tilde{\beta }}+{\tilde{\theta }}\,(n+1) \right\} \,c_{n+1}-({\tilde{\Theta }}-2\,n)\,c_{n} \right] . \end{aligned}$$
(36)

And the various coefficients are

$$\begin{aligned}&c_1=\frac{{\tilde{\theta }}}{2}\,c_0,\nonumber \\&c_2=\frac{1}{4\,(1+j)}\,[\left( {\tilde{\beta }}+{\tilde{\theta }} \right) \,c_{1}-{\tilde{\Theta }}\,c_{0}]. \end{aligned}$$
(37)

We must truncate the power series by imposing the following two conditions27,28,31,32,33,48,60:

$$\begin{aligned} {\tilde{\Theta }}= & {} 2\,n, \quad (n=1,2, \ldots )\nonumber \\ c_{n+1}= & {} 0. \end{aligned}$$
(38)

By analyzing the condition \({\tilde{\Theta }}=2\,n\), we get the following second degree expression of the energy eigenvalues \(E_{n,l}\):

$$\begin{aligned}&\frac{{\tilde{\lambda }}}{{\tilde{\omega }}}+\frac{{\tilde{\theta }}^2}{4}-2\,(1+j)=2\,n\nonumber \\\Rightarrow \; &E_{n,l}=\pm \,\{k^2+q^2+m^2+2\,{\tilde{\omega }}\,\left( n+1+\sqrt{\frac{(l-\frac{q\,\Phi }{2\pi })^2}{\alpha ^2}+m^2\,\Omega ^2\,b^{2}_2} \right) \nonumber \\&+2\,m\,\omega _c\,\frac{(l-\frac{q\,\Phi }{2\pi })}{\alpha }-\frac{m^2\,\eta ^2_{L}}{{\tilde{\omega }}^2}\}^{\frac{1}{2}}. \end{aligned}$$
(39)

Following the similar technique as done earlier, we want to find the individual energy level and wave-function. For example \(n=1\) we have \(\Theta =2\) and \(c_2=0\) which implies from Eq. (21)

$$\begin{aligned} c_1= & {} \frac{2}{{\tilde{\beta }}+{\tilde{\theta }}}\,c_0\Rightarrow \frac{{\tilde{\theta }}}{2}=\frac{2}{{\tilde{\beta }}+{\tilde{\theta }}}\nonumber \\ {\tilde{\omega }}_{1,l}= & {} \left[ \frac{b^2}{8}\,(3+2\,j) \right] ^{\frac{1}{3}} \end{aligned}$$
(40)

a constraint on the parameter \({\tilde{\omega }}_{1,l}\). The magnetic field \(B^{1,l}_{0}\) is so adjusted that Eq. (24) can be satisfied and we have simplified by labelling:

$$\begin{aligned} \omega ^{1,l}_{c}=\frac{1}{m}\sqrt{{\tilde{\omega }}^2_{1,l}-\eta ^2_{L}} \leftrightarrow B^{1,l}_{0}=\frac{2}{q}\sqrt{{\tilde{\omega }}^2_{1,l}-\eta ^2_{L}}. \end{aligned}$$
(41)

We can see from Eq. (41) that the possible values of the magnetic field \(B_0\) depend on the quantum numbers \(\{n, l\}\) of the system as well as on the confining potential parameter.

Therefore, the ground state energy level for \(n=1\) is given by

$$\begin{aligned} E_{1,l}= & {} \pm \,\{k^2+q^2+m^2+2\,{\tilde{\omega }}_{1,l}\,\left( 2+\sqrt{\frac{(l-\frac{q\,\Phi }{2\pi })^2}{\alpha ^2}+m^2\,\Omega ^2\,b^{2}_2} \right) \nonumber \\&+2\,m\,\omega ^{1,l}_c\,\frac{(l-\frac{q\,\Phi }{2\pi })}{\alpha }-\frac{m^2\,\eta ^2_{L}}{{\tilde{\omega }}^2_{1,l}} \}^{\frac{1}{2}}. \end{aligned}$$
(42)

And the radial wave-functions is

$$\begin{aligned} \psi _{1,l}=\rho ^{\sqrt{\frac{(l-\frac{q\,\Phi }{2\pi })^2}{\alpha ^2}+m^2\,\Omega ^2\,b^{2}_2}}\,e^{-\frac{1}{2}\,\left( \frac{2\,m\,\eta _L}{{\tilde{\omega }}^{\frac{3}{2}}_{1,l}}+\rho \right) \,\rho }\,\left( c_0+c_1\,\rho \right) , \end{aligned}$$
(43)

where

$$\begin{aligned} c_1= & {} \frac{1}{\sqrt{\frac{3}{2}+\sqrt{\frac{(l-\frac{q\,\Phi }{2\pi })^2}{\alpha ^2}+m^2\,\Omega ^2\,b^{2}_2}}}\,c_0. \end{aligned}$$
(44)

Then, by substituting the real solution from Eq. (40) into the Eq. (41), it is possible to obtain the allowed values of the relativistic energy levels for the radial mode \(n=1\) of the system. We can see that the lowest energy state defined by Eqs. (40)–(41) plus the expression given in Eqs. (42)–(44) is for the radial mode \(n=1\), instead of \(n=0\). This effect arises due to the presence of linear confining potential in the relativistic system. Since the wedge parameter \(\alpha\) are in the ranges \(0< \alpha < 1\), thus, the degeneracy of the relativistic energy eigenvalue here also is broken and shifted the energy level in comparison to the case of five-dimensional Minkowski space-time.

Conclusions

In this work, we have investigated generalized Klein-Gordon oscillator with a uniform magnetic field subject to a linear confining potential in a topological defect five-dimensional space-time in the context of Kaluza–Klein theory. Linear confining potential has many applications such as confinement of quarks in particle physics and other branches of physics including relativistic quantum mechanics. For suitable total wave-function, we have derived the radial wave-equation for a Cornell-type function in “Linear confining potential” and finally reached a biconfluent Heun’s differential equation form. By power series method we have solved this equation and by imposing condition we have obtained the non-compact expression of the energy eigenvalues (23). By imposing the recurrence condition \(c_{n+1}=0\) for each radial mode, for example \(n=11\), we have obtained the lowest state energy level and wave-function by Eqs. (26)–(28), and others are in the same way.

In “Linear confining potential”, we have considered a Coulomb-type function on the same relativistic system with a linear confining potential. Here also we have reached a biconfluent Heun’s equation form and following the similar technique as done earlier, we have obtained the non-compact expression of the energy eigenvalues (39). By imposing the additional recurrence condition \(c_{n+1}=0\) on the eigenvalue, one can obtained the individual energy level and the corresponding wave-function, as for example, for the radial mode \(n=1\) by Eqs. (42)–(44), and others are in the same way. In "Linear confining potential", we have seen that the presence of linear confining potential allow the formation of bound states solution of the considered relativistic system and hence, the lowest energy state is defined by the radial mode \(n=1\), instead of \(n=0\). Also in gravitation and cosmology, the values of the wedge parameter \(\alpha\) are in the ranges \(0< \alpha < 1\), and thus, the degeneracy of each energy level is broken and shifted the relativistic energy level in comparison to the case of five-dimensional Minkowski space-time. When we tries to analyze \(c_{n+1}=0\) for the radial mode \(n=1\), an observation is noted, where certain parameter is constraint, for example, \(\omega _{1,l}\) that appears in Eq. (24) in "Linear confining potential" (Case A) depend on the quantum number \(\{n, l\}\) of the system as well as on linear confining potential \(\eta _{L}\). Another interesting observation that we made in this work is the quantum effect which arises due to the dependence of the magnetic field \(B^{n,l}_0\) on the quantum number \(\{n, l\}\) of the relativistic system.

We have observed in this work that the angular momentum number l of the system is shifted, \(l \rightarrow l_0=\frac{1}{\alpha }\,(l-\frac{q\,\Phi }{2\,\pi })\), an effective angular quantum number. Therefore, the relativistic energy eigenvalues depends on the geometric quantum phase53,62. Thus, we have that, \(E_{n, l} (\Phi +\Phi _0)=E_{n, l \mp \tau } (\Phi )\), where \(\Phi _0=\pm \,\frac{2\pi }{q}\,\tau\) with \(\tau =0,1,2, \ldots\). This dependence of the relativistic energy level on the geometric quantum phase gives us a relativistic analogue of the Aharonov–Bohm effect for bound states.

The Kaluza–Klein theory lead to many new unified field theories, for example, connecting this theory with supergravity resulted in improved supersymmetric Kaluza–Klein theory, multi-dimensional unified theories using the idea of Kaluza–Klein theory to postulate extra (compactified) space dimensions, superstring theory as well as the M-theory75 model using the Kaluza–Klein theory in higher dimensions. In addition, this theory has growing interest because of some interesting observations made in Ref.76. Authors pointed out that the five-dimensional theory yields a geometrical interpretation of the electromagnetic field and electric charge. The relation of the five-dimensional KKT with the structure of fiber bundles was first made in Ref.77 and the relationship between principal fiber bundles and higher dimensional theories is in78.