Skip to main content

Timeline for The plus-minus sequence

Current License: CC BY-SA 3.0

14 events
when toggle format what by license comment
Jun 17, 2020 at 9:04 history edited CommunityBot
Commonmark migration
Apr 4, 2016 at 22:47 comment added David Ahh didn't notice that, sorry.
Apr 4, 2016 at 12:48 comment added Suever @David Luis and I had played with that a little bit but the issue is that when you specify k=5, you get the first 6 elements rather than 5 due to the seed. This is different than the example in the problem statement. You would have to add a q to the beginning bring it back to 10 bytes.
Apr 4, 2016 at 5:21 comment added David You can save a byte using a for loop, :"ttswPdh so you can use the implicit display.
Apr 4, 2016 at 1:44 comment added Maxwell Zhao OOPS my bad, sorry, deleted ;)
Apr 4, 2016 at 0:35 history edited Suever CC BY-SA 3.0
added 24 characters in body
Apr 4, 2016 at 0:33 comment added Suever Well so in MATLAB (which MATL uses under the hood), you can change the output format to be whatever you want. The default of MATL is to display up to 15 numbers before switching to scientific notation.
Apr 4, 2016 at 0:29 comment added R. Kap Wow, that's pretty cool. In Python, if you have very big numbers, it still prints out all the digits, one at a time, so it gets a bit tedious looking at all that. I just thought that most other languages did that too, but it looks like Python is the unique one in this case.
Apr 4, 2016 at 0:25 comment added Suever @R.Kap It looks like it does. That doesn't appear to be explicitly forbidden in the original problem statement.
Apr 4, 2016 at 0:19 comment added R. Kap Does this automatically convert all very large numbers into scientific notation?
Apr 3, 2016 at 22:11 history edited Suever CC BY-SA 3.0
added 39 characters in body
Apr 3, 2016 at 21:52 history edited Suever CC BY-SA 3.0
added 89 characters in body
Apr 3, 2016 at 21:46 history edited Suever CC BY-SA 3.0
deleted 29 characters in body
Apr 3, 2016 at 21:39 history answered Suever CC BY-SA 3.0