Hacker News new | ask | show | jobs
by jeremyscanvic 10 days ago
This is a good opportunity to remind a fun property about decimal expansions (& expansions in other bases). One might intuitively think that real numbers have a unique decimal expansion but the fact that 1.000... = 0.999... disproves it. Still, it's not too difficult to show that every real number admits a unique decimal expansion _unless_ it has one that ends with a sequence of zeros or a sequence of nines. In that case it has exactly two decimal expansions. This shows that 1.000... = 0.999... is the only such quirk, all the other cases are basically the same, 232.128000... = 232.127999... for instance.
1 comments

Base Phi is a really interesting one because there are multiple ways to represent any number:

- "tens" place: 1.61803

- ones place: 1

- decimals place: 0.61803

So in base phi, you could write Phi as EITHER 10.0, or as 1.1 - they both add up to 1.61803!

Most interesting non integer base, I think.

> Most interesting non integer base, I think.

Why? The property you describe isn't special to phi in any way. Phi is defined by the equation 1/φ = φ - 1. (It's the positive root.) And therefore, in base φ, 0.1 is necessarily equal to 10 - 1, which means that 10 = 1 + 0.1, or 10 = 1.1.

But obviously this generalizes. You could take the positive root of 1/ψ = ψ - 3, which is 3.3027756377... , more than 3.

In that case, by definition, 10 = 3.1 in base ψ. But why is that interesting? And why is it more interesting if we change the 3 in the definition of our base to be another 1?