A measurement of the ratio of branching fractions $R$(J/$\psi$) = $\mathcal{B}$(B$^+_\text{c}$$\to$ J/$\psi$$\tau^+\nu_\tau$)/$\mathcal{B}$(B$^+_\text{c}$$\to$ J/$\psi$$\mu^+\nu_\mu$) in the J/$\psi$$\to$$\mu^+\mu^-$, $\tau^+$$\to$$\mu^+\mu_\tau\overline{\nu}_\tau$ decay channel is presented. This measurement uses a sample of proton-proton collision data collected at a center-of-mass energy of 13 TeV by the CMS experiment in 2018, corresponding to an integrated luminosity of 59.7 fb$^{-1}$. The measured ratio, $R$(J/$\psi$) = 0.17$^{+ 0.18}_{- 0.17}$ (stat) $^{+ 0.21}_{- 0.22}$ (syst) $^{+ 0.19}_{- 0.18}$ (theo) = 0.17 $\pm$ 0.33, agrees with the value of 0.2582 $\pm$ 0.0038 predicted by the standard model, which assumes lepton flavor universality.
The $B_\mathrm{c}^+$ meson is observed for the first time in heavy ion collisions. Data from the CMS detector are used to study the production of the $B_\mathrm{c}^+$ meson in lead-lead (PbPb) and proton-proton (pp) collisions at a center-of-mass energy per nucleon pair of $\sqrt{s_{\mathrm{NN}}} =$ 5.02 TeV, via the $B_\mathrm{c}^+ \to (J/\psi\to\mu^+\mu^-)\mu^+\nu_\mu$ decay. The $B_\mathrm{c}^+$ nuclear modification factor, derived from the PbPb-to-pp ratio of production cross sections, is measured in two bins of the trimuon transverse momentum and of the PbPb collision centrality. The B$_\mathrm{c}^+$ meson is shown to be less suppressed than quarkonia and most of the open heavy-flavor mesons, suggesting that effects of the hot and dense nuclear matter created in heavy ion collisions contribute to its production. This measurement sets forth a promising new probe of the interplay of suppression and enhancement mechanisms in the production of heavy-flavor mesons in the quark-gluon plasma.