In this paper, by introducing a parameter α and λ, using the Euler-Maclaurin expansion for the Riemann zeta function, we establish an inequality of a weight coefficient. Using this inequality, we derive generalizations of a Hilbert’s type inequality