1,3

a(n) = Sum(A008966(A070216(n,k)):1<=k<=n) = Sum(ABS(A124895(n,k)):1<=k<=n).

0 < a(n) <= n-1.

Table of n, a(n) for n=1..76.

Count[#, _?SquareFreeQ]&/@Table[n^2+k^2, {n, 80}, {k, n}] (* Harvey P. Dale, Mar 30 2012 *)

Sequence in context: A086450 A270439 A106044 * A008742 A029136 A001479

Adjacent sequences: A124893 A124894 A124895 * A124897 A124898 A124899

nonn

Reinhard Zumkeller, Nov 12 2006

approved