login
A329195
a(n) = floor(log_5(n^2)) = floor(2 log_5(n)).
1
0, 0, 1, 1, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5
OFFSET
1,5
MATHEMATICA
Table[Floor[2Log[5, n]], {n, 100}] (* Harvey P. Dale, Dec 14 2021 *)
PROG
(PARI) apply( A329195(n)=logint(n^2, 5), [1..99])
CROSSREFS
Cf. A000290 (n^2), A062153 (log_3), A329202 (log_2(n^2)), A329193 (log_2(n^3)), A329194 (log_3(n^2)).
Sequence in context: A076080 A134914 A372406 * A204164 A257639 A180447
KEYWORD
nonn
AUTHOR
M. F. Hasler, Nov 07 2019
STATUS
approved