Discussion about math, puzzles, games and fun. Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ ¹ ² ³ °
 

You are not logged in. #401 20130401 11:26:49
Re: PSLQ and LLL?Can't you, please, post the code? The limit operator is just an excuse for doing something you know you can't. “It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman “Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment #402 20130401 11:29:26
Re: PSLQ and LLL?Okay, I am now pretty sure of it's accuracy: Code:maze[]:=Module[{box, L={0,0,0,0}}, firstmove=RandomInteger[{1,4}]; If[firstmove==1, box=1;L[[4]]=1]; If[firstmove==2, box=2;L[[4]]=2]; If[firstmove>2, box=3;L[[4]]=3]; Do[ move=RandomInteger[{1,2}]; If [box==1 && move==1,L[[1]]=1;Return[L]]; If [box==1 && move==2,box=2]; move=RandomInteger[{1,3}]; If [box==2 && move==1,box=1]; If [box==2 && move==2,L[[2]]=1;Return[L]]; If [box==2&& move==3,box=3]; move=RandomInteger[{1,3}]; If [box==3&& move==1,box=2]; If [box==3 && move>1,L[[3]]=1;Return[L]], {100}] ] ans =Table[maze[],{1000000}]; (Select[ans,#[[3]]==1 && Last[#]==1&]//Length)/(Select[ans,#[[3]]==1 &]//Length) 0.07703891543158152 In mathematics, you don't understand things. You just get used to them. I have the result, but I do not yet know how to get it. All physicists, and a good many quite respectable mathematicians are contemptuous about proof. #403 20130401 11:39:01
Re: PSLQ and LLL?Shouldn't you be checking if Last[#] is 1. That is where he enters. The limit operator is just an excuse for doing something you know you can't. “It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman “Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment #404 20130401 11:41:19
Re: PSLQ and LLL?The list L contains all that information. In mathematics, you don't understand things. You just get used to them. I have the result, but I do not yet know how to get it. All physicists, and a good many quite respectable mathematicians are contemptuous about proof. #405 20130401 11:45:10
Re: PSLQ and LLL?But, shouldn't you be checking if the third element is 1 and the fourth is 1? The limit operator is just an excuse for doing something you know you can't. “It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman “Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment #406 20130401 11:46:45
Re: PSLQ and LLL?L[[4]] has the room the rat entered in In mathematics, you don't understand things. You just get used to them. I have the result, but I do not yet know how to get it. All physicists, and a good many quite respectable mathematicians are contemptuous about proof. #407 20130401 11:51:40
Re: PSLQ and LLL?Then that means you are selecting the cases where the rat has entered in room 3 and left at room 1! The limit operator is just an excuse for doing something you know you can't. “It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman “Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment #408 20130401 11:57:00
Re: PSLQ and LLL?Yikes, that is correct. I told you not to rush me! I have adjusted the code. In mathematics, you don't understand things. You just get used to them. I have the result, but I do not yet know how to get it. All physicists, and a good many quite respectable mathematicians are contemptuous about proof. #409 20130401 11:58:19
Re: PSLQ and LLL?You need #[[3]]==1 in the second select as well. The limit operator is just an excuse for doing something you know you can't. “It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman “Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment #410 20130401 12:01:02
Re: PSLQ and LLL?Hi; In mathematics, you don't understand things. You just get used to them. I have the result, but I do not yet know how to get it. All physicists, and a good many quite respectable mathematicians are contemptuous about proof. #411 20130401 12:05:24
Re: PSLQ and LLL?Oh, I tought that was for c). The limit operator is just an excuse for doing something you know you can't. “It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman “Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment #412 20130401 12:06:25
Re: PSLQ and LLL?That is what I did it for:
In mathematics, you don't understand things. You just get used to them. I have the result, but I do not yet know how to get it. All physicists, and a good many quite respectable mathematicians are contemptuous about proof. #413 20130401 12:20:17
Re: PSLQ and LLL?Well, that probability is P(entered at 1 and left at 3)/P(left at 3). That means the second Select selects the cases when the rat left at three, i.e. when #[[3]]==1. The limit operator is just an excuse for doing something you know you can't. “It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman “Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment #414 20130401 12:27:53
Re: PSLQ and LLL?Hmmm, I think it should be In mathematics, you don't understand things. You just get used to them. I have the result, but I do not yet know how to get it. All physicists, and a good many quite respectable mathematicians are contemptuous about proof. #415 20130401 12:35:05
Re: PSLQ and LLL?That is not correct. That will give you the answer for a). The limit operator is just an excuse for doing something you know you can't. “It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman “Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment #416 20130401 12:45:10
Re: PSLQ and LLL?Hi; In mathematics, you don't understand things. You just get used to them. I have the result, but I do not yet know how to get it. All physicists, and a good many quite respectable mathematicians are contemptuous about proof. #417 20130401 12:48:22
Re: PSLQ and LLL?Yes, but that still answers a). The limit operator is just an excuse for doing something you know you can't. “It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman “Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment #418 20130401 12:51:39
Re: PSLQ and LLL?Maybe the answers are the same? Is there something wrong with what I did in post #416? In mathematics, you don't understand things. You just get used to them. I have the result, but I do not yet know how to get it. All physicists, and a good many quite respectable mathematicians are contemptuous about proof. #419 20130401 12:54:44
Re: PSLQ and LLL?Yes, there is. The limit operator is just an excuse for doing something you know you can't. “It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman “Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment #420 20130401 12:56:10#421 20130401 12:57:46
Re: PSLQ and LLL?And, do you agree that P(AB)=P(A and B)/P(B)? Last edited by anonimnystefy (20130401 12:58:24) The limit operator is just an excuse for doing something you know you can't. “It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman “Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment #422 20130401 12:59:52
Re: PSLQ and LLL?Yes, that is the definition. In mathematics, you don't understand things. You just get used to them. I have the result, but I do not yet know how to get it. All physicists, and a good many quite respectable mathematicians are contemptuous about proof. #423 20130401 13:01:36
Re: PSLQ and LLL?That means that P(entered at 1left at 3)=P(entered at 1 and left at 3)/P(left at 3). The limit operator is just an excuse for doing something you know you can't. “It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman “Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment #424 20130401 13:06:21
Re: PSLQ and LLL?Hmmmm, hard to argue with that one. By golly I think you are right. I did not look at it that way. In mathematics, you don't understand things. You just get used to them. I have the result, but I do not yet know how to get it. All physicists, and a good many quite respectable mathematicians are contemptuous about proof. #425 20130401 13:08:14
Re: PSLQ and LLL?Well, there you have it. What is the new result? The limit operator is just an excuse for doing something you know you can't. “It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman “Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment 