Hacker News new | ask | show | jobs
by bluewin 461 days ago
I worked on this once after an argument with my boyfriend.

The original argument was "the ones digit has permanent pattern in 2^n {2,4,8,6,2...}.

We made a system to generate digits for powers of two, although eventually we just made one that can take arbitrary bases, and found that you can decompose digit frequency and find a variety of NMR like resonances that vary based on where you terminate data collection.

It was really fun and this makes me want to get back into this so I could check the properties of those resonances across bases and stopping points for data collection.

3 comments

> The original argument was "the ones digit has permanent pattern in 2^n {2,4,8,6,2...}.

Isn’t that obviously the case (for n >= 1 anyway)? If each successive power of two is just the previous number times two, then it would always have to follow that pattern.

Any integer >= 10 can be expressed as the sum of a multiple of 10 plus a single digit number, for example 32 = 30 + 2. So 32 * 2 can be written as 2 * (30 + 2). And since any integer ending in zero multiplied by any integer must also end in zero, you only need to look at the single digit part of the number to see that a pattern must immediately emerge for powers of two, or of any number for that matter.

> I worked on this once after an argument with my boyfriend.

Wow I love this relationship dynamic! you sound like very cool people

Followed by "... We made a system to generate digits for powers of two" ('we' not 'I')

That's awesome!

is this kind of argument normal for you two?

what.. what other arguments have you had?

i request highlight reel