Skip to main content
Commonmark migration
Source Link

##05AB1E, 16 13 bytes##

05AB1E, 16 13 bytes

[Dî2‹#¼žr.n]¾

Explanation

              # implicit input n
[          ]  # infinite loop
 Dî2‹#        # break if n rounded up is less than 2
      ¼       # else, increase counter
       žr.n   # set next n = log(n)
            ¾ # push counter and implicitly print

Try it online

##05AB1E, 16 13 bytes##

[Dî2‹#¼žr.n]¾

Explanation

              # implicit input n
[          ]  # infinite loop
 Dî2‹#        # break if n rounded up is less than 2
      ¼       # else, increase counter
       žr.n   # set next n = log(n)
            ¾ # push counter and implicitly print

Try it online

05AB1E, 16 13 bytes

[Dî2‹#¼žr.n]¾

Explanation

              # implicit input n
[          ]  # infinite loop
 Dî2‹#        # break if n rounded up is less than 2
      ¼       # else, increase counter
       žr.n   # set next n = log(n)
            ¾ # push counter and implicitly print

Try it online

added 2 characters in body
Source Link
Emigna
  • 53k
  • 5
  • 43
  • 162

##05AB1E, 1616 13 bytes##

i0ë¹[D1‹#¼žr[Dî2‹#¼žr.n]¾

Try it onlineExplanation

              # implicit input n
[          ]  # infinite loop
 Dî2‹#        # break if n rounded up is less than 2
      ¼       # else, increase counter
       žr.n   # set next n = log(n)
            ¾ # push counter and implicitly print

Try it online

##05AB1E, 16 bytes##

i0ë¹[D1‹#¼žr.n]¾

Try it online

##05AB1E, 16 13 bytes##

[Dî2‹#¼žr.n]¾

Explanation

              # implicit input n
[          ]  # infinite loop
 Dî2‹#        # break if n rounded up is less than 2
      ¼       # else, increase counter
       žr.n   # set next n = log(n)
            ¾ # push counter and implicitly print

Try it online

Source Link
Emigna
  • 53k
  • 5
  • 43
  • 162

##05AB1E, 16 bytes##

i0ë¹[D1‹#¼žr.n]¾

Try it online