login
A018160
Powers of fifth root of 16 rounded to nearest integer.
1
1, 2, 3, 5, 9, 16, 28, 49, 84, 147, 256, 446, 776, 1351, 2353, 4096, 7132, 12417, 21619, 37641, 65536, 114105, 198668, 345901, 602249, 1048576, 1825677, 3178688, 5534417, 9635980, 16777216, 29210830, 50859008
OFFSET
0,2
MATHEMATICA
Floor[(16^(1/5))^Range[0, 40]+1/2] (* Harvey P. Dale, May 23 2012 *)
PROG
(Python)
from gmpy2 import iroot_rem
def A018160(n):
i, j = iroot_rem(1<<(n<<2), 5)
return int(i)+int(j<<5>=10*i*((i*((i*(i+1)<<1)+1)<<2)+1)+1) # Chai Wah Wu, Jun 20 2024
CROSSREFS
Cf. A011101.
Sequence in context: A017914 A137402 A134009 * A079960 A005314 A099529
KEYWORD
nonn
AUTHOR
STATUS
approved