We show that certain spaces of vector valued modular forms are isomorphic to
spaces of scalar valued modular forms whose Fourier coefficients are supported
on suitable progressions. As an application we give a very explicit description
of Borcherds products on Hilbert modular surfaces.Comment: To appear in Ramanujan