|
A049982 is the number of arithmetic progressions of 2 or more positive integers, strictly increasing with sum n. When I stumbled on this sequence (and it's brothers and sisters, with various slightly different qualifications), I noticed a complete lack of any formulas or generating functions that help understand the sequence. So I did some amateur investigation on my own. I started by considering the number of arithmetic progressions of 2 positive integers, strictly increasing with sum n. By convention, I like to start with n=0, so this sequence is 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, ... which has generating function x3/(x3-x2-x+1) which I will rewrite as x3/(x3-x-x2+1) for reasons that will become clear later. The sum of an arithmetic progression of 3 positive integers is always three times its middle term, hence a multiple of 3. This sequence is 0, 0, 0, 0, 0, 1, 0, 0, 2, 0, 0, 3, 0, 0, 4, ... which has generating function x6/(x6-2x3+1), which I will write as x6/(x6-x3-x3+1) for reasons that will become clear later. The sum of an arithmetic progression of 4 positive integers follows a pattern that's a little harder to discern. But if I give you enough terms, I think you can start to pick up the rhythm: 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 2, 0, 1, 0, 2, 0, 2, 0, 2, 0, 2, 0, 3, 0, 2, 0, 3, 0, 3, 0, 3, 0, 3, 0, 4, 0, 3, ... This has generating function x10/(x10-x6-x4+1) As you can imagine, I kept going. As the going got tougher, I started inventing little tools to help, such as PuzzleGeneratingFunction.xls, an Excel spreadsheet that guesses the generating function for a given series. (. . . . . . maybe I'll write a page about that spreadsheet some day.) After a while, I had a little table that shows the
Now, maybe you can see why I wrote the terms for k=2 and k=3 in such a funny way. In general, the generating function for the sequence of the number of arithmetic progressions of k positive integers, strictly increasing with sum n is:
SummaryA049982 has generating function x3/(x3-x-x2+1) + x6/(x6-x3-x3+1) + x10/(x10-x6-x4+1) + ... which is the Internet References
Related pages in this website
|
|
The webmaster and author of the Math
Help site is Graeme McRae. |