« first day (2365 days earlier)      last day (2771 days later) » 

15:00
@DJMcMayhem is every thing except the first char a part of the regex?
Yes
I'll put an explanation in a few seconds
@HyperNeutrino POSTED!
Maybe I shouldn't have gotten rid of Jelly so early...
@HyperNeutrino too late now
Oh well, this challenge, unlike the other huge answer-chaining one, doesn't get exponentially harder, so hopefully we'll go over 150 answers sooner or later
15:04
@HyperNeutrino if you want, you can delete it
I don't even understand this next sequence
14
Q: Generate a Kolakoski sequence

ardnewDefinition1 A Kolakoski sequence is a self-describing infinite sequence {kn} of alternating blocks of 1's and 2's, given by the following rules: k0 = 1 kn = the length of the (n+1)'th block The Task Given a positive integer n, generate the first n elements of the Kolakoski se...

yeah I deleted it
I don't want to use Jelly so early
@BusinessCat back to A10
@HyperNeutrino I wouldn't delete it, you usually aren't supposed to do that on answer-chaining
15:05
but prime-counting functions will be nice, and most obscure languages don't have those
@StepHen you can delete but only before another is posted
@StepHen I think I hopefully don't cause too many problems as long as nobody's chained onto the end of mine. Besides, I just posted it like 2 minutes ago.
+35 rep in 6 mins. Why didn't I make this earlier?
lol you might cap
@HyperNeutrino fingers crossed
15:08
capping early in the day is overrated lol
Ok, I fixed the example and added a few interesting/fun test cases.
@HyperNeutrino I'm waiting for NMP :)
surprisingly, I've exactly capped, and I haven't lost any rep yet
@HyperNeutrino brb downvoting /s
>.<
wait nvm 15*5 > 65
I have lost rep ;_;
15:09
@HyperNeutrino never boast about capping lol
0
A: Sandbox for Proposed Challenges

TheLethalCoderCreate a binary wall code-golf Given an array of positive integers, n > 0, output their representation of a binary wall. How does this work? Convert each number to it's binary representation. Pad the representation with leading zeroes to the length of the longest one i.e. 1, 2 -> 1, 10 -> 01...

Could someone give me some feedback on this?
lol true but please don't upvote me just for fun because it's still bad
brb getting suspended for serial voting ;-;
6
Q: One OEIS after another

