cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A018136 Powers of fifth root of 8 rounded to nearest integer.

This page as a plain text file.
%I A018136 #19 Jul 01 2024 16:52:23
%S A018136 1,2,2,3,5,8,12,18,28,42,64,97,147,223,338,512,776,1176,1783,2702,
%T A018136 4096,6208,9410,14263,21619,32768,49667,75281,114105,172951,262144,
%U A018136 397336,602249,912838,1383604,2097152
%N A018136 Powers of fifth root of 8 rounded to nearest integer.
%H A018136 Paolo Xausa, <a href="/A018136/b018136.txt">Table of n, a(n) for n = 0..1000</a>
%t A018136 Round[(8^(1/5))^Range[0, 50]] (* _Paolo Xausa_, Jul 01 2024 *)
%o A018136 (Python)
%o A018136 from gmpy2 import iroot_rem
%o A018136 def A018136(n):
%o A018136     i, j = iroot_rem(1<<3*n,5)
%o A018136     return int(i)+int(j<<5>=10*i*((i*((i*(i+1)<<1)+1)<<2)+1)+1) # _Chai Wah Wu_, Jun 20 2024
%Y A018136 Cf. A011093.
%K A018136 nonn
%O A018136 0,2
%A A018136 _N. J. A. Sloane_