给定正整数n和实数M,对于满足条件:(a1)^2+[a(n+1)]^2≤M^2的所有等差数列:a1,a2,a3….,试求