Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #19 Jul 01 2024 16:52:23
%S 1,2,2,3,5,8,12,18,28,42,64,97,147,223,338,512,776,1176,1783,2702,
%T 4096,6208,9410,14263,21619,32768,49667,75281,114105,172951,262144,
%U 397336,602249,912838,1383604,2097152
%N Powers of fifth root of 8 rounded to nearest integer.
%H Paolo Xausa, <a href="/A018136/b018136.txt">Table of n, a(n) for n = 0..1000</a>
%t Round[(8^(1/5))^Range[0, 50]] (* _Paolo Xausa_, Jul 01 2024 *)
%o (Python)
%o from gmpy2 import iroot_rem
%o def A018136(n):
%o i, j = iroot_rem(1<<3*n,5)
%o return int(i)+int(j<<5>=10*i*((i*((i*(i+1)<<1)+1)<<2)+1)+1) # _Chai Wah Wu_, Jun 20 2024
%Y Cf. A011093.
%K nonn
%O 0,2
%A _N. J. A. Sloane_