Despite a nationwide decline, North Dakota fourth- and eighth-grade students scored higher than the national average in math.