The production of the [Formula: see text] state in proton-proton collisions is probed via its decay to the [Formula: see text] final state with the LHCb detector, in the rapidity range [Formula: see text] and in the meson transverse-momentum range [Formula: see text]. The cross-section for prompt production of [Formula: see text] mesons relative to the prompt [Formula: see text] cross-section is measured, for the first time, to be [Formula: see text] at a centre-of-mass energy [Formula: see text] using data corresponding to an integrated luminosity of 0.7 fb[Formula: see text], and [Formula: see text] at [Formula: see text] using 2.0 fb[Formula: see text]. The uncertainties quoted are, in order, statistical, systematic, and that on the ratio of branching fractions of the [Formula: see text] and [Formula: see text] decays to the [Formula: see text] final state. In addition, the inclusive branching fraction of [Formula: see text]-hadron decays into [Formula: see text] mesons is measured, for the first time, to be [Formula: see text], where the third uncertainty includes also the uncertainty on the [Formula: see text] inclusive branching fraction from [Formula: see text]-hadron decays. The difference between the [Formula: see text] and [Formula: see text] meson masses is determined to be [Formula: see text].