OFFSET
1,2
COMMENTS
Inspired by A067561.
EXAMPLE
k c=Pi*k^2 round(c) c-round(c) e=abs(c-round(c))
1 3.14159... 3 0.14159... 0.14159...
2 12.56637... 13 -0.43362... 0.43362...
3 28.27433... 28 0.27433... 0.27433...
4 50.26548... 50 0.26548... 0.26548...
5 78.53981... 79 -0.46018... 0.46018...
6 113.09733... 113 0.09733... 0.09733...
7 153.93804... 154 -0.06195... 0.06195...
...
a(1) = 1.
2, 3, 4 and 5 are not in the sequence, because their absolute errors e are greater than that of a(1).
6 is in the sequence, because its absolute error e is less than that of a(1), therefore a(2) = 6.
7 is in the sequence, because its absolute error e is less than that of a(2), therefore a(3) = 7.
...
PROG
(PARI){m=1; for(n=1, 10^10, c=Pi*n^2; e=abs(c-round(c)); if(e<m, m=e; print1(n, ", ")))}
CROSSREFS
KEYWORD
nonn
AUTHOR
Kival Ngaokrajang, Feb 06 2015
STATUS
approved