OFFSET
2,1
COMMENTS
The sequence is conjectured to tend to n, as n^(1/n)->1. Is the density of nonnegative entries 0?
EXAMPLE
5^(1/2)= 2.236067977499789696409173668
5^(1/3)= 1.709975946676696989353108872
5^(1/4)= 1.495348781221220541911898994
5^(1/5)= 1.379729661461214832390063464
5^(1/2) is closest to an integer, so a(5)=2.
PROG
(PARI) { for (i=2, 100, xj=1; xm=0.5; for (j=2, i, x=i^(1/j)*1.0; xf=x-floor(x); if (xf<xm, xm=xf; xj=j); if (1-xf<xm, xm=1-xf; xj=j)); print1(", "xj)) }
CROSSREFS
KEYWORD
nonn
AUTHOR
Jon Perry, Mar 19 2004
STATUS
approved