Math Is Fun Forum

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

You are not logged in.

#26 2014-09-23 22:34:42

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

Re: Please tell me

What are the circumstances? What is he trying to do? Why can he not get his CAS working? Please give details...


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

#27 2014-09-23 22:38:40

Agnishom
Real Member
From: Riemann Sphere
Registered: 2011-01-29
Posts: 24,996
Website

Re: Please tell me

1. He was sitting in a computer center with many computers.

2. He was trying to get the coefficient of x^99 in (x+1)(x+2)(x+3)...(x+100). But he has already asked that.

3. There was no CAS in the computer center.


'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
I'm not crazy, my mother had me tested.

Offline

#28 2014-09-23 22:46:58

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

Re: Please tell me

He could have tried Alpha?!


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

#29 2014-09-23 22:57:23

Agnishom
Real Member
From: Riemann Sphere
Registered: 2011-01-29
Posts: 24,996
Website

Re: Please tell me

Alpha was not working because JS was disabled over there and when he enabled it, malwares and Ads started eating him up.


'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
I'm not crazy, my mother had me tested.

Offline

#30 2014-09-23 23:03:07

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

Re: Please tell me

Then he must solve it by other means.


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

#31 2014-09-23 23:07:18

Agnishom
Real Member
From: Riemann Sphere
Registered: 2011-01-29
Posts: 24,996
Website

Re: Please tell me

Yes, he did.


'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
I'm not crazy, my mother had me tested.

Offline

#32 2014-09-24 01:03:34

Bob
Administrator
Registered: 2010-06-20
Posts: 10,618

Re: Please tell me

If you are going to compete over the speed of your code in producing an answer, you should, in fairness, add on the time it took to type the code.  I did the problem in my head in about 5 seconds.  I submit that is quicker.  smile

And the OP didn't ask for quick code; he asked for confirmation that his answer was correct.  And it wasn't posted in the coder's corner.

I further submit that the human brain is always superior, as coding can not be done without it. 

Bob


Children are not defined by school ...........The Fonz
You cannot teach a man anything;  you can only help him find it within himself..........Galileo Galilei
Sometimes I deliberately make mistakes, just to test you!  …………….Bob smile

Offline

#33 2014-09-24 01:16:50

Agnishom
Real Member
From: Riemann Sphere
Registered: 2011-01-29
Posts: 24,996
Website

Re: Please tell me

Please teach me how to do this in 5 seconds?


'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
I'm not crazy, my mother had me tested.

Offline

#34 2014-09-24 01:48:08

Bob
Administrator
Registered: 2010-06-20
Posts: 10,618

Re: Please tell me

hi Agnishom,

I cannot guarantee that everyone will take just 5 seconds.  This is about how long it took me.  smile

To get x^99, you need to multiply one x from each of 99 brackets, and a number from the other bracket.  This diagram shows how you might do one such multiplication, where the  i th bracket is the one which supplies the number.

goIDYJQ.gif

which will give i.x^99

There are exactly one hundred choices for this special bracket, so the coefficient is found by adding all the possible values of i :1 + 2 + 3 +  ... + i +   ...  + 100. 
You can either use the formula for this or do :

(1+100) + (2 + 99) + (3 + 98) + ........ + (50 + 51) = 101 x 50 = 5050.

Bob

Last edited by Bob (2014-09-24 01:52:50)


Children are not defined by school ...........The Fonz
You cannot teach a man anything;  you can only help him find it within himself..........Galileo Galilei
Sometimes I deliberately make mistakes, just to test you!  …………….Bob smile

Offline

#35 2014-09-24 01:57:34

Agnishom
Real Member
From: Riemann Sphere
Registered: 2011-01-29
Posts: 24,996
Website

Re: Please tell me

Hi bob;

If you're have some time to spare please sign up at brilliant.org and look at this solution.


'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
I'm not crazy, my mother had me tested.

Offline

#36 2014-09-24 02:10:01

Agnishom
Real Member
From: Riemann Sphere
Registered: 2011-01-29
Posts: 24,996
Website

Re: Please tell me

Never mind.

We have done it the same way. It took much more than 5 seconds though. sad


'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
I'm not crazy, my mother had me tested.

Offline

#37 2014-09-24 02:37:26

Bob
Administrator
Registered: 2010-06-20
Posts: 10,618

Re: Please tell me

hi Agnishom,

Combinatorics is a new field to me so I looked it up on Wiki.  They give binary trees as an example so how about this:

nDIb9dS.gif

The diagram shows the first three lines of a binary tree.  The i th line has branches that show 'x' if you go left and 'i' if you go right.  You negotiate the tree by starting at the top and deciding whether to go left (x) or right (1).  Then you have to decide which way to go at the second decision point, left (x) or right (2).  And so on.  The full tree has 100 lines so the last decisions are between left (x) and right (100). 

Let's say you score zero for each x, and the number otherwise.  You go down the tree choosing left 99 times and right just once  There are 100 different ways you can do this.  What is the total score if you add up all these individual scores.

It's now the same as my brackets;  1 + 2 + 3 + ... + i + ... + 100

Any use ?

Bob


Children are not defined by school ...........The Fonz
You cannot teach a man anything;  you can only help him find it within himself..........Galileo Galilei
Sometimes I deliberately make mistakes, just to test you!  …………….Bob smile

Offline

#38 2014-09-24 02:56:39

Agnishom
Real Member
From: Riemann Sphere
Registered: 2011-01-29
Posts: 24,996
Website

Re: Please tell me

Look this up the wiki? How?

https://brilliant.org/community-problem … lOy0moidHR

There is a button saying 'Reveal 2 solutions'. Please click it


'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
I'm not crazy, my mother had me tested.

Offline

#39 2014-09-24 05:01:10

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

Re: Please tell me

Why not do it using the methods of EM?


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

#40 2014-09-24 05:03:55

Agnishom
Real Member
From: Riemann Sphere
Registered: 2011-01-29
Posts: 24,996
Website

Re: Please tell me

How do I do that?


'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
I'm not crazy, my mother had me tested.

Offline

#41 2014-09-24 05:14:26

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

Re: Please tell me

The human mind is a pattern spotter. That is really all it is good for. It is so good at it, it can spot a pattern when one does not even exist.

How do I do that?

Hmmm you surely must have heard of top - down design?! Or do you need some help with that?


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

#42 2014-09-24 05:20:39

Agnishom
Real Member
From: Riemann Sphere
Registered: 2011-01-29
Posts: 24,996
Website

Re: Please tell me

I see.

The problem has been solved anyway.


'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
I'm not crazy, my mother had me tested.

Offline

#43 2014-09-24 05:25:40

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

Re: Please tell me

Yes, it has been solved but do you know what I mean?


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

#44 2014-09-24 05:27:44

Agnishom
Real Member
From: Riemann Sphere
Registered: 2011-01-29
Posts: 24,996
Website

Re: Please tell me

Yes, you want me to do it with two terms, then three terms, then four and then make a pattern of it.


'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
I'm not crazy, my mother had me tested.

Offline

#45 2014-09-24 05:33:08

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

Re: Please tell me

That is almost correct, make you sure you multiply intelligently.


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

#46 2014-09-24 05:37:52

Agnishom
Real Member
From: Riemann Sphere
Registered: 2011-01-29
Posts: 24,996
Website

Re: Please tell me

Intelligent multiplication?


'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
I'm not crazy, my mother had me tested.

Offline

#47 2014-09-24 05:41:12

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

Re: Please tell me

Only multiplying up to the terms you need.


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

Board footer

Powered by FluxBB