Na2Mg(NiO2)5 crystallizes in the triclinic P1 space group. There are two inequivalent Na sites. In the first Na site, Na(1) is bonded to one O(2), one O(3), one O(5), one O(6), one O(8), and one O(9) atom to form distorted NaO6 octahedra that share  a cornercorner with one Ni(3)O6 octahedra,  a cornercorner with one Ni(4)O6 octahedra, corners with two equivalent Ni(2)O6 octahedra, corners with two equivalent Ni(5)O6 octahedra,  an edgeedge with one Na(2)O6 octahedra,  an edgeedge with one Mg(1)O6 octahedra,  an edgeedge with one Ni(2)O6 octahedra,  an edgeedge with one Ni(3)O6 octahedra,  an edgeedge with one Ni(4)O6 octahedra,  an edgeedge with one Ni(5)O6 octahedra, and edges with two equivalent Ni(1)O6 octahedra. The corner-sharing octahedral tilt angles range from 10-19°. In the second Na site, Na(2) is bonded to one O(1), one O(10), one O(3), one O(4), one O(5), and one O(7) atom to form NaO6 octahedra that share  a cornercorner with one Ni(1)O6 octahedra,  a cornercorner with one Ni(5)O6 octahedra, corners with two equivalent Ni(2)O6 octahedra, corners with two equivalent Ni(4)O6 octahedra,  an edgeedge with one Na(1)O6 octahedra,  an edgeedge with one Ni(1)O6 octahedra,  an edgeedge with one Ni(2)O6 octahedra,  an edgeedge with one Ni(4)O6 octahedra,  an edgeedge with one Ni(5)O6 octahedra, edges with two equivalent Mg(1)O6 octahedra, and edges with two equivalent Ni(3)O6 octahedra. The corner-sharing octahedral tilt angles range from 4-17°. Mg(1) is bonded to one O(1), one O(10), one O(4), one O(6), one O(7), and one O(8) atom to form distorted MgO6 octahedra that share  a cornercorner with one Ni(1)O6 octahedra,  a cornercorner with one Ni(2)O6 octahedra, corners with two equivalent Ni(3)O6 octahedra, corners with two equivalent Ni(5)O6 octahedra,  an edgeedge with one Na(1)O6 octahedra,  an edgeedge with one Ni(1)O6 octahedra,  an edgeedge with one Ni(2)O6 octahedra,  an edgeedge with one Ni(3)O6 octahedra,  an edgeedge with one Ni(5)O6 octahedra, edges with two equivalent Na(2)O6 octahedra, and edges with two equivalent Ni(4)O6 octahedra. The corner-sharing octahedral tilt angles range from 8-13°. There are five inequivalent Ni sites. In the first Ni site, Ni(1) is bonded to one O(1), one O(10), one O(2), one O(5), one O(6), and one O(9) atom to form NiO6 octahedra that share  a cornercorner with one Na(2)O6 octahedra,  a cornercorner with one Mg(1)O6 octahedra,  an edgeedge with one Na(2)O6 octahedra,  an edgeedge with one Mg(1)O6 octahedra,  an edgeedge with one Ni(3)O6 octahedra,  an edgeedge with one Ni(4)O6 octahedra, edges with two equivalent Na(1)O6 octahedra, edges with two equivalent Ni(2)O6 octahedra, and edges with two equivalent Ni(5)O6 octahedra. The corner-sharing octahedral tilt angles range from 4-8°. In the second Ni site, Ni(2) is bonded to one O(1), one O(2), one O(3), one O(4), one O(5), and one O(6) atom to form NiO6 octahedra that share  a cornercorner with one Mg(1)O6 octahedra, corners with two equivalent Na(1)O6 octahedra, corners with two equivalent Na(2)O6 octahedra,  an edgeedge with one Na(1)O6 octahedra,  an edgeedge with one Na(2)O6 octahedra,  an edgeedge with one Mg(1)O6 octahedra,  an edgeedge with one Ni(4)O6 octahedra,  an edgeedge with one Ni(5)O6 octahedra, edges with two equivalent Ni(1)O6 octahedra, and edges with two equivalent Ni(3)O6 octahedra. The corner-sharing octahedral tilt angles range from 7-19°. In the third Ni site, Ni(3) is bonded to one O(1), one O(2), one O(3), one O(4), one O(7), and one O(8) atom to form NiO6 octahedra that share  a cornercorner with one Na(1)O6 octahedra, corners with two equivalent Mg(1)O6 octahedra,  an edgeedge with one Na(1)O6 octahedra,  an edgeedge with one Mg(1)O6 octahedra,  an edgeedge with one Ni(1)O6 octahedra,  an edgeedge with one Ni(5)O6 octahedra, edges with two equivalent Na(2)O6 octahedra, edges with two equivalent Ni(2)O6 octahedra, and edges with two equivalent Ni(4)O6 octahedra. The corner-sharing octahedral tilt angles range from 11-13°. In the fourth Ni site, Ni(4) is bonded to one O(10), one O(3), one O(4), one O(7), one O(8), and one O(9) atom to form NiO6 octahedra that share  a cornercorner with one Na(1)O6 octahedra, corners with two equivalent Na(2)O6 octahedra,  an edgeedge with one Na(1)O6 octahedra,  an edgeedge with one Na(2)O6 octahedra,  an edgeedge with one Ni(1)O6 octahedra,  an edgeedge with one Ni(2)O6 octahedra, edges with two equivalent Mg(1)O6 octahedra, edges with two equivalent Ni(3)O6 octahedra, and edges with two equivalent Ni(5)O6 octahedra. The corner-sharing octahedral tilt angles range from 7-16°. In the fifth Ni site, Ni(5) is bonded to one O(10), one O(5), one O(6), one O(7), one O(8), and one O(9) atom to form NiO6 octahedra that share  a cornercorner with one Na(2)O6 octahedra, corners with two equivalent Na(1)O6 octahedra, corners with two equivalent Mg(1)O6 octahedra,  an edgeedge with one Na(1)O6 octahedra,  an edgeedge with one Na(2)O6 octahedra,  an edgeedge with one Mg(1)O6 octahedra,  an edgeedge with one Ni(2)O6 octahedra,  an edgeedge with one Ni(3)O6 octahedra, edges with two equivalent Ni(1)O6 octahedra, and edges with two equivalent Ni(4)O6 octahedra. The corner-sharing octahedral tilt angles range from 10-17°. There are ten inequivalent O sites. In the first O site, O(1) is bonded to one Na(2), one Mg(1), one Ni(1), one Ni(2), and one Ni(3) atom to form ONaMgNi3 square pyramids that share  a cornercorner with one O(3)Na2Ni3 square pyramid,  a cornercorner with one O(5)Na2Ni3 square pyramid,  a cornercorner with one O(10)NaMgNi3 square pyramid,  a cornercorner with one O(6)NaMgNi3 square pyramid, corners with three equivalent O(7)NaMgNi3 square pyramids,  an edgeedge with one O(3)Na2Ni3 square pyramid,  an edgeedge with one O(5)Na2Ni3 square pyramid,  an edgeedge with one O(10)NaMgNi3 square pyramid,  an edgeedge with one O(6)NaMgNi3 square pyramid,  an edgeedge with one O(8)NaMgNi3 square pyramid, and edges with two equivalent O(4)NaMgNi3 square pyramids. In the second O site, O(2) is bonded in a distorted see-saw-like geometry to one Na(1), one Ni(1), one Ni(2), and one Ni(3) atom. In the third O site, O(3) is bonded to one Na(1), one Na(2), one Ni(2), one Ni(3), and one Ni(4) atom to form ONa2Ni3 square pyramids that share  a cornercorner with one O(5)Na2Ni3 square pyramid,  a cornercorner with one O(1)NaMgNi3 square pyramid,  a cornercorner with one O(7)NaMgNi3 square pyramid,  a cornercorner with one O(8)NaMgNi3 square pyramid, corners with two equivalent O(4)NaMgNi3 square pyramids,  an edgeedge with one O(5)Na2Ni3 square pyramid,  an edgeedge with one O(1)NaMgNi3 square pyramid,  an edgeedge with one O(10)NaMgNi3 square pyramid,  an edgeedge with one O(4)NaMgNi3 square pyramid,  an edgeedge with one O(6)NaMgNi3 square pyramid,  an edgeedge with one O(7)NaMgNi3 square pyramid, and  an edgeedge with one O(8)NaMgNi3 square pyramid. In the fourth O site, O(4) is bonded to one Na(2), one Mg(1), one Ni(2), one Ni(3), and one Ni(4) atom to form ONaMgNi3 square pyramids that share  a cornercorner with one O(8)NaMgNi3 square pyramid, corners with two equivalent O(3)Na2Ni3 square pyramids, corners with two equivalent O(6)NaMgNi3 square pyramids, corners with three equivalent O(10)NaMgNi3 square pyramids,  an edgeedge with one O(3)Na2Ni3 square pyramid,  an edgeedge with one O(5)Na2Ni3 square pyramid,  an edgeedge with one O(8)NaMgNi3 square pyramid, edges with two equivalent O(1)NaMgNi3 square pyramids, and edges with two equivalent O(7)NaMgNi3 square pyramids. In the fifth O site, O(5) is bonded to one Na(1), one Na(2), one Ni(1), one Ni(2), and one Ni(5) atom to form ONa2Ni3 square pyramids that share  a cornercorner with one O(3)Na2Ni3 square pyramid,  a cornercorner with one O(1)NaMgNi3 square pyramid,  a cornercorner with one O(10)NaMgNi3 square pyramid, corners with two equivalent O(6)NaMgNi3 square pyramids, corners with two equivalent O(7)NaMgNi3 square pyramids,  an edgeedge with one O(3)Na2Ni3 square pyramid,  an edgeedge with one O(1)NaMgNi3 square pyramid,  an edgeedge with one O(10)NaMgNi3 square pyramid,  an edgeedge with one O(4)NaMgNi3 square pyramid,  an edgeedge with one O(6)NaMgNi3 square pyramid, and  an edgeedge with one O(8)NaMgNi3 square pyramid. In the sixth O site, O(6) is bonded to one Na(1), one Mg(1), one Ni(1), one Ni(2), and one Ni(5) atom to form ONaMgNi3 square pyramids that share  a cornercorner with one O(1)NaMgNi3 square pyramid,  a cornercorner with one O(10)NaMgNi3 square pyramid,  a cornercorner with one O(8)NaMgNi3 square pyramid, corners with two equivalent O(5)Na2Ni3 square pyramids, corners with two equivalent O(4)NaMgNi3 square pyramids,  an edgeedge with one O(3)Na2Ni3 square pyramid,  an edgeedge with one O(5)Na2Ni3 square pyramid,  an edgeedge with one O(1)NaMgNi3 square pyramid,  an edgeedge with one O(10)NaMgNi3 square pyramid,  an edgeedge with one O(7)NaMgNi3 square pyramid, and  an edgeedge with one O(8)NaMgNi3 square pyramid. In the seventh O site, O(7) is bonded to one Na(2), one Mg(1), one Ni(3), one Ni(4), and one Ni(5) atom to form ONaMgNi3 square pyramids that share  a cornercorner with one O(3)Na2Ni3 square pyramid, corners with two equivalent O(5)Na2Ni3 square pyramids, corners with two equivalent O(8)NaMgNi3 square pyramids, corners with three equivalent O(1)NaMgNi3 square pyramids,  an edgeedge with one O(3)Na2Ni3 square pyramid,  an edgeedge with one O(6)NaMgNi3 square pyramid,  an edgeedge with one O(8)NaMgNi3 square pyramid, edges with two equivalent O(10)NaMgNi3 square pyramids, and edges with two equivalent O(4)NaMgNi3 square pyramids. In the eighth O site, O(8) is bonded to one Na(1), one Mg(1), one Ni(3), one Ni(4), and one Ni(5) atom to form ONaMgNi3 square pyramids that share  a cornercorner with one O(3)Na2Ni3 square pyramid,  a cornercorner with one O(10)NaMgNi3 square pyramid,  a cornercorner with one O(4)NaMgNi3 square pyramid,  a cornercorner with one O(6)NaMgNi3 square pyramid, corners with two equivalent O(7)NaMgNi3 square pyramids,  an edgeedge with one O(3)Na2Ni3 square pyramid,  an edgeedge with one O(5)Na2Ni3 square pyramid,  an edgeedge with one O(1)NaMgNi3 square pyramid,  an edgeedge with one O(10)NaMgNi3 square pyramid,  an edgeedge with one O(4)NaMgNi3 square pyramid,  an edgeedge with one O(6)NaMgNi3 square pyramid, and  an edgeedge with one O(7)NaMgNi3 square pyramid. In the ninth O site, O(9) is bonded in a see-saw-like geometry to one Na(1), one Ni(1), one Ni(4), and one Ni(5) atom. In the tenth O site, O(10) is bonded to one Na(2), one Mg(1), one Ni(1), one Ni(4), and one Ni(5) atom to form ONaMgNi3 square pyramids that share  a cornercorner with one O(5)Na2Ni3 square pyramid,  a cornercorner with one O(1)NaMgNi3 square pyramid,  a cornercorner with one O(6)NaMgNi3 square pyramid,  a cornercorner with one O(8)NaMgNi3 square pyramid, corners with three equivalent O(4)NaMgNi3 square pyramids,  an edgeedge with one O(3)Na2Ni3 square pyramid,  an edgeedge with one O(5)Na2Ni3 square pyramid,  an edgeedge with one O(1)NaMgNi3 square pyramid,  an edgeedge with one O(6)NaMgNi3 square pyramid,  an edgeedge with one O(8)NaMgNi3 square pyramid, and edges with two equivalent O(7)NaMgNi3 square pyramids.
Na2Mg(NiO2)5 crystallizes in the triclinic P1 space group. There are two inequivalent Na sites. In the first Na site, Na(1) is bonded to one O(2), one O(3), one O(5), one O(6), one O(8), and one O(9) atom to form distorted NaO6 octahedra that share  a cornercorner with one Ni(3)O6 octahedra,  a cornercorner with one Ni(4)O6 octahedra, corners with two equivalent Ni(2)O6 octahedra, corners with two equivalent Ni(5)O6 octahedra,  an edgeedge with one Na(2)O6 octahedra,  an edgeedge with one Mg(1)O6 octahedra,  an edgeedge with one Ni(2)O6 octahedra,  an edgeedge with one Ni(3)O6 octahedra,  an edgeedge with one Ni(4)O6 octahedra,  an edgeedge with one Ni(5)O6 octahedra, and edges with two equivalent Ni(1)O6 octahedra. The corner-sharing octahedral tilt angles range from 10-19°. The Na(1)-O(2) bond length is 2.31 Å. The Na(1)-O(3) bond length is 2.27 Å. The Na(1)-O(5) bond length is 2.29 Å. The Na(1)-O(6) bond length is 2.31 Å. The Na(1)-O(8) bond length is 2.28 Å. The Na(1)-O(9) bond length is 2.32 Å. In the second Na site, Na(2) is bonded to one O(1), one O(10), one O(3), one O(4), one O(5), and one O(7) atom to form NaO6 octahedra that share  a cornercorner with one Ni(1)O6 octahedra,  a cornercorner with one Ni(5)O6 octahedra, corners with two equivalent Ni(2)O6 octahedra, corners with two equivalent Ni(4)O6 octahedra,  an edgeedge with one Na(1)O6 octahedra,  an edgeedge with one Ni(1)O6 octahedra,  an edgeedge with one Ni(2)O6 octahedra,  an edgeedge with one Ni(4)O6 octahedra,  an edgeedge with one Ni(5)O6 octahedra, edges with two equivalent Mg(1)O6 octahedra, and edges with two equivalent Ni(3)O6 octahedra. The corner-sharing octahedral tilt angles range from 4-17°. The Na(2)-O(1) bond length is 2.30 Å. The Na(2)-O(10) bond length is 2.35 Å. The Na(2)-O(3) bond length is 2.29 Å. The Na(2)-O(4) bond length is 2.35 Å. The Na(2)-O(5) bond length is 2.25 Å. The Na(2)-O(7) bond length is 2.24 Å. Mg(1) is bonded to one O(1), one O(10), one O(4), one O(6), one O(7), and one O(8) atom to form distorted MgO6 octahedra that share  a cornercorner with one Ni(1)O6 octahedra,  a cornercorner with one Ni(2)O6 octahedra, corners with two equivalent Ni(3)O6 octahedra, corners with two equivalent Ni(5)O6 octahedra,  an edgeedge with one Na(1)O6 octahedra,  an edgeedge with one Ni(1)O6 octahedra,  an edgeedge with one Ni(2)O6 octahedra,  an edgeedge with one Ni(3)O6 octahedra,  an edgeedge with one Ni(5)O6 octahedra, edges with two equivalent Na(2)O6 octahedra, and edges with two equivalent Ni(4)O6 octahedra. The corner-sharing octahedral tilt angles range from 8-13°. The Mg(1)-O(1) bond length is 2.28 Å. The Mg(1)-O(10) bond length is 2.21 Å. The Mg(1)-O(4) bond length is 2.12 Å. The Mg(1)-O(6) bond length is 2.13 Å. The Mg(1)-O(7) bond length is 2.19 Å. The Mg(1)-O(8) bond length is 2.19 Å. There are five inequivalent Ni sites. In the first Ni site, Ni(1) is bonded to one O(1), one O(10), one O(2), one O(5), one O(6), and one O(9) atom to form NiO6 octahedra that share  a cornercorner with one Na(2)O6 octahedra,  a cornercorner with one Mg(1)O6 octahedra,  an edgeedge with one Na(2)O6 octahedra,  an edgeedge with one Mg(1)O6 octahedra,  an edgeedge with one Ni(3)O6 octahedra,  an edgeedge with one Ni(4)O6 octahedra, edges with two equivalent Na(1)O6 octahedra, edges with two equivalent Ni(2)O6 octahedra, and edges with two equivalent Ni(5)O6 octahedra. The corner-sharing octahedral tilt angles range from 4-8°. The Ni(1)-O(1) bond length is 1.95 Å. The Ni(1)-O(10) bond length is 1.88 Å. The Ni(1)-O(2) bond length is 1.93 Å. The Ni(1)-O(5) bond length is 1.87 Å. The Ni(1)-O(6) bond length is 1.88 Å. The Ni(1)-O(9) bond length is 1.90 Å. In the second Ni site, Ni(2) is bonded to one O(1), one O(2), one O(3), one O(4), one O(5), and one O(6) atom to form NiO6 octahedra that share  a cornercorner with one Mg(1)O6 octahedra, corners with two equivalent Na(1)O6 octahedra, corners with two equivalent Na(2)O6 octahedra,  an edgeedge with one Na(1)O6 octahedra,  an edgeedge with one Na(2)O6 octahedra,  an edgeedge with one Mg(1)O6 octahedra,  an edgeedge with one Ni(4)O6 octahedra,  an edgeedge with one Ni(5)O6 octahedra, edges with two equivalent Ni(1)O6 octahedra, and edges with two equivalent Ni(3)O6 octahedra. The corner-sharing octahedral tilt angles range from 7-19°. The Ni(2)-O(1) bond length is 1.89 Å. The Ni(2)-O(2) bond length is 1.89 Å. The Ni(2)-O(3) bond length is 2.09 Å. The Ni(2)-O(4) bond length is 1.93 Å. The Ni(2)-O(5) bond length is 2.10 Å. The Ni(2)-O(6) bond length is 1.98 Å. In the third Ni site, Ni(3) is bonded to one O(1), one O(2), one O(3), one O(4), one O(7), and one O(8) atom to form NiO6 octahedra that share  a cornercorner with one Na(1)O6 octahedra, corners with two equivalent Mg(1)O6 octahedra,  an edgeedge with one Na(1)O6 octahedra,  an edgeedge with one Mg(1)O6 octahedra,  an edgeedge with one Ni(1)O6 octahedra,  an edgeedge with one Ni(5)O6 octahedra, edges with two equivalent Na(2)O6 octahedra, edges with two equivalent Ni(2)O6 octahedra, and edges with two equivalent Ni(4)O6 octahedra. The corner-sharing octahedral tilt angles range from 11-13°. The Ni(3)-O(1) bond length is 2.09 Å. The Ni(3)-O(2) bond length is 1.91 Å. The Ni(3)-O(3) bond length is 1.89 Å. The Ni(3)-O(4) bond length is 1.95 Å. The Ni(3)-O(7) bond length is 2.32 Å. The Ni(3)-O(8) bond length is 1.89 Å. In the fourth Ni site, Ni(4) is bonded to one O(10), one O(3), one O(4), one O(7), one O(8), and one O(9) atom to form NiO6 octahedra that share  a cornercorner with one Na(1)O6 octahedra, corners with two equivalent Na(2)O6 octahedra,  an edgeedge with one Na(1)O6 octahedra,  an edgeedge with one Na(2)O6 octahedra,  an edgeedge with one Ni(1)O6 octahedra,  an edgeedge with one Ni(2)O6 octahedra, edges with two equivalent Mg(1)O6 octahedra, edges with two equivalent Ni(3)O6 octahedra, and edges with two equivalent Ni(5)O6 octahedra. The corner-sharing octahedral tilt angles range from 7-16°. The Ni(4)-O(10) bond length is 2.13 Å. The Ni(4)-O(3) bond length is 1.89 Å. The Ni(4)-O(4) bond length is 2.15 Å. The Ni(4)-O(7) bond length is 1.91 Å. The Ni(4)-O(8) bond length is 1.91 Å. The Ni(4)-O(9) bond length is 1.92 Å. In the fifth Ni site, Ni(5) is bonded to one O(10), one O(5), one O(6), one O(7), one O(8), and one O(9) atom to form NiO6 octahedra that share  a cornercorner with one Na(2)O6 octahedra, corners with two equivalent Na(1)O6 octahedra, corners with two equivalent Mg(1)O6 octahedra,  an edgeedge with one Na(1)O6 octahedra,  an edgeedge with one Na(2)O6 octahedra,  an edgeedge with one Mg(1)O6 octahedra,  an edgeedge with one Ni(2)O6 octahedra,  an edgeedge with one Ni(3)O6 octahedra, edges with two equivalent Ni(1)O6 octahedra, and edges with two equivalent Ni(4)O6 octahedra. The corner-sharing octahedral tilt angles range from 10-17°. The Ni(5)-O(10) bond length is 1.97 Å. The Ni(5)-O(5) bond length is 1.87 Å. The Ni(5)-O(6) bond length is 2.10 Å. The Ni(5)-O(7) bond length is 1.88 Å. The Ni(5)-O(8) bond length is 2.28 Å. The Ni(5)-O(9) bond length is 1.92 Å. There are ten inequivalent O sites. In the first O site, O(1) is bonded to one Na(2), one Mg(1), one Ni(1), one Ni(2), and one Ni(3) atom to form ONaMgNi3 square pyramids that share  a cornercorner with one O(3)Na2Ni3 square pyramid,  a cornercorner with one O(5)Na2Ni3 square pyramid,  a cornercorner with one O(10)NaMgNi3 square pyramid,  a cornercorner with one O(6)NaMgNi3 square pyramid, corners with three equivalent O(7)NaMgNi3 square pyramids,  an edgeedge with one O(3)Na2Ni3 square pyramid,  an edgeedge with one O(5)Na2Ni3 square pyramid,  an edgeedge with one O(10)NaMgNi3 square pyramid,  an edgeedge with one O(6)NaMgNi3 square pyramid,  an edgeedge with one O(8)NaMgNi3 square pyramid, and edges with two equivalent O(4)NaMgNi3 square pyramids. In the second O site, O(2) is bonded in a distorted see-saw-like geometry to one Na(1), one Ni(1), one Ni(2), and one Ni(3) atom. In the third O site, O(3) is bonded to one Na(1), one Na(2), one Ni(2), one Ni(3), and one Ni(4) atom to form ONa2Ni3 square pyramids that share  a cornercorner with one O(5)Na2Ni3 square pyramid,  a cornercorner with one O(1)NaMgNi3 square pyramid,  a cornercorner with one O(7)NaMgNi3 square pyramid,  a cornercorner with one O(8)NaMgNi3 square pyramid, corners with two equivalent O(4)NaMgNi3 square pyramids,  an edgeedge with one O(5)Na2Ni3 square pyramid,  an edgeedge with one O(1)NaMgNi3 square pyramid,  an edgeedge with one O(10)NaMgNi3 square pyramid,  an edgeedge with one O(4)NaMgNi3 square pyramid,  an edgeedge with one O(6)NaMgNi3 square pyramid,  an edgeedge with one O(7)NaMgNi3 square pyramid, and  an edgeedge with one O(8)NaMgNi3 square pyramid. In the fourth O site, O(4) is bonded to one Na(2), one Mg(1), one Ni(2), one Ni(3), and one Ni(4) atom to form ONaMgNi3 square pyramids that share  a cornercorner with one O(8)NaMgNi3 square pyramid, corners with two equivalent O(3)Na2Ni3 square pyramids, corners with two equivalent O(6)NaMgNi3 square pyramids, corners with three equivalent O(10)NaMgNi3 square pyramids,  an edgeedge with one O(3)Na2Ni3 square pyramid,  an edgeedge with one O(5)Na2Ni3 square pyramid,  an edgeedge with one O(8)NaMgNi3 square pyramid, edges with two equivalent O(1)NaMgNi3 square pyramids, and edges with two equivalent O(7)NaMgNi3 square pyramids. In the fifth O site, O(5) is bonded to one Na(1), one Na(2), one Ni(1), one Ni(2), and one Ni(5) atom to form ONa2Ni3 square pyramids that share  a cornercorner with one O(3)Na2Ni3 square pyramid,  a cornercorner with one O(1)NaMgNi3 square pyramid,  a cornercorner with one O(10)NaMgNi3 square pyramid, corners with two equivalent O(6)NaMgNi3 square pyramids, corners with two equivalent O(7)NaMgNi3 square pyramids,  an edgeedge with one O(3)Na2Ni3 square pyramid,  an edgeedge with one O(1)NaMgNi3 square pyramid,  an edgeedge with one O(10)NaMgNi3 square pyramid,  an edgeedge with one O(4)NaMgNi3 square pyramid,  an edgeedge with one O(6)NaMgNi3 square pyramid, and  an edgeedge with one O(8)NaMgNi3 square pyramid. In the sixth O site, O(6) is bonded to one Na(1), one Mg(1), one Ni(1), one Ni(2), and one Ni(5) atom to form ONaMgNi3 square pyramids that share  a cornercorner with one O(1)NaMgNi3 square pyramid,  a cornercorner with one O(10)NaMgNi3 square pyramid,  a cornercorner with one O(8)NaMgNi3 square pyramid, corners with two equivalent O(5)Na2Ni3 square pyramids, corners with two equivalent O(4)NaMgNi3 square pyramids,  an edgeedge with one O(3)Na2Ni3 square pyramid,  an edgeedge with one O(5)Na2Ni3 square pyramid,  an edgeedge with one O(1)NaMgNi3 square pyramid,  an edgeedge with one O(10)NaMgNi3 square pyramid,  an edgeedge with one O(7)NaMgNi3 square pyramid, and  an edgeedge with one O(8)NaMgNi3 square pyramid. In the seventh O site, O(7) is bonded to one Na(2), one Mg(1), one Ni(3), one Ni(4), and one Ni(5) atom to form ONaMgNi3 square pyramids that share  a cornercorner with one O(3)Na2Ni3 square pyramid, corners with two equivalent O(5)Na2Ni3 square pyramids, corners with two equivalent O(8)NaMgNi3 square pyramids, corners with three equivalent O(1)NaMgNi3 square pyramids,  an edgeedge with one O(3)Na2Ni3 square pyramid,  an edgeedge with one O(6)NaMgNi3 square pyramid,  an edgeedge with one O(8)NaMgNi3 square pyramid, edges with two equivalent O(10)NaMgNi3 square pyramids, and edges with two equivalent O(4)NaMgNi3 square pyramids. In the eighth O site, O(8) is bonded to one Na(1), one Mg(1), one Ni(3), one Ni(4), and one Ni(5) atom to form ONaMgNi3 square pyramids that share  a cornercorner with one O(3)Na2Ni3 square pyramid,  a cornercorner with one O(10)NaMgNi3 square pyramid,  a cornercorner with one O(4)NaMgNi3 square pyramid,  a cornercorner with one O(6)NaMgNi3 square pyramid, corners with two equivalent O(7)NaMgNi3 square pyramids,  an edgeedge with one O(3)Na2Ni3 square pyramid,  an edgeedge with one O(5)Na2Ni3 square pyramid,  an edgeedge with one O(1)NaMgNi3 square pyramid,  an edgeedge with one O(10)NaMgNi3 square pyramid,  an edgeedge with one O(4)NaMgNi3 square pyramid,  an edgeedge with one O(6)NaMgNi3 square pyramid, and  an edgeedge with one O(7)NaMgNi3 square pyramid. In the ninth O site, O(9) is bonded in a see-saw-like geometry to one Na(1), one Ni(1), one Ni(4), and one Ni(5) atom. In the tenth O site, O(10) is bonded to one Na(2), one Mg(1), one Ni(1), one Ni(4), and one Ni(5) atom to form ONaMgNi3 square pyramids that share  a cornercorner with one O(5)Na2Ni3 square pyramid,  a cornercorner with one O(1)NaMgNi3 square pyramid,  a cornercorner with one O(6)NaMgNi3 square pyramid,  a cornercorner with one O(8)NaMgNi3 square pyramid, corners with three equivalent O(4)NaMgNi3 square pyramids,  an edgeedge with one O(3)Na2Ni3 square pyramid,  an edgeedge with one O(5)Na2Ni3 square pyramid,  an edgeedge with one O(1)NaMgNi3 square pyramid,  an edgeedge with one O(6)NaMgNi3 square pyramid,  an edgeedge with one O(8)NaMgNi3 square pyramid, and edges with two equivalent O(7)NaMgNi3 square pyramids.