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!)
A206812 Position of 2^n in joint ranking of {2^i}, {3^j}, {5^k}. 4

%I #18 Nov 18 2022 09:23:57

%S 1,3,5,7,10,11,14,16,17,20,21,24,26,28,30,32,34,36,38,40,43,44,46,49,

%T 50,53,55,57,59,60,63,65,67,69,72,73,75,77,79,82,83,86,88,89,92,94,96,

%U 98,100,102,104,106,108,111,112,115,116,118,121,122,125,127,129

%N Position of 2^n in joint ranking of {2^i}, {3^j}, {5^k}.

%C The exponents i,j,k range through the set N of positive integers, so that the position sequences (this sequence for 2^n, A206813 for 3^n, A206814 for 5^n) partition N.

%F a(n) = n + [n*log_3(2)] + [n*log_5(2)],

%F A206813(n) = n + [n*log_2(3)] + [n*log_5(3)],

%F A206814(n) = n + [n*log_2(5)] + [n*log_3(5)],

%F where []=floor.

%e The joint ranking begins with 2,3,4,5,8,9,16,25,27,32,64,81,125,128,243 so that

%e this sequence = (1,3,5,7,10,11,...)

%e A206813 = (2,6,9,12,15,...)

%e A206814 = (4,8,13,18,23,...)

%t f[1, n_] := 2^n; f[2, n_] := 3^n;

%t f[3, n_] := 5^n; z = 1000;

%t d[n_, b_, c_] := Floor[n*Log[b, c]];

%t t[k_] := Table[f[k, n], {n, 1, z}];

%t t = Sort[Union[t[1], t[2], t[3]]];

%t p[k_, n_] := Position[t, f[k, n]];

%t Flatten[Table[p[1, n], {n, 1, z/8}]] (* A206812 *)

%t Table[n + d[n, 3, 2] + d[n, 5, 2],

%t {n, 1, 50}] (* A206812 *)

%t Flatten[Table[p[2, n], {n, 1, z/8}]] (* A206813 *)

%t Table[n + d[n, 2, 3] + d[n, 5, 3],

%t {n, 1, 50}] (* A206813 *)

%t Flatten[Table[p[3, n], {n, 1, z/8}]] (* A206814 *)

%t Table[n + d[n, 2, 5] + d[n, 3, 5],

%t {n, 1, 50}] (* A206814 *)

%o (PARI) a(n) = n + logint(2^n,3) + logint(2^n,5) \\ _Ruud H.G. van Tol_, Nov 16 2022

%Y Cf. A206805, A206813, A206814.

%K nonn

%O 1,2

%A _Clark Kimberling_, Feb 17 2012

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 April 24 16:49 EDT 2024. Contains 371962 sequences. (Running on oeis4.)