caird coinheringaahingThis is an answer chaining question that uses sequences from OEIS, and the length of the previous submission. This answer chaining question will work in the following way: I will post the first answer. All other solutions must stem from that. The next user (let's call them userA) will find the...

15:12
Maybe I shouldn't have chosen such a difficult second sequence oO
@cairdcoinheringaahing Or just have @HyperNeutrino undo his Jelly delete
nvm
@StepHen can't happen. New haskell answer
@cairdcoinheringaahing That sequence is even worse :(
@Mr.Xcoder Not really, it's pretty trivial
Just lengthy
@Mr.Xcoder isn't it fib?
15:14
@cairdcoinheringaahing No
It's Dying Rabbits
> Dying rabbits: a(0) = 1; for 1 <= n <= 12, a(n) = Fibonacci(n); for n >= 13, a(n) = a(n-1)+a(n-2)-a(n-13).
194 hotness points and it doesn't even have 10 score on the question yet, lol
basically fib, but the first 3 terms are 1
@Cowsquack Not really, after 12 it gets wierd
ooh, I see now
I've got the code golf twitter open, to see when it gets tweeted lol
15:18
If there isn't a sequence for then length of the last post, then the sequence for your post is the lowest unused sequence. once this happens it's gonna screw people over
@StepHen its fun messing with people :)
CMC: Given a multiline string as input, delete every line that starts with //
@DJMcMayhem I would take part but I know that V is going to win so
Hehehe
ç^¯¯/d
untested btw
15:22
Yeah, except you'd compress the \/ obviously
oh obviously
Oh wait, you'd need ^ of course
@BusinessCat the ninja!
Ugh this is why I don't participate early in answer chaining
Compressed / is ¯ BTW
15:23
Whoever upvoted me should upvote ETH instead...
So ç^¯¯/d
The next sequence is =2:0 in cQuents but I'll save cQuents for something a bit more challenging
It was the same language even! What are the odds
@HyperNeutrino so much for saving Jelly 0.
@BusinessCat it was also 3 bytes less
15:25
> This is not a code-golf, so shortest code doesn't matter
@BusinessCat yeah but they weren't identical. Close but no cigar
Again, here's the link for A000002:
14
Q: Generate a Kolakoski sequence

ardnewDefinition1 A Kolakoski sequence is a self-describing infinite sequence {kn} of alternating blocks of 1's and 2's, given by the following rules: k0 = 1 kn = the length of the (n+1)'th block The Task Given a positive integer n, generate the first n elements of the Kolakoski se...

@StepHen so we just copy one of those? :D
@LeakyNun post first format next...I was really lucky I got that one and no time for formatting when you have to ninja...I'd have formatted after ninja is done ;) (also my internet is slow...)
I like being able to see deleted posts, but it doesn't help with this challenge
15:26
@StepHen Even after reading that I still don't understand the sequence
@BusinessCat it's a self-referential sequence
@LeakyNun I dunno
@LeakyNun remember you can only post once an hour :P
@StepHen I added that just so that Erik and Leaky couldn't FGITW it
@cairdcoinheringaahing But you'll run out of easy langs at some point anyway
@StepHen oh noes
15:33
@cairdcoinheringaahing Thanks for editing
@Mr.Xcoder sure. It my job as OP (kinda. Not really)
I just forgot
@cairdcoinheringaahing I think these two rules are redundant:
- You must wait for at least 1 hour before posting an answer, after having posted.
- You may not post twice (or more) in a row.
I think the second one suffices.
Yay, 3.5k rep exactly!
@Mr.Xcoder I could wait for an hour and if no-one posts, I'd then be able to post again. Or I could wait for someone to post, make a 5 min solution and post again. I think its better with both.
@cairdcoinheringaahing As you wish
15:36
Ugh 72 is hard
I mean, I could, but I can't hurt, right?
@totallyhuman Not really
Also Python's gone so I'm practically screwed
@Mr.Xcoder Depends what language
too many challenges at once!!!!
15:37
I mean Python's gone so it gets harder
This is kinda random, but Joel's article on painting algorithms is probably one of my all time favorite programming articles.
4 challenges in 1h
@Mr.Xcoder I gave 24h warning for mine. Everyone else just gotin my ay
Dibs on the constant sequences
@totallyhuman what number is it?
@LeakyNun VTC your answer as a dupe of the Fibonacci
15:39
I now cannot post fibonacci -1 !
@Mr.Xcoder Sometimes, answer chaining rules can be annoying as cheese
What do you guys say Python is gone?! There are Python 2, Python 1, Pypy 2, Pypy 3...
@Mr.Xcoder I think 1 hour is better than in the first answer chain. You had to wait 8 hours between posting
@cairdcoinheringaahing Maybe leave 30 mins?
@Mr.Xcoder I'm not changing the spec unless its really important. Besides, I'll ping you in an hour if you want :)
15:42
@cairdcoinheringaahing That wouldn't help :P
Oh god. Look at the next sequence
@cairdcoinheringaahing Please add a list of used byte counts in the challenge and update it every time an answer is posted.
Leaky has 71 and I had 72, things already get close
@Mr.Xcoder But byte counts isn't correct
It's OEIS sequences used
@StepHen ?
we need someone to make a stack snippet
15:44
3
Q: Element-wise string multiplication

Bruce ForteInspired by this challenge (thanks @cairdcoinheringaahing for the title!), your task is to take two printable ASCII strings and multiply them element-wise with the following rules. How does it work? Given two strings (for example split and isbn) you will first, truncate the longer one such that...

