login
A072927
a(n) = minimum value of abs(n-phi(x)), x>0.
0
0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 2, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 2, 1, 0, 1, 0, 1, 0, 1, 2, 1, 0, 1, 2, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 2, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 2, 1, 0, 1, 0, 1, 2, 1, 0, 1, 0, 1, 2, 3, 2, 1, 0, 1, 0, 1, 0, 1, 0, 1, 2, 1, 0, 1, 2, 1, 0, 1, 2, 1, 0, 1, 2, 1, 0
OFFSET
1,14
LINKS
FORMULA
a(A002202(n))=0 and it seems that Sum_{k=1..n} a(k) is asymptotic to C*n*log(n) with C=0.15....
CROSSREFS
Sequence in context: A123737 A083037 A247477 * A307194 A331218 A120086
KEYWORD
easy,nonn,changed
AUTHOR
Benoit Cloitre, Aug 11 2002
STATUS
approved