Loïc Grenié on Wed, 29 Nov 2023 22:28:43 +0100 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: log_int_rat |
On Wed 29 Nov 2023 at 22:16, Ruud H.G. van Tol wrote:> On Wed, Nov 29, 2023 at 07:44:11PM +0100, Ruud H.G. van Tol wrote:
>> ? a054414(n) = 1 + n + floor( n * log(2) / log(3/2) );
[...]Quotes from the page:
<>
a(n) = 1 + floor(n/(1-log(2)/log(3)))
Also, numbers n such that the first digit in ternary expansion on 2^n is 2.
</>If I'm not mistaken, its 1+floor(n/(log(3)/log(2)-1))