The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A018184 Powers of fifth root of 24 rounded to nearest integer. 1

%I #8 Aug 19 2016 04:33:25

%S 1,2,4,7,13,24,45,86,162,305,576,1088,2054,3877,7321,13824,26102,

%T 49285,93059,175713,331776,626451,1182849,2233427,4217101,7962624,

%U 15034828,28388386,53602242,101210414,191102976

%N Powers of fifth root of 24 rounded to nearest integer.

%H Chai Wah Wu, <a href="/A018184/b018184.txt">Table of n, a(n) for n = 0..1000</a>

%o (Python)

%o from gmpy2 import iroot_rem

%o def A018142(n):

%o i,j = iroot_rem(24**n,5)

%o return int(i) + int(32*j >= 10*i*(4*i*(2*i*(i + 1) + 1) + 1) + 1) # _Chai Wah Wu_, Aug 18 2016

%K nonn

%O 0,2

%A _N. J. A. Sloane_.

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 15 18:29 EDT 2024. Contains 372549 sequences. (Running on oeis4.)