Math Is Fun Forum

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

You are not logged in.

#701 2011-03-16 21:27:16

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: What do you think?

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

#702 2011-03-16 21:31:55

phrontister
Real Member
From: The Land of Tomorrow
Registered: 2009-07-12
Posts: 4,877

Re: What do you think?

So it did! smile 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

#703 2011-03-16 21:38:19

gAr
Member
Registered: 2011-01-09
Posts: 3,482

Re: What do you think?

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:


where P_k is the product to k terms, and n_1, n_2 ...  are the numerators of a_1, a_2 ...

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

#704 2011-03-16 21:47:36

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: What do you think?

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

#705 2011-03-16 21:53:44

gAr
Member
Registered: 2011-01-09
Posts: 3,482

Re: What do you think?

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

#706 2011-03-16 22:48:08

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: What do you think?

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

#707 2011-03-16 23:02:36

gAr
Member
Registered: 2011-01-09
Posts: 3,482

Re: What do you think?

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

#708 2011-03-16 23:18:38

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: What do you think?

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

#709 2011-03-16 23:34:17

gAr
Member
Registered: 2011-01-09
Posts: 3,482

Re: What do you think?

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

#710 2011-03-16 23:43:38

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: What do you think?

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

#711 2011-03-16 23:54:29

gAr
Member
Registered: 2011-01-09
Posts: 3,482

Re: What do you think?

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

#712 2011-03-17 00:01:57

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: What do you think?

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

#713 2011-03-17 00:09:59

gAr
Member
Registered: 2011-01-09
Posts: 3,482

Re: What do you think?

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

#714 2011-03-17 00:23:28

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: What do you think?

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

#715 2011-03-17 00:36:00

gAr
Member
Registered: 2011-01-09
Posts: 3,482

Re: What do you think?

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

#716 2011-03-17 00:43:42

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: What do you think?

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

#717 2011-03-17 00:53:15

gAr
Member
Registered: 2011-01-09
Posts: 3,482

Re: What do you think?

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

#718 2011-03-17 00:55:31

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: What do you think?

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

#719 2011-03-17 01:03:25

gAr
Member
Registered: 2011-01-09
Posts: 3,482

Re: What do you think?

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

#720 2011-03-17 01:09:02

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: What do you think?

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

#721 2011-03-17 01:20:52

gAr
Member
Registered: 2011-01-09
Posts: 3,482

Re: What do you think?

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 wink


"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

#722 2011-03-17 01:28:18

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: What do you think?

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

#723 2011-03-17 01:38:41

gAr
Member
Registered: 2011-01-09
Posts: 3,482

Re: What do you think?

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 smile

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

#724 2011-03-17 01:44:38

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: What do you think?

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

#725 2011-03-17 03:23:55

gAr
Member
Registered: 2011-01-09
Posts: 3,482

Re: What do you think?

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

Board footer

Powered by FluxBB