May 2025
We used ALMA to perform a line survey of the high-mass star forming region Sgr B2(N), called ReMoCA. We modeled under the assumption of LTE the spectra obtained toward the sources embedded in the secondary hot core Sgr B2(N2). We compared the chemical composition of these sources to that of sources from the literature and to predictions of the chemical kinetics model MAGICKAL. We detected up to 58 molecules toward Sgr B2(N2)'s hot cores, including up to 24 COMs, as well as many less abundant isotopologs. The compositions of some pairs of sources are well correlated, but differences also exist in particular for HNCO and NH2CHO. The abundances of series of homologous molecules drop by about one order of magnitude at each further step in complexity. The nondetection of radicals yields stringent constraints on the models. The comparison to the chemical models confirms previous evidence of a high cosmic-ray ionization rate in Sgr B2(N). The comparison to sources from the literature gives new insight into chemical differentiation. The composition of most hot cores of Sgr B2(N2) is tightly correlated to that of the hot core G31.41+0.31 and the hot corino IRAS 16293-2422B after normalizing the abundances by classes of molecules (O-, N-, O+N-, and S-bearing). There is no overall correlation between Sgr B2(N2) and the shocked region G+0.693-0.027 also located in Sgr B2, and even less with the cold starless core TMC-1. The class of N-bearing species reveals the largest variance among the four classes of molecules. The S-bearing class shows in contrast the smallest variance. These results imply that the class of N-bearing molecules reacts more sensitively to shocks, low-temperature gas phase chemistry after non-thermal desorption, or density. The abundance shifts observed between the N- and O-bearing molecules may indicate how violently and completely the ice mantles are desorbed. [abridged]