import pandas as pd
%matplotlib inline
def get_base(n, p=''):
chars = digits + ascii_uppercase
def base(x):
q, r = divmod(x, n)
c = [chars[r]]
while q:
q, r = divmod(q, n)
c.append(chars[r])
return p + ''.join(c[::-1])
return base
df = pd.DataFrame([
(len(get_base(3)(x)), len(get_base(4, '_')(x)))
for x in range(10000)
], columns=['Smaller Base', 'Bigger Base'])
df.plot(logx=True)
Ok, so from 10^0 to 10^2 it flip-flops from "green is bigger" to "they're tied", and from 10^2 to 10^4 it flip-flops from "they're tied" and "blue is bigger".
Hey guys, long time no see! I writing my first ever 'thesis' - I guess that is what it's called in English - it's rather exciting. It would be great if someone could give me some feedback on my "abstract" part. I tried my uttermost to keep it short and precise.
I'm trying to decide whether it's permissible to use "cooperation" in the final sentence to refer to the "cooperative" in the first sentence. Their noundefinitions are nearly identical, but I don't know whether they're synonymous in a business setting
So since 0xFFFF has that prefix of character length 2, we add a penalty of 2. Then we are looking for when log_10(x) - log_16(x) > 3 and solve for x. If you want to capture the complete dominance point, you find where it is greater than 4 and step back one digit
@piRSquared There's little chance that one of the later problems would just be a souped-up version of an earlier one -- people post "Upping the Ante" implementations on Reddit that anyone could just copy and re-use if a tougher variant of a problem were to be released later
@smci just saw your comment here from 4 months ago. If you wanted to @mention me, a comment under Jim's answer was not the right place to do so (I didn't even get a ping about it).