|
|
A018142
|
|
Powers of fifth root of 10 rounded to nearest integer.
|
|
5
|
|
|
1, 2, 3, 4, 6, 10, 16, 25, 40, 63, 100, 158, 251, 398, 631, 1000, 1585, 2512, 3981, 6310, 10000, 15849, 25119, 39811, 63096, 100000, 158489, 251189, 398107, 630957, 1000000, 1584893, 2511886, 3981072, 6309573
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
|
|
MAPLE
|
|
|
MATHEMATICA
|
Round[(10^(Range[0, 50]/5))] (* Paolo Xausa, Jul 02 2024 *)
|
|
PROG
|
(Python)
from gmpy2 import iroot_rem
i, j = iroot_rem(10**n, 5)
return int(i) + int(32*j >= 10*i*(4*i*(2*i*(i + 1) + 1) + 1) + 1) # Chai Wah Wu, Aug 18 2016
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|