OFFSET
1,1
COMMENTS
Every term is floor(pi^k)+r for some integers k and r with k>=1 and -1 <= r <= 1.
REFERENCES
Suggested by Neil Fernandez, Jan 19 2003
EXAMPLE
log_pi(2) = 1-0.394..., log_pi(3) = 1-0.0402..., log_pi(10) = 2+0.0114..., log_pi(31) = 3-0.000176...
PROG
(PARI) lista(nn) = {flmin = 1; for (i = 2, nn, li = log(i)/log(Pi); fli = abs(round(li) - li); if (fli < flmin, print1(i, ", "); flmin = fli; ); ); } \\ Michel Marcus, Aug 29 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Dean Hickerson, Jan 20 2003
STATUS
approved