OFFSET
1,2
COMMENTS
For n >= 1, a(n+1) is the tree-depth of the n-ladder graph. - Eric W. Weisstein, Jul 01 2026
LINKS
Eric Weisstein's World of Mathematics, Ladder Graph.
Eric Weisstein's World of Mathematics, Tree-Depth.
MATHEMATICA
Table[Floor[2 Log2[n]], {n, 20}] (* Eric W. Weisstein, Jul 01 2026 *)
(* Alternative: *)
Floor[2 Log2[Range[20]]] (* Eric W. Weisstein, Jul 01 2026 *)
PROG
(PARI) a(n)=logint(n^2, 2)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
M. F. Hasler, Nov 07 2019
STATUS
approved
