« Last post by _iPhoenix_ on Yesterday at 01:11:38 am »
« Last post by Juju on June 16, 2018, 11:01:52 pm »
« Last post by _iPhoenix_ on June 16, 2018, 09:18:12 pm »
This one is pretty cool, despite its apparent simplicity. If you graph f(n) against n, it approximates a Sierpinski gasket when the maximum n is a power of two.
« Last post by Juju on June 16, 2018, 08:18:55 pm »
Sounds fun. Let's golf every sequence!
« Last post by _iPhoenix_ on June 16, 2018, 07:00:48 pm »
Inspired by this, and highly inspired by the Programming Puzzles and Code Golf (PPCG) stack exchange. If there are any doubts with the rules, default to their rules.
You must take a sequence in the OEIS (it must be known that it has infinite terms), and write a program taking a input, n, (somehow. If your language doesn't support taking input, editing the source code to insert a decimal number is allowed) and outputting, in base 10 plain text the first n terms of that sequence. You must start at the first term in the sequence. This can be via a file, a function return, etc
No hard-coding solutions, you should use an algorithm.
No reading from external sources.
No asking for the sequence from the user.
The program should be your own work. No stealing programs from other users.
(Use good judgement)
Programming languages are defined by their implementation, so the programming language must have a working compiler/interpreter by the time of this post.
Feel free to help others with their code golf. Be sure to explain what you changed and why it works!
If you are showing off your code golf, format your post like this:
(click to show/hide)
I'll go first.
« Last post by Juju on June 16, 2018, 06:39:55 pm »
I use Vivaldi for Mac. So pretty much the same as you. And it works for me... weird. What did you do?
« Last post by _iPhoenix_ on June 16, 2018, 10:37:16 am »
Your code does not work for me (latest version of chrome, Mac); what browser are you using?
« Last post by critor on June 15, 2018, 06:32:36 pm »
There's that one server I'm on where they greet @everyone every morning but sometimes two or three people might do it.
So I look at my notifications seeing 3 new ones, thinking my friends want to chat or something, only to find out it's just someone using @everyone to say good morning.