@StepHen
@Mr.Xcoder If a bytecount doesn't have an OEIS, you use the smallest available index
> your bytecount must be unique
@StepHen The byte count must be unique. No one can post a 71, 72, 10 ... byte solution again
Editing in list to question now
@cairdcoinheringaahing If there isn't a sequence for then length of the last post, then the sequence for your post is the lowest unused sequence. does that remove that byte count from the running too?
15:46
@StepHen yeah. Ill edit that in as well as the obvious typo
@StepHen actually, isn't that obvious with your bytecount must be unique?
@Mr.Xcoder See above - your byte count not only has to be unique, but not be a previous used sequence
@StepHen That's what I was trying to tell you.
@cairdcoinheringaahing @Mr.XCoder No, say your length doesn't have an OEIS, so it default to A0000001. Can you post 1 byte solutions after that?
lol did someone use Jelly
15:48
@HyperNeutrino For 2,0,0,0,0...
@StepHen No, you cannot post 1 byte solutions after that
@Mr.Xcoder What I'm saying is that you can remove 1 byte solutions from the competition without posting a 1 byte solution
ok then lol
@StepHen @Mr.Xcoder edited in. Dispute settled
@cairdcoinheringaahing: I'll be messing with adding a Stack Snippet into your question to make answering easier; please excuse the edits. Is that alright?
15:50
@HyperNeutrino sure thats fine
Also, works best when sorted by oldest
Oh, sorry, oldest I meant
Someone used Mathematica :)
> Coefficients of the 3rd order mock theta function f(q).
Next ones looks weird
That's not going to be easy at all
But seriously any constant sequence and it is mine
The all-n sequences :P
15:54
Check the stack snippet. I used the language "1" apparently :)
@totallyhuman cQuents has a lot of 1 byters, 1 is 1,1,1,1,1,1..., $ is 1,2,3,4,5..., etc.
@cairdcoinheringaahing I used 5
I tried to invite a newbie in here, because he commented about how hectic the challenge was
Halfway to capping!
I don't understand this next sequence
my brain isn't mathy enough
@Mayube do you understand the 3rd order mock theta function f(q)?
15:58
no
@Mayube I've stopped looking at the next sequences because my brain will expolde
I understand coefficient... I think
@cairdcoinheringaahing put 1. instead
@totallyhuman for the answers?
lol is it possible to get edit-limited
15:59
Yeah I think that's should work
@HyperNeutrino maybe. Don't go overboard tho
I'm trying to make as few mistakes as possible lol
maybe I'll just open a JSfiddle and work there
Anyone want to help me edit the 8 answers with a . rather than a ,?
@HyperNeutrino see ETH's comment
@HyperNeutrino you edited my edit
16:01
lol
That worked!
be back in a bit, my profile picture wants to go for a walk
somebody solve this next sequence in a convenient bytecount
Apparently, I am the only one to appear on The Leaderboard
16:03
@Mr.Xcoder better than nothing
And I have a byt count of 2
I had 10 points a minute ago
@BlackCap you got +60 rep in about 2 minutes with the haskell one
On the leaderboard, I had a score of 10, whatever that means
I think the score was showing the number of the sequence you completed
you completed A000010
16:06
@Mayube that is quite helpful tho
I added Sequence instead of Score
so does anybody understand what the 3rd order mock theta function f(q) means?
@Mr.Xcoder ETH just changed it
@cairdcoinheringaahing I just re-changed it
@Mayube I have a sinking feeling that Leaky does but he can't answer for 30 more minutes
16:08
Leaky will yeah, he knows all the math
It's like his brain was programmed in Matlab
2
@cairdcoinheringaahing You can now post again
@Mr.Xcoder I can't. I don't understand the next sequence
@cairdcoinheringaahing I said You can, not You will.
Black cap has 3 minutes
@Mayube It's like his Brain has the built-ins of Mathematica.
16:10
No, I trust @cairdcoinheringaahing to solve it
@BlackCap I wouldn't be so sure
I'm ok with the partitions, it's the next part of the definition I'm struggling with.
"with even rank minus number with odd rank"
@BlackCap I'm doing my GCSEs. Unless my calculator can, I can't
@BrianJ think you might be looking at the wrong sequence, the next one is Coefficients of the 3rd order mock theta function f(q).
CMC: Given a letter (uppercase or lowercase) output its position in the English alphabet with A=1 to Z=26, but if given a number 1 <= n <= 26 instead output that letter.
16:12
COMMENTS
a(n) = number of partitions of n with even rank minus number with odd rank. The rank of a partition is its largest part minus the number of parts.
It would be easy in Mathematica: CoefficientList[Series[(1+4Sum[(-1)^n q^(n(3n+1)/2)/(1+q^n), {n, 1, 10}])/Sum[(-1)^n q^(n(3n+1)/2), {n, -8, 8}], {q, 0, 100}], q], but it's taken
@BrianJ oh yeah my bad, I missed that
OMG, look at ETH's edit
@Mayube No worries. I would have been lost without that comment in the OEIS though
16:13
@AdmBorkBork English
ok so I don't get what partitions are
@Mr.Xcoder Now that's a nice leaderboard!
@BrianJ yeah but it doesn't show the sequences used :(
I am 100 % sure this is from Hackerrank:
0
Q: c program on : Vaults in Bank

user72520Problem : Vaults in Bank In the strong room of ABC bank there are N vaults in a row. The amount of money inside each vault displayed on the door. You can empty any number of vaults as long as you do not empty more than 2 out of any 5 adjacent vaults. For example, of the vaults 1, 2, 3, 4, 5, if ...

