Neutron and x-ray powder diffraction have been used to investigate the crystal structures of a sample of the newly-discovered superconducting sodium cobaltate deuterate compound with composition and its anhydrous parent compound The anhydrous parent compound has two partially occupied Na sites sandwiched, in the same plane, between layers. When Na is removed to make the superconducting composition, the Na site that experiences the strongest Na--Co repulsion is emptied while the occupancy of the other Na site is reduced to about one third. The deuterate superconducting compound is formed by coordinating four molecules (two above and two below) to each remaining Na ion in a way that gives Na--O distances nearly equal to those in the parent compound. One deuteron of the molecule is hydrogen bonded to an oxygen atom in the plane and the oxygen atom and the second deuteron of each molecule lie approximately in a plane between the Na layer and the layers. This coordination of Na by four molecules leads in a straightforward way to ordering of the Na ions and molecules consistent with the observation of additional shorter-range scattering features in the diffraction data. The sample studied here, which has has a refined composition of in agreement with the expected 1:4 ratio of Na to These results show that the optimal superconducting composition should be viewed as a specific hydrated compound, not a solid solution of Na and in The hydrated superconducting compound may be stable over a limited range of Na and concentration, but studies of and other physical properties vs Na or composition should be viewed with caution until it is verified that the compound remains in the same phase over the composition range of the study.

