You are not logged in.
Hi phrontister;
The next time that should occur and you are stuck for the formula of the average of {1,2,3,...,n}. Just do this:
Sum[k,{k,1,n}] / n and Math will spit out (n+1)/2
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
So it did! Didn't know that. Ta.
"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson
Offline
Hi bobbym and phrontister,
Sorry for interrupting.
Bobbym,
Ya, I saw that. I actually meant how you solved using experimental math.
I too observed a pattern like:
And for the average, I found your way:
"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense" - Buddha?
"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."
Offline
Hi all;
Presently I trying to stuff my face with some soup which I will have make first. Please hold!
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Ok, sorry!
"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense" - Buddha?
"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."
Offline
Hi gAr;
Do not be. That soup was awful. Sorry for the delay.
Do you have an Integer relation command in Sage? Or a PSLQ?
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Hi bobbym,
That soup was awful.
Sorry to hear that!
I don't know about PSLQ, it may be available in sympy.
But why did you ask? Did you use it to solve the product?
"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense" - Buddha?
"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."
Offline
Yes, it is the cornerstone of experimental math. That is okay Mathematica does not have a PSLQ either, I had to write it. Maple has one.
We have spoken of Ramanujan. In a sense he is the author of the whole idea.
Here is what you do, using any package that you are comfortable with.
1) Form a table of a(1) to a(100) from that recurrence to 100 digits for each one.
2) Multiply all the entries. Call the value A.
1) Form a table of a(1) to a(200) from that recurrence to 100 digits for each one.
2) Multiply all the entries. Call the value B.
Compare A and B and keep the digits that are the same. Stop at the first digit that is not.
Post your answer here.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Oh, I see.
Doesn't that take a long time?
How can I use PSLQ? PSLQ's implemented in mpmath.
"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense" - Buddha?
"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."
Offline
Hi gAr;
Just product all the numbers. For example:
{1,2,3,4,5,6} = 1*2*3*4*5*6 = 720. You will have 100 of them to do and then 200. Your language should support some command that multiplies all the elements of an array or a vector. I think python does.
When you have the value we can go on to how to use a PSLQ.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Hi bobbym,
I'll check.
Thanks for introducing me to experimental math, looks interesting!
When posting the answer I thought you too solved the problem similar to the way I solved.
"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense" - Buddha?
"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."
Offline
I wished I had but the truth is I made some mistakes and could not get your idea to work. This is just going to show another way to get the answer you got but it is not as rigorous.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Okay.
I have enjoyed attempting all the questions you have posted. I'm curious to know how you imagine the questions so fast. Are the questions in your notebooks from the past?
"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense" - Buddha?
"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."
Offline
They almost always are problems that I am currently working on and have solved. If I am posting somewhere and I think the problem is interesting I will bring it over here.
I am proud to say that I have had Jane, mathsyperson, JimmyR, ElainaVW, phrontister, Fruityloop, Howard and yourself answer questions on this thread. It has been a real honor to watch how you all work.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
That's cool!
Yes, I too have seen their work, and they all have solved in amazing ways. I wish them to be back to the forum.
"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense" - Buddha?
"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."
Offline
Me too. People have other lives and get pulled apart over time.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Yes, I understand it.
I wish to have a career in mathematics, which doesn't include lecturing!
"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense" - Buddha?
"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."
Offline
Hi gAr;
What kind of math do you like most and why no lecturing?
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Hi bobbym,
I guess I like applied math, and may be computational math too. I like a job where there's less talking and more thinking.
"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense" - Buddha?
"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."
Offline
I like applied math and computational is my favorite. Teaching is not everyone's dream. I wish you all the success that you can get. If you want my opinion I believe you will achieve your goal.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Thank you for your good wish.
People give too much importance to the degree, and mine doesn't belong to mathematics.
Anyway, I too hope for the good. Just looking at mathematical symbols lightens up my mind
"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense" - Buddha?
"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."
Offline
Yes, my brother is like that. He is a much better than I am. Only he does not like forums at all so I cannot get him to post alot.
I agree about degrees but I am the only one. Mathematics is a beautiful study but I am not always happy with those who do it.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Oh, is it? I prefer written communication to oral, we can always read again if we don't understand at once. Asking people to repeat doesn't look so polite
And yes, some colleagues are an occupational hazard!
"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense" - Buddha?
"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."
Offline
And yes, some colleagues are an occupational hazard!
Agreed!
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Hi bobbym,
Looks like some powerful algorithms are implemented in mpmath.
Check these if you haven't already: http://mpmath.googlecode.com/svn/trunk/doc/build/identification.html
"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense" - Buddha?
"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."
Offline