News for hackers. Stuff that matters.
Re:Mathematicians find a new class of digitally delicate primes by lupire on Thursday April 01, 2021 @06:42PM (#26667172)
Every base is base 10.
Re:Mathematicians find a new class of digitally delicate primes by gkop on Friday April 02, 2021 @01:48AM (#26669283)
Saving other non-math people like me a web search explaining this: https://blogs.scientificamerican.com/roots-of-unity/the-funn...
Re:Mathematicians find a new class of digitally delicate primes by HoverSausage on Friday April 02, 2021 @06:28AM (#26670327)
I actually ran into this once not as a joke. I was using some software which had an option that would change the default base it used for all numbers. After typing <command> 16 and fiddling about in hexadecimal I tried switching back to decimal using <command> 10, yet I was still in hex mode. It took me a few more seconds than it should for me to realise what had happened.
Re:Mathematicians find a new class of digitally delicate primes by rfurmani on Sunday April 04, 2021 @03:32AM (#26687584)
It must be the command-line calculator bc
Re:Mathematicians find a new class of digitally delicate primes by HoverSausage on Sunday April 04, 2021 @09:31AM (#26689252)
That's possible, it was a long time ago and I can't remember for sure
Re:Mathematicians find a new class of digitally delicate primes by bckr on Thursday April 01, 2021 @08:13PM (#26667848)
But every base is not described in the base most commonly written for human reading as "base 10"
Re:Mathematicians find a new class of digitally delicate primes by kazinator on Sunday April 04, 2021 @11:52AM (#26690444)
Every base is base "one zero"; not every base is base "ten".
Re:Mathematicians find a new class of digitally delicate primes by ScottBurson on Saturday April 03, 2021 @08:51PM (#26686056)
Except in Common Lisp, where every base is base 10, but only one base is base 10. .
Re:Mathematicians find a new class of digitally delicate primes by RHSeeger on Thursday April 01, 2021 @08:13PM (#26667846)
I laughed at that a lot more than I should have. After a long day, thank you for that.
Re:Mathematicians find a new class of digitally delicate primes by wahern on Thursday April 01, 2021 @09:06PM (#26668171)
Re:Mathematicians find a new class of digitally delicate primes by p1mrx on Friday April 02, 2021 @06:13AM (#26670278)
The origin was probably thousands of years ago; it's a basic property of positional number systems.
Re:Mathematicians find a new class of digitally delicate primes by rizpanjwani on Friday April 02, 2021 @07:12AM (#26670501)
nice detail on the alien having 4 digits.
Re:Mathematicians find a new class of digitally delicate primes by mostlylurks on Friday April 02, 2021 @03:16AM (#26669588)
Except for base 1.
Re:Mathematicians find a new class of digitally delicate primes by vletal on Friday April 02, 2021 @06:32AM (#26670334)
Nice corner case. It's pretty much useless, it would contain just a single value. Is it even valid base?
Re:Mathematicians find a new class of digitally delicate primes by taneliv on Friday April 02, 2021 @07:21AM (#26670539)
Re:Mathematicians find a new class of digitally delicate primes by mostlylurks on Friday April 02, 2021 @09:11AM (#26671130)
It can actually represent all integers just fine. It works like any other base, except whereas for example in base 10, positions are multiplied by 10^0 = 1, 10^1 = 10, 10^2 = 100 and so on, in base 1 they are multiplied by 1^0 = 1, 1^1 = 1, 1^2 = 1, and so on. The result is that each digit adds 1 to the number, like tally marks. So we have, for example

111 = 3

11 = 2

1 = 1

= 0

-1 = -1

-11 = -2

-111 = -3

Re:Mathematicians find a new class of digitally delicate primes by vletal on Monday April 05, 2021 @01:29PM (#26701893)
That is wierd. Base k includes numbers 0,...,k-1. For example 101 is a valid number in base 2 which is 2^2 + 2^1.

Using that logic, base 1 would only contain 0, hence it should not be able to expresss more values that 0.

Is your example actually a valid base 1?

Re:Mathematicians find a new class of digitally delicate primes by sunstone on Friday April 02, 2021 @01:25PM (#26673587)
All your base are belong to us.