I just cannot find it
osnap nice leaderboard ETH
16:15
@Mayube I think this is a pretty good example of a partition. projecteuler.net/problem=78
I see ETH doesn't chat :(
I think we should release Dennis on the question?
He specialises in math ones, doesn't he?
@MDXF I suggest you to wait a bit, because the recent challenges (especially cairdcoinheringaahing's) will draw most of the attention from your challenge
16:17
@Mr.Xcoder What? Yeah he does
@MDXF I agree with ^^ and sorry about that -_-
@DJMcMayhem He cannot be pinged in TNB
-2
Q: c program on : Vaults in Bank

user72520Problem : Vaults in Bank In the strong room of ABC bank there are N vaults in a row. The amount of money inside each vault displayed on the door. You can empty any number of vaults as long as you do not empty more than 2 out of any 5 adjacent vaults. For example, of the vaults 1, 2, 3, 4, 5, if ...

Doesn't mean he never chats
@AdmBorkBork C, 23 bytes, f(n){n=n/30?n-64:n+64;}
I'm not entirely sure if this is valid or not
16:19
The new leaderboard is fancy
@Mr.Xcoder Huh, I only see one... but not a bad idea
@cairdcoinheringaahing :o good job! First answer in Triangular, yay :D
@MDXF thanks! Its the same as the triangular numbers one, but it felt good
This one also includes the current sequence, very nice @ETHProductions.
@Cowsquack Looks to work fine. Nice trick.
CMC: n -> |n! - n^2|, n ≥ 1
16:22
@Mr.Xcoder jelly, 3 bytes: !ạ²
@EriktheOutgolfer I was just about to do it in Jelly!
sorry you got fgitw'd!
@cairdcoinheringaahing Why are there no explanations for any of the answers?
@EriktheOutgolfer TIO?
Why can't I create snippets under the graduation script? @Downgoat
@MDXF I don't know. Its a little weird tho
@AdmBorkBork JavaScript, 50 bytes: a=>+a?String.fromCharCode(a+64):a.charCodeAt(0)-64
Dyalog APL, {|(!⍵)-⍵×⍵}
@cairdcoinheringaahing Hmm... mind if I add a Triangular description, and un-golfed code?
This would be a great solution if it wasn't for those stupidly long names >=(
Pyth, 6 bytes: a^Q2.!
@MDXF doing it now
Ok cool
Ha I love how A000217, the Triangular answers', is 'triangular numbers'
16:25
@BusinessCat lol
@EriktheOutgolfer ! - factorial ² - square absolute difference?
@Cowsquack thanks
Jelly is exactly half the Pyth one
@MDXF shifty look Yes. I did that on purpose. Totally.
16:27
@Mr.Xcoder you can do it in 5 bytes
Heh. Well, it's a good coincidence.
Holy crap A000025 is rather complex
@LeakyNun I confirm
(and it's not too hard)
@MDXF yep. It sort of stopped the influx of answers
@LeakyNun, @EriktheOutgolfer You should post it
@Mr.Xcoder a.!Q*
16:29
Duh, *QQ = ^Q2 >_>_>_>
*<implicit><implicit>...
btw that was mine too
@Mr.Xcoder Now I see why you advised that I wait. That's quite a popular question.
@EriktheOutgolfer I doubt you could of done it in 5 bytes otherwise
@MDXF I was right :p
I'll start working on A25. Let's hope I don't give up.
@LeakyNun Hope
16:32
Why isn't the green +10 showing up on my achievements bar?
I keep seeing my rep go up and getting super confused
I think you are the only one that knows a language capable of solving that
@MDXF give it a second. Caching
@Mr.Xcoder I'm gonna do it in Cubically :D:D:D
@cairdcoinheringaahing @EriktheOutgolfer thanks, also could be since I had it open on my phone
Why don't negative changes in rep show up? SE should implement the minus...
16:33
@LeakyNun If you get a method for solving it, but can't post, can you post it here so that someone else can?
@cairdcoinheringaahing ok
@Mr.Xcoder Because programmers are naturally negative people. SE wants us to be more positive so it only shows positive rep changes
let's hope nobody posts it before I do
:P
@MDXF That's crappy
16:34
@MDXF @Mr.Xcoder and true
oh, it's actually not that hard... if people paid more attention to the sequence page.
@LeakyNun answered 57 mins ago. You can be a bit slower, such that you can post it
yeah you just need partition
@LeakyNun huh? oeis pages are so unreadable
@HyperNeutrino "just"
16:35
yeah
now to find an unused golfing language with that builtin
heh sorry I already used jelly
@LeakyNun Maybe solve it in 27 bytes?
You know, I could be getting a lot more rep if Triangular wasn't a piece of crap
Question: Currently my string/list repetition operator puts the result in reverse for a negative number. So for a repeat each element operator, should the result still go in reverse for a negative
@BusinessCat yes
16:37
@Mr.Xcoder why would I?
As in abcd * -2 -> ddccbbaa
Because of the sequence A000027
The sequence of positive integers
@LeakyNun It would be solved in 1 byte in Pyth then
@cairdcoinheringaahing No it's not. Why should a loop, reading input, ending when input is EOF, decide that it's going to PRINT THE LOOP CODE?1?!?!
16:38
@Mr.Xcoder what if I'm going to use pyth?
@LeakyNun Then I should pick Swift
@LeakyNun you helped with the interpreter, any idea what's going on here?
Everyone except Wheat Wizard and LegionMammal978 can now post again!
What happened to Wheat Wizard and LegionMammal978?
@Phoenix They posted the last two answers
58 mins and ~45 mins ago
16:40
Its been an hour since people have posted (except them)
Oh is there a new ?
@Phoenix Look on Main
0
A: One OEIS after another

Leaky Nun9. Pyth, 19 bytes, A000025 ?>Q0sm@_B1-edld./Q1 Test suite. Next sequence a(n) = number of partitions of n with even rank minus number with odd rank. The rank of a partition is its largest part minus the number of parts.

@LeakyNun you had to give that sequence?
16:42
@cairdcoinheringaahing :p
@LeakyNun ;/ For those who know Pyth, I deliberately used >Q0 instead of Q in order to, you know, have the next sequence to be A000019.
@LeakyNun whats A000017?
A000017 is not a real sequence...
huh. the leaderboard is broken
@LeakyNun I would love to know how that works
16:43
@HyperNeutrino No, it's not
@Cowsquack Pyth has a partition built-in
@HyperNeutrino blame it on caching
everything else follows from the quote
sure
aaaa too much math in this challenge that I don't know
As soon as someone posts a 27-byte one, I got this ready
16:44
wikipedia is my friend :)))
@cairdcoinheringaahing I have already done it in Swift {$0+1}
The one that follows mine is n^0
@Mr.Xcoder if you post it, add a space at the end to make A000007
@cairdcoinheringaahing Nope
@Mr.Xcoder A000007 is easier tho
@cairdcoinheringaahing Yours is much easier
16:47
@Mr.Xcoder my what
@cairdcoinheringaahing Yeah, it looks very ready. Error encountered!
damn this next one is hard
@MDXF needs an input (duh)
Heh I'm observant
@Mr.Xcoder this is a solution of A000007
@MDXF arguments as input
16:51
@LeakyNun I am very tempted to press that downvote button, just because you've driven us to A000019, and on the other hand I am tempted to press that upvote button, because you solved A000025 in Pyth...
@Mr.Xcoder I gave a +1 for the audacity to go from difficult to impossible
@cairdcoinheringaahing Why?
@Mr.Xcoder I'm not answering it :D
Holy crap, it's possible to use 256 colors in an ANSI terminal
16:53
yes
I hate A000019, because it contains galactic Math I don't understand
for i in {16..21} {21..16} ; do echo -en "\e[38;5;${i}m#\e[0m" ; done ; echo
Two bad challenges from the same user....
I think LegionMammal just won the challenge, unless Dennis is released and saves us.
@Mr.Xcoder while everyone's waiting for some MENSA genius to work on A000025, should I post the cubify challenge?
@MDXF Now we're waiting for A000019
16:55
No now we're looking for a MENSA genius on A000019
I'm waiting for me to find language with this builtin
@MDXF Post it in ~15', that challenge will settle soon
Hint: It's called either Maple, Mathics, or Magma or something like that
@Dennis could you have a look at this, maybe see if you can post the next one?
19 doesn't sound complicated but it doesn't actually explain how to calculate it...
16:57
OEIS has code at the bottom of the page. Magma: [NumberOfPrimitiveGroups(i) : i in [1..999]]
@HyperNeutrino It has (MAGMA) [NumberOfPrimitiveGroups(i) : i in [1..999]]; in the description, but that sounds like bad form
oh it does???
lol
@BlackCap That definitely solved my confusion on how to find the number of primitive permutation groups.
the heck is magma
@LeakyNun I can't reproduce but if you want to embed JS you can use esfiddle
16:58
how does one input in magma lol
and do not give me "lava in another state"
or whatever the definition is
Though I did permutation stuff in school last fall... I just don't remember much D:
i don't remember
I hope I don't have to answer A000019 myself...
you can't unfortunately
16:59
@LeakyNun I now hope you do
@LeakyNun you can't answer but you can tell us how to answer
@HyperNeutrino why not? @cairdcoinheringaahing
I just need to wait for an hour

« first day (2365 days earlier)      last day (2771 days later) »