Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Timeline for Harmonic divisor numbers

Current License: CC BY-SA 4.0

17 events
when toggle format what by license comment
Nov 25, 2021 at 18:49 comment added EGME It doesn’t work on 12.0 here ...
Nov 25, 2021 at 18:47 comment added ovs Let us continue this discussion in chat.
Nov 25, 2021 at 18:42 comment added ovs @EGME What version are you using? With the version on TIO and the 12.0 I have access to it prints just the Ore numbers.
Nov 25, 2021 at 18:37 comment added EGME It doesn’t output the Ore numbers, but all the positive integers ... but that can be done much more efficiently, if you want to do that. I would imagine that the spirit of the question is that you output exactly the Ore numbers, not one less, not one more. Your program does not do this.
Nov 25, 2021 at 18:32 comment added ovs @EGME One of the options of output formats in the challenge is "Take no input, and output the never ending list of Ore numbers.". This is exactly what this program does.
Nov 25, 2021 at 17:42 comment added EGME So then ??? it just spits out the positive integers, in sequence, until you stop it (or rather, you should make sure that you don’t use Infinity or your machine will go into a loop and you will have to crash stop it). What is the explanation?
Nov 25, 2021 at 17:30 comment added EGME Yes, completely different
Nov 25, 2021 at 17:21 comment added ovs @EGME This is how it looks for me, do you get something different?
Nov 25, 2021 at 17:14 comment added EGME Ok, so if I copy paste what you have into a Mathematica notebook, I don’t get what you are supposed to, so what am I doing wrong?
Nov 25, 2021 at 16:20 comment added EGME Thanks, I think I got it ... let’s see if I can better this :)
Nov 25, 2021 at 16:18 comment added ovs @EGME If you need to it "by hand", you can save the code to a file and then count the bytes like this. But TIO actually shows the right byte count in the top right, which simplifies things quite a bit.
Nov 25, 2021 at 16:08 comment added EGME So how are you measuring the bytes then, for the whole thing? Do you just take the character string and see how much space it needs?
Nov 25, 2021 at 16:07 comment added ovs @EGME Mathematica doesn't have any special encoding, so we just use UTF-8, where both and are encoded in 3 bytes.
Nov 25, 2021 at 16:06 history edited ovs CC BY-SA 4.0
added 101 characters in body
Nov 25, 2021 at 16:04 comment added EGME How do you measure the bytes in Mathematica?
Nov 24, 2021 at 22:49 comment added att 40 bytes
Nov 23, 2021 at 9:35 history answered ovs CC BY-SA 4.0
toggle format

AltStyle によって変換されたページ (->オリジナル) /