We find a relation guaranteeing that Hankel operators realized in the space
of sequences ℓ2(Z+) and in the space of functions L2(R+) are unitarily equivalent. This allows us to obtain exhaustive
spectral results for two classes of unbounded Hankel operators in the space
ℓ2(Z+) generalizing in different directions the classical
Hilbert matrix. We also discuss a link between representations of Toeplitz
operators in the spaces ℓ2(Z+) and L2(R+).Comment: Compared to he previous version, Appendix is written in a more
detailed wa