Annual Appeal: Please make a donation (tax deductible in USA) to keep the OEIS running. Over 5000 articles have referenced us, often saying "we discovered this result with the help of the OEIS".
A071340
a(n) = least positive r <= n such that the origin-centered circle of radius sqrt(r) touches A071339(n) lattice points.