Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Exponent of 3 (value of i) in n-th number of form 3^i*6^j.
3

%I #17 Jan 19 2021 21:25:22

%S 0,1,0,2,1,3,0,2,4,1,3,0,5,2,4,1,6,3,0,5,2,7,4,1,6,3,8,0,5,2,7,4,9,1,

%T 6,3,8,0,5,10,2,7,4,9,1,6,11,3,8,0,5,10,2,7,12,4,9,1,6,11,3,8,13,0,5,

%U 10,2,7,12,4,9,14,1,6,11,3,8,13,0,5,10,15,2,7,12,4,9,14,1,6,11,16,3,8,13,0,5,10

%N Exponent of 3 (value of i) in n-th number of form 3^i*6^j.

%C Also known as (exponent of 3 in n-th number of the form 3^i * 6^j) - (exponent of 2 in n-th number of the form 3^i * 6^j). - _David A. Corneth_, Jan 12 2021

%H David A. Corneth, <a href="/A025641/b025641.txt">Table of n, a(n) for n = 1..10000</a>

%e a(5) = 1 as the 5th number of the form 3^i * 6^j is 18 = 3^1 * 6^1 which has exponent of 3 equal to 1. - _David A. Corneth_, Jan 12 2021

%t SortBy[Join @@ Table[{i, 3^i*6^j}, {i, 0, Log[3, #]}, {j, 0, Log[6, #/3^i]}], Last] &[10^8][[All, 1]] (* _Michael De Vlieger_, Jan 12 2021, after _Amiram Eldar_ at A025614 *)

%Y Differs from A025649 at a(114). A025657 is exponent of 6.

%Y Cf. A025614.

%K nonn

%O 1,4

%A _David W. Wilson_