last day (117 days later) » 

5:13 PM
I created this room so we don't have to interrupt people in TNB about all these desmos golfs
 
5:39 PM
room topic changed to Desmos: Discussion about Desmos, the Language of the Month for May 2022 (no tags)
 
6:18 PM
nice!
@Steffan you can still save one more byte on ur infinite candle sequence answer
f(n)=total(.5mod(floor(nl),2)l)
l=.5^{[floor(log_2(n+0^n))...0]}
^ this is more or less the answer i have
(64 bytes)
for ur rotate number answer, u can do a few small golfs:
f(n,m)=mod(n,t)10^d/t+floor(n/t)
d=floor(log(n+0^n))+1
t=10^{mod(m,d)}
log defaults to log_{10}, so u dont need to explicitly write that
 
7:08 PM
@Steffan u didnt edit in the new code for ur infinite candle sequence answer
 
7:38 PM
woops fixed
ur next thing to golf lol: codegolf.stackexchange.com/a/246862/92689
 
 
4 hours later…
11:25 PM
@Steffan i see -2 bytes right off the bat:
l=floor(logx)
f(y)=∑_{x=1}^y∑_{n=0}^lmod(floor(x/10^n),10)10^{l-n}
10^{-n}x can be replaced with x/10^n, saving 2 bytes
it honestly looks pretty optimized to me
u r getting better at this :D
for ur collatz encoding answer, 3 bytes can be saved in ur ticker expression:
i->i+si+sk,n->(floor(n/2)+kn+k)(k+1)s
generally, it is golfier to distribute the smaller expressions to get rid of those parentheses
also congrats on 2k !! @Steffan
 

  last day (117 days later) »