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

%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 27 08:11 EDT 2022. Contains 354094 sequences. (Running on oeis4.)