dtm: (Default)
2025-09-01 05:11 pm
Entry tags:

A math thing I worked out

It's somehow been in the air in a few different math places I visit online what the sum of:

1 1 3 + 1 5 1 7 + 1 9 +

and

1214+1618+110+

are. Among other things, these series come up when working out the probability that with randomly chosen values for x and y in the range (0, 1) whether floor(x/y) is even or odd, or whether round(x/y) is even or odd.

Now, these are very well known series and the quite well-known answer to these are:

113+1517+19+=π41214+1618+110+=12ln(2)

The usual way that I've seen to solve the first of these (11/3+1/5+) involves showing somehow that it's the Taylor series for arctan(x) evaluated at x=1; this can be justified in detail or presented “out of thin air”. The usual way to solve the second of those involves rewriting it as:

12n=1(1)nn

and then working that out. For some reason these two series are approached completely separately as though the solution for one has absolutely nothing to do with the other, even though the series are obviously closely related. (I'll grant that the answers, at least for now, look completely unrelated)

Anyway, I stumbled on a way of looking at these series that makes it obvious how the two series above are related, and that as far as I can tell easily extends to the much more general case of:

n = 0 ( 1 ) n h n + k , h + , k { 1 , 2 , . . . , h } More math than you probably wanted to read today )
dtm: (Default)
2024-09-26 03:06 pm
Entry tags:

Hey! It's an account I still have

So I guess I'm going to try things here again, now that cohost is shutting down.

I'm not sure I will use it for much, but I do think I'll probably soon be archiving and/or hiding most entries older than about 10 years, mostly because my kid doesn't need to be able to find those entries, and if he somehow wants them he can ask me about them.

Anyway though, for a first entry, here's something I'm pulling over from cohost:


A puzzle I made


So, I made a puzzle as a bit of a tribute to my dad. I have verified that solving the puzzle is possible in the sense that "if you know what went into constructing this but not the answer, it is possible to derive the answer" but of course that's no guarantee that people who are not me will naturally look at it and say "ah, these are the tools I need to wield to attack this".

Solving the puzzle requires Math, but getting to where you can figure out which Math to use first requires reading x86 assembly language. So first of, if either of those things strikes you as Intensely Not Fun, this isn't for you.

Hard-mode puzzle, and link to slightly less-hard-mode )
Why this puzzle )