Skip to main content
12 events
when toggle format what by license comment
Jan 29, 2020 at 18:01 comment added RGS @NickKennedy good thinking
Jan 29, 2020 at 18:00 comment added Nick Kennedy @RGS I don’t know why it wasn’t working on TIO, but I reasoned that the output of N is storing the data and the number of digit, but converting the output of N to a string should fix the formatting using that number of digits.
Jan 29, 2020 at 17:40 comment added RGS @NickKennedy Thanks a lot! Can you explain me what was happening under the hood?
Jan 29, 2020 at 17:40 history edited RGS CC BY-SA 4.0
deleted 83 characters in body; deleted 2 characters in body; edited body
Jan 29, 2020 at 17:29 comment added Nick Kennedy To fix the TIO link, run the outputs through ToString before Print.
Jan 29, 2020 at 0:25 comment added RGS @ExpiredData yes I can, thanks
Jan 29, 2020 at 0:25 history edited RGS CC BY-SA 4.0
added 48 characters in body
Jan 28, 2020 at 18:49 comment added Expired Data Can't you get -2 bytes with N[#/Log@#,PrimePi@#+1]&
Jan 28, 2020 at 18:27 history edited RGS CC BY-SA 4.0
added 4 characters in body
Jan 28, 2020 at 18:19 comment added RGS @Cruncher you are not interpreting it wrong, TIO just doesn't work really well with N, for some reason. Running this function locally, the roundings are done well. In TIO they show up after the ` at the end of the number.
Jan 28, 2020 at 18:16 comment added Cruncher 2.88539008177792681482 doesn't this output only make sense for f(4) if 4 has 20 primes lower than it? Or am I misunderstanding the requirement with exactly 𝜋(𝑥) decimal places.?
Jan 28, 2020 at 18:11 history answered RGS CC BY-SA 4.0