@lyxal if you call a filter or something it could be useful to return two different booleans to make two lists each which was filtered by something slightly different, for example
perhaps i’m not in the best position to speak on stack golfing languages considering i’ve only used vyxal and golfscript and my vyxal knowledge is limited : -
Definitely works for 3 primes, but there seems to be many possible structures, much less constricted than 2.
For all primes, if our solution is symmetric between the primes, it amounts to finding a certain coloring of Young's lattice, where for every node, it or one of its direct successors is colored
Follow-up of my previous challenge, inspired by @emanresu A's question, and proven possible by @att (Mathematica solution linked)
For the purposes of this challenge, a 1-2-3-5-7... sequence is an infinite sequence of increasing positive integers such that for any positive integer \$n\$, exactly o...
@l4m2 no because you need 0, and even if you add 0, then it's still not closed under addition. There are still many ways to do it because there are many countably infinite groups and uncountably many bijections from the primes to each of those groups
@NewPosts Seems like the answer to #2 (natural density) is 0? I don't have a formal proof, but the proportion of elements under some N converges to 0 as N grows arbitrarily large
The game of chess has moves. Lots of moves. But how many, exactly? In this challenge, you must print all possible chess moves for a single player (black or white — you choose).
Moves are distinguished by the piece, the starting square and the ending square. Also, if the move is a promotion, moves...
CMC: given a printable ASCII character, output another printable ASCII character such that the XOR of their codepoints is a third printable ASCII character
i/o can of course be with the codepoints themselves
i was so close to sandboxing this to post on main, until i stuck with it for another two minutes and found a solution that's juuuuust a bit too simple :P