Skip to main content
37 events
when toggle format what by license comment
Jun 9, 2021 at 13:30 answer added MarcMush timeline score: 0
Jun 9, 2021 at 9:52 history edited Fixpoint CC BY-SA 4.0
deleted 11 characters in body
Apr 21, 2021 at 12:05 comment added l4m2 What's abs(4)?
Mar 21, 2019 at 4:34 answer added Unrelated String timeline score: 1
Dec 3, 2018 at 18:31 answer added Sean timeline score: 1
Dec 3, 2018 at 17:46 answer added zgrep timeline score: 2
Dec 3, 2018 at 12:49 answer added mroman timeline score: 1
Dec 3, 2018 at 12:44 answer added Shaggy timeline score: 3
Dec 3, 2018 at 10:22 answer added Kevin Cruijssen timeline score: 2
Dec 3, 2018 at 4:11 answer added Bubbler timeline score: 4
Dec 30, 2013 at 22:00 answer added mudri timeline score: 2
Feb 8, 2013 at 10:37 answer added plannapus timeline score: 2
Feb 8, 2013 at 3:28 answer added Gordon Bailey timeline score: 2
Feb 4, 2013 at 23:47 answer added m0s timeline score: 1
Feb 2, 2013 at 17:55 answer added Peter Taylor timeline score: 4
Feb 2, 2013 at 10:09 history tweeted twitter.com/#!/StackCodeGolf/status/297647810206121985
S Feb 1, 2013 at 21:07 history suggested SeanC CC BY-SA 3.0
added restrictions based on comments from @mellamokb
Feb 1, 2013 at 20:15 review Suggested edits
S Feb 1, 2013 at 21:07
Feb 1, 2013 at 20:10 comment added mellamokb @SeanCheshire: Oops, you are right, I didn't think that through completely. However, it is still true that 4 would have 1 four in every base >= 5, so that should be clarified in the spec.
Feb 1, 2013 at 19:56 comment added SeanC @mellamokb, 14 in any base greater than 15 would not have a 4 in it - e.g. 14 base 16 is D - this also applies to any base higher than 10 - the 4 may be in the original number, but the symbol chosen to represent it would not be a 4, but another number
Feb 1, 2013 at 19:45 comment added Gareth @SeanCheshire True, but it could shorten the code to leave the test in for 0,1,2,3 and 4 (it does in my case at least).
Feb 1, 2013 at 19:37 comment added SeanC note that it's not much use testing bases 2 3 and 4, as they can't produce a 4 in the first place
Feb 1, 2013 at 18:31 comment added mellamokb What is the correct answer for 1, 2, and 3, which have the same number of "4"s (0) in every base? Also, many numbers have the same number of "4"s in many bases (e.g., 4 in any base > 5, 44 in any base > 45, 14 in base 9, or any base > 15, etc). Should the correct answer be the smallest base with the largest number of "4"s?
Feb 1, 2013 at 18:27 comment added mellamokb @SeanCheshire: You don't actually have to display the number. You can easily represent a number in any base as an array, such as [1,15,3,64,43] for some number in base 80. You're only outputting the base number, so you could technically test every base from 2 to n.
Feb 1, 2013 at 18:11 answer added Gareth timeline score: 4
Feb 1, 2013 at 17:50 answer added DavidC timeline score: 3
Feb 1, 2013 at 17:33 answer added Howard timeline score: 5
Feb 1, 2013 at 17:02 answer added theB timeline score: 1
Feb 1, 2013 at 16:48 answer added Keith Randall timeline score: 4
Feb 1, 2013 at 16:42 answer added marinus timeline score: 24
S Feb 1, 2013 at 16:03 history suggested SeanC CC BY-SA 3.0
added example, and a target
Feb 1, 2013 at 15:36 answer added SeanC timeline score: 4
Feb 1, 2013 at 15:35 comment added SeanC I would assume 36, as it gets difficult to represent after that
Feb 1, 2013 at 15:34 comment added Steven Rumbalski What is the highest acceptable base?
Feb 1, 2013 at 15:31 review Suggested edits
S Feb 1, 2013 at 16:03
Feb 1, 2013 at 14:25 review First posts
Feb 1, 2013 at 14:35
Feb 1, 2013 at 14:10 history asked Fixpoint CC BY-SA 3.0