

A080022


Numbers n such that log_pi(n) is closer to an integer than is log_pi(m) for any m with 2<=m<n.


2



2, 3, 10, 31, 306, 9488, 9489, 29808, 29809, 93648, 294204, 9122171, 28658146, 888582403, 8769956796, 27551631843, 86556004192, 854273519914, 2683779414318, 8431341691876, 26487841119103, 26487841119104
(list;
graph;
refs;
listen;
history;
text;
internal format)



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


LINKS

Table of n, a(n) for n=1..22.


EXAMPLE

log_pi(2) = 10.394..., log_pi(3) = 10.0402..., log_pi(10) = 2+0.0114..., log_pi(31) = 30.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

Cf. A080021, A080023.
Sequence in context: A131764 A066706 A209003 * A192913 A057146 A344573
Adjacent sequences: A080019 A080020 A080021 * A080023 A080024 A080025


KEYWORD

nonn


AUTHOR

Dean Hickerson, Jan 20 2003


STATUS

approved



