I am calculating a closed form expectation and I encountered the Tricomi's confluent hypergeometric function (aka confluent hypergeometric function of the second kind) given by integral $U\left( a,b,z \right) = \frac{1}{\Gamma\left(a\right)} \int_{0}^{\infty} e^{-zt}t^{a-1}\left(1+t\right)^{b-a-1}$. I need to write this in terms of Meijer-G function $G_{p,q}^{m,n}\left(z\left|\begin{smallmatrix}\mathbf{a}_n, \mathbf{a}_{p-n}\\ \mathbf{b}_m, \mathbf{b}_{q-m}\end{smallmatrix}\right.\right)$.
I used the "MeijerGReduce[HypergeometricU[a, b, z], z] in wolfram alpha and got the solution $U(a,b,z) = \frac{G_{1,2}^{2,1}\left(z\left|\begin{smallmatrix}[1-a], [] \\ [0,1-b],[]\end{smallmatrix}\right.\right)}{\Gamma\left(a\right)\Gamma\left(1+a-b\right)} = \frac{\frac{1}{2\pi i}\int_{c-i\infty}^{c+i\infty} \Gamma\left(-s\right) \Gamma\left(a+s\right) \Gamma\left(1+a-b+s\right)z^{-s}ds }{\Gamma\left(a\right)\Gamma\left(1+a-b\right)}$
However in the book Handbook of Mathematical Functions: With Formulas, Graphs, and Mathematical Tables it is written in terms of Barnes type integrals as follow (equaion 13.2.10 page 506)
$U(a,b,z) = \frac{\frac{1}{2\pi i}\int_{c-i\infty}^{c+i\infty} \Gamma\left(-s\right) \Gamma\left(a+s\right) \Gamma\left(1+a-b+s\right)z^{-s}ds }{\Gamma\left(a\right)\Gamma\left(1+a-b\right)z^a}$
In other words the second one has a $z^a$ term in the denominator! Which one is correct? I appreciate the hints and answers!
P.S. I copied the Wolfram answer as latex and copied it here $\frac{\text{MeijerG}[\{\{1-a\},\{\}\},\{\{0,1-b\},\{\}\},z]}{\Gamma (a) \Gamma (a-b+1)}$. Also the solution as "input text" is Inactive[MeijerG][{{1 - a}, {}}, {{0, 1 - b}, {}}, z]/( Gamma[a] Gamma[1 + a - b]). Furthermore added the part from the book too!
This is also the figure that shows the solution using Wolfram Mathematica
==========================Edit===========================
I asked this same equation here at the math.stackexchange and the correct answer with proof of integral is over there. I often ask my math questions there, however sometimes the harder question that are related to higher math, I ask them here too. Thank you!