Number theory implications on physical properties of elementary cubic networks of Josephson junctions