Looks something like 2^(n/2 -1) plus some lower order terms, for n even of course. Aargh.
― Help Me, Zond 4 (James Redd and the Blecchs), Saturday, 27 June 2015 14:03 (ten years ago)
Knew I shouldn't have changed my lucky screenname
― Help Me, Zond 4 (James Redd and the Blecchs), Saturday, 27 June 2015 14:38 (ten years ago)
flopson, why u braek weekend?
― Help Me, Zond 4 (James Redd and the Blecchs), Saturday, 27 June 2015 15:35 (ten years ago)
Okay I got far enough along on this that I am willing to either1) Ponder it a little longer or2) Read you official solution
― Help Me, Zond 4 (James Redd and the Blecchs), Saturday, 27 June 2015 15:49 (ten years ago)
k ill post solutions to both when i'm not on my phone
― flopson, Saturday, 27 June 2015 16:27 (ten years ago)
k thx.
One approach I seem to see
2^(n/2 -1) + n/2 C 4 + (n/2 C 6 ) * 3 + ...
― Help Me, Zond 4 (James Redd and the Blecchs), Saturday, 27 June 2015 17:15 (ten years ago)
can you explain
― flopson, Saturday, 27 June 2015 17:34 (ten years ago)
Sketch:
Let f(n) be the number of such paths for a given n.
For any n/2, always have solution +1 -1 + 1 -1 +1 -1 ....
One can also group the +1 -1s into pairs. In fact for any even k < n/2 one can choose choose a subset of k of the pairs and regroup into pairs of +1s and -1s and rearrange these groups so as to be solutions for k for the same problem ( you can divide by 2 or restate problem slightly ) This gives n/2 C k f(k) solutions.
General recursive formula is thenf(n) = n/2 C 0 * f(0) + n/2 C 2 * f(0) + ...
(continued in the next post)
― Help Me, Zond 4 (James Redd and the Blecchs), Saturday, 27 June 2015 18:02 (ten years ago)
Sorry, typof(n) = n/2 C 0 * f(0) + n/2 C 2 * f(2) + 2/2 C 4 * f(4)...
(continued in next post)
― Help Me, Zond 4 (James Redd and the Blecchs), Saturday, 27 June 2015 18:03 (ten years ago)
Examples
For n = 0 we say f(0) =1 (have to think about this)
For n =2 we have one path, namely +1 -1
For n= 4 we have +1 -1 + 1 - 1 or performing the "double up operation" +1 +1 -1 -1 so two paths.
Checking, f(4) ?= 2 C 0 * 1 + 2 C 2 * 1 = 2 check
(continuing)
― Help Me, Zond 4 (James Redd and the Blecchs), Saturday, 27 June 2015 18:08 (ten years ago)
f(6) = 3 C 0 * f(0) + 3 C 2 * f(2) = 1 + 3 *1 =4f(8) = 4 C 0 * f(0) + 4 C 2 * f(2) + 4 C 4 * f(4) = 1 + 6 + 2 = 9
(cont..)
― Help Me, Zond 4 (James Redd and the Blecchs), Saturday, 27 June 2015 18:13 (ten years ago)
So was looking like powers of two until that last one. Now we observe that
m C 0 + m C 2 + m C 4 + ... = 2 ^(m-1)
which gives the leading term of my answer.
Why is the above identity true? Way I just saw it was to take
(1+1)^m + (1-1)^m = 2^m, see that alternating terms of the expansion cancel, and divide.
This is where I ran out gas for now.
― Help Me, Zond 4 (James Redd and the Blecchs), Saturday, 27 June 2015 18:18 (ten years ago)
Typo^2 This should have been: f(n) = n/2 C 0 * f(0) + n/2 C 2 * f(2) + 2/2 C 4 * f(4)...
― Help Me, Zond 4 (James Redd and the Blecchs), Saturday, 27 June 2015 18:20 (ten years ago)
At this point I don't know if I should keep studying/manipulating this formula until I get a simpler formula, or see if I made an error in deriving it, or try a different approach altogether.
― Help Me, Zond 4 (James Redd and the Blecchs), Saturday, 27 June 2015 18:25 (ten years ago)
Think I did indeed make an error and overlooked some cases and undercounted. Will ponder a while longer.
― Help Me, Zond 4 (James Redd and the Blecchs), Saturday, 27 June 2015 23:04 (ten years ago)
Still tinkering can't quite get the precise adjustment to my lower bound. Sorry to break thread.
― Help Me, Zond 4 (James Redd and the Blecchs), Sunday, 28 June 2015 23:22 (ten years ago)
Okay, now think the recursion formula isf(n) = 2 f(n-2) + f (n-4) , n even
― Help Me, Zond 4 (James Redd and the Blecchs), Monday, 29 June 2015 00:03 (ten years ago)
Aargh, still missing a few
― Help Me, Zond 4 (James Redd and the Blecchs), Monday, 29 June 2015 00:15 (ten years ago)
Re-reading the circle question, I think I misunderstood it. The arbitrary point (a, b) must be given, otherwise it's too easy. I should have been suspicious that I made some headway on it so quickly.
― o. nate, Monday, 29 June 2015 02:19 (ten years ago)
Gave up and looked up this morning. Interesting. Hopefully can read more carefully tonight.
― Help Me, Zond 4 (James Redd and the Blecchs), Monday, 29 June 2015 16:32 (ten years ago)
this thread is hard to find
anyway, first bunch of results for the 'mustn't go below zero, must end at zero' question// 2 = 1// 4 = 2// 6 = 5// 8 = 14// 10 = 42// 12 = 132// 14 = 429// 16 = 1430// 18 = 4862
it's like a map
/\ /\/\ /\/\/\ /\/\/\/\ /\/\/\/\/\A -t-> B
how many routes from A to B without backtracking?
― koogs, Monday, 29 June 2015 20:43 (ten years ago)
f(n+1) = f(n) * (2 + (2(n - 1) / (n + 2))
which probably resolves down a lot
― koogs, Monday, 29 June 2015 21:08 (ten years ago)
(oh, i've numbered those 1 - n where they should be 2 - 2n as only the even numbers work)
― koogs, Monday, 29 June 2015 21:14 (ten years ago)
and f(1) = 1
― koogs, Monday, 29 June 2015 21:15 (ten years ago)
scale factors between values are2 + (0 / 3)2 + (2 / 4)2 + (4 / 5)2 + (6 / 6)2 + (8 / 7)2 + (10 / 8)2 + (12 / 9)2 + (14 / 10)etc
― koogs, Monday, 29 June 2015 21:20 (ten years ago)
Searching for "thr" in thread titles works well. Not necessarily so easy to remember, though.
― anatol_merklich, Monday, 29 June 2015 21:54 (ten years ago)
Glad someone is taking a more methodical approach than my inept scribbling. Must have heard this topic mentioned in passing decades ago but obviously I never studied it. Lots of stuff about it on the web, can post link to one nice write-up later if you want.
― Help Me, Zond 4 (James Redd and the Blecchs), Tuesday, 30 June 2015 00:19 (ten years ago)
i just search for "gromov" now
― the late great, Tuesday, 30 June 2015 00:26 (ten years ago)
This morning I was thinking about the simplified version of 2b where the sequence can't go negative but it doesn't have to end on zero, and I had the brainwave that the solution could be written as a recursive function, starting from n=1, and then defining f(n) in terms of f(n-1), since the path dependence means that at the solution at any value of n must build on the solutions at smaller values of n. However, I didn't get much beyond that. Nice to see koogs take it further. I really like the little map drawing.
― o. nate, Tuesday, 30 June 2015 02:00 (ten years ago)
Indeed.
― Help Me, Zond 4 (James Redd and the Blecchs), Tuesday, 30 June 2015 02:07 (ten years ago)
One can see that there has to be a lot of structure there but it is hard to know exactly what it is, or even to enumerate the first few values correctly unless one is very careful or writes a little program to generate them, which I presume is what koogs did. Anyway impressed that he forged so far ahead on his own.
― Help Me, Zond 4 (James Redd and the Blecchs), Tuesday, 30 June 2015 02:13 (ten years ago)
Oops, I was stumbling around related concepts on Wikipedia, starting from Fibonacci numbers and I stumbled on the answer. There is a name for the sequence of numbers that Koog started enumerating above, which apparently solve lots of combinatorics problems, including this one. Now I'm torn on whether I should read the proof, or keep thinking about it.
― o. nate, Tuesday, 30 June 2015 03:12 (ten years ago)
> writes a little program to generate them, which I presume is what koogs did
busted...
was a tiny recursive loop to generate all the possibilities and another method to validate them afterwards. inefficient but was surprisingly quick but i've since (read: in bed this morning) thought of a way of discarding invalid choices whilst creating them, thus cutting down a lot of the work. (although my first attempt got into an infinite loop and i had to kill it, having forgotten to save before running it)...
then it was just a case of trying to spot a pattern in the results. started by dividing the one by the previous, got lucky.
would like to see the proper answer - it feels so far like those calculus lessons where they get you to derive everything from first principles and then point out that it was just n * a^(n - 1) all along
― koogs, Tuesday, 30 June 2015 08:33 (ten years ago)
I would definitely read up on it. Isn't this how the learning process is supposed to work: you try to do it yourself first, you do some calculations, you look for some relationships, patterns and connections, you beat your head against the wall and then, unless you are very very smart, diligent and lucky, you throw in the towel and look at the literature. Then it makes much more sense: I knew there was a relation something like that, I knew I needed an extra gimmick I couldn't come up with in the time allotted
― Help Me, Zond 4 (James Redd and the Blecchs), Tuesday, 30 June 2015 11:04 (ten years ago)
Aka Dyck paths to watch out for
flopson to thread, to comment on our progress and assign new problems
― I Want My LLTV (James Redd and the Blecchs), Tuesday, 30 June 2015 23:11 (ten years ago)
flopson has given up on us
― I Want My LLTV (James Redd and the Blecchs), Wednesday, 1 July 2015 09:11 (ten years ago)
is a single step along a Dyck Path called a Dyck Move?
― koogs, Wednesday, 1 July 2015 10:04 (ten years ago)
Dunno.
Two things I was able to observe during my initial fumblings:
1) The number of paths that are strictly positive until they return to zero at 2n is the same as the number of paths that are nonnegative that return to zero at 2n-2.
2) The recurrence formula seems to depend on more than a handful of prior terms. As we now know, it depends on all of them.
Should have been able to use 1) to derive the recurrence relationship if I had thought about it long enough. I think somebody posted a similar sentiment a few posts ago.
― I Want My LLTV (James Redd and the Blecchs), Wednesday, 1 July 2015 10:37 (ten years ago)
Been resisting the temptation to say:flopson has gone off the net because of koogs
― I Want My LLTV (James Redd and the Blecchs), Wednesday, 1 July 2015 10:45 (ten years ago)
Do not peek if you are still calculating: http://www.math.ucla.edu/~pak/lectures/Cat/pakcat.htm
― How I Wrote Matchstick Men (James Redd and the Blecchs), Sunday, 5 July 2015 21:58 (ten years ago)
sorry i've been slacking on serving up with the answer, i'm trying to get a detail right and the friend who told me these riddles isn't responding. be back very soon with a fully satisfying proof
― flopson, Sunday, 5 July 2015 22:52 (ten years ago)
I liked this particular write-up: http://www.math.ku.edu/~jmartin/courses/math724-F13/count-dyck.pdf
― How I Wrote Matchstick Men (James Redd and the Blecchs), Sunday, 5 July 2015 23:12 (ten years ago)
oh hah! once you see the pun it all follows (well, 2b does). here is something that i think is not too terrible a hint. write "i get a dollar" as "(" (open paren) and "i give a dollar" as ")" (closed paren). now consider what "allowable" sequences look like syntactically in such a translation :-)
― got bent (mild cheezed off vibes) (s.clover), Sunday, 5 July 2015 23:42 (ten years ago)
my dad is asking for a good introductory group theory text. nothing too dry.
he is working on this, but i think he finds it dry:
http://www.amazon.com/gp/product/0521312493/
any suggestions?
― the late great, Monday, 13 July 2015 01:45 (ten years ago)
he specifically asked for group theory, so my sense is maybe some of the stuff in that book is over his head and he wants something a little more basic?
― the late great, Monday, 13 July 2015 01:48 (ten years ago)
Kind of an interesting article about the Navier-Stokes equations, which tormented me in my days as a Mechanical Engineering student:
https://www.quantamagazine.org/20150721-famous-fluid-equations-are-incomplete/
― o. nate, Thursday, 23 July 2015 02:30 (ten years ago)
still looking for a group theory book
― the late great, Thursday, 23 July 2015 02:40 (ten years ago)
Try Springer undergrad book by Armstrong.
(Xp)Interesting. Will read later hopefully
― Archaic Buster Poindexter, Live At The Apollo (James Redd and the Blecchs), Thursday, 23 July 2015 02:44 (ten years ago)
Μ. Α. Armstrong, Groups and Symmetry. His topology book seems to be pretty good as well.
― Archaic Buster Poindexter, Live At The Apollo (James Redd and the Blecchs), Thursday, 23 July 2015 03:04 (ten years ago)