« first day (1243 days earlier)      last day (1126 days later) » 

6:37 PM
CMC: My rep can be expressed as the concatenation of a power of 2 with its square: 16256. Given an integer n, output whether n has this property
11, 24, 416, 864, 16256, 321024, 644096 return true
18, 28, 39, 16512 all return false
 
6:51 PM
Ugh, mine is bad. 22 bytes here
@cairdcoinheringaahing 18
 
7:54 PM
@cairdcoinheringaahing 13 bytes
 
 
2 hours later…
9:57 PM
@cairdcoinheringaahing 14 bytes
Well, actually, 12 bytes, it just takes forever for large inputs
 
If I tried to golf mine any more, it'd just end up being yours :P
I'm trying to come up with a nice first sequence to this and wrote some Jelly that calculates sgn(arg(x^i))
Which is a very weird function
 
oh. huh
interesting
 
For some reason, the signs flip at x = 22.7, x = 535.5, x = 12435 (approx values)
 
i'm a bit confused
is i the index or x and what's the other variable
wait do you mean i=sqrt(-1) like that i
 
i = sqrt(-1)
 
10:07 PM
oo. okay
what's arg? lol i feel like i should know this
 
In mathematics (particularly in complex analysis), the argument is a multi-valued function operating on the nonzero complex numbers. With complex numbers z visualized as a point in the complex plane, the argument of z is the angle between the positive real axis and the line joining the point to the origin, shown as φ in figure 1 and denoted arg z. To define a single-valued function, the principal value of the argument (sometimes denoted Arg z) is used. It is often chosen to be the unique value of the argument that lies within the interval (–π, π]. == Definition == An argument of the com...
 
oh so it's just like atan2(imag, real)?
 
ah, okay. that's a pretty interesting starter seq for sure
 
I didn't want it to be something that I'd told voters to not vote for (e.g. primes or repeating values) :P
 
10:11 PM
ah, yeah that's a good idea :P
 
@cairdcoinheringaahing It's a bit too slow to test thoroughly, but... 9 bytes
 
Ah, forgot that V does that on lists, nice :P
 
It was 11 bytes but then I remembered I could just use and vectorization instead of and :P
 
oh
I forgot you could do that lol
wait hold on
 
10:21 PM
oh you can output any truthy/falsy?
 
Assumed so at least lol
 
yeah i think that's fair
 
It's a CMC, who cares about I/O rules? :P
 
i think i may be able to golf one more with reordering atoms
wait nope this doesn't work
@HyperNeutrino nvm this is the shortest i'll get
 

« first day (1243 days earlier)      last day (1126 days later) »