OFFSET
1,3
EXAMPLE
a(6) is 9. a(5) has a position on the Cartesian plane {-2, -2} and Möbius mu(9) is 0 and the previous nonzero was -1, resulted in a position of {-2, -3}; a distance further from the origin than a(5).
MATHEMATICA
k = 1; flg = mxd = ns = ew = 0; lst = {0}; While[k < 1001, mu = MoebiusMu@ k; If[ Abs[mu] > 0, flg = mu; ns = ns + mu, ew = ew + flg]; d = ns^2 + ew^2; If[mxd < d, mxd = d; AppendTo[lst, k]]; k++]; lst
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Hayden H. Rigdon and Robert G. Wilson v, Mar 18 2020
STATUS
approved