lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]




Dirk Laurie <dirk.laurie@gmail.com> 于2019年6月28日周五 下午6:22写道:
I can do 41 bytes.

x=3 while 1 do x=math.log(C,x)print(x)end

 
Thanks! combine with your method, I finally have a 34 bytes solution:
::a::x=math.log(C,x)print(x)goto a

btw, why (ln(C)+x)/(ln(x)+1) can be simplify to math.log(C,x)?

--
regards,
Xavier Wang.