login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

a(n) = floor(log_3(n^2)) = floor(2 log_3(n))
3

%I #9 Nov 07 2019 21:34:08

%S 0,1,2,2,2,3,3,3,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,

%T 6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,

%U 7,7,7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8

%N a(n) = floor(log_3(n^2)) = floor(2 log_3(n))

%F 2*A062153(n) <= a(n) = floor(log_3(n^2)) = A062153(A000290(n)).

%F This A329194 = A062153 o A000290.

%o (PARI) apply( A329194(n)=logint(n^2,3), [1..99])

%Y Cf. A000290 (n^2), A062153 (log_3), A329202 (log_2(n^2)), A329193 (log_2(n^3)).

%K nonn

%O 1,3

%A _M. F. Hasler_, Nov 07 2019