You are not logged in.
Skippy the kangaroo is standing 7 meters away from his feeder bowl and wants to reach it. It can jump one or more jumps ahead and each jump can be of one or two meters long, and also one jump backwards, which is one meter long. Skippy can reach its bowl by a sequence of one or more jumps ahead and only one jump backwards, but not the first one. In how many different ways can Skippy reach its bowl (consider the bowl as a point without dimensions and also that it must arrive exactly at the edge of the bowl without bypassing it - as if it is placed in front of a wall)?
Last edited by anna_gg (2016-02-11 07:47:02)
Offline
Hi;
Do you mean in the sequence of jumps forward he must take 1 and only 1 backward jump?
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
Right, and this cannot be the first jump (i.e. Skippy cannot start by jumping backwards). I also did a correction in the wording, to explain that it cannot jump past to the bowl and then return with a backward jump; it must arrive exactly to the bowl with a forward jump (the last one).
Last edited by anna_gg (2016-02-11 07:50:13)
Offline
So, if he has travelled 6 meters meaning he is 1 meter from the bowl he can not jump 2 meters forward?
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, that is implied in the last sentence. Also, the very first jump must be forwards
Offline
Hi;
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 Anna;
Last edited by phrontister (2016-02-11 20:52:11)
"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
Why did you change your mind? I also got 167.
Sorry, change of mind.
Offline
Hi;
Last edited by phrontister (2017-02-26 22:08:55)
"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
Thanks for the M code, I did it another way and had some extra answers.
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
How did you do it? Do you think all your answers are valid?
"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
I scratched the code because I knew some of the answers were wrong!
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.
Anna got the same answer as mine and Nehushtan's first answer.
"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
I did not doubt that 167 was correct. I just knew 180 was not.
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
I will have to agree on 167.
Last edited by anonimnystefy (2016-02-12 15:36:25)
Here lies the reader who will never open this book. He is forever dead.
Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.
Offline
I like Nehushtan's logic, but he left something out in both answers and included something in the first that gave the correct answer there.
"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
A's code is nice though.
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 very tight, stefy! Not that I understand it...too advanced for me.
I had tried to tighten mine because of all the repeats, but couldn't see how.
"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
But you used the same idea...
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
A's code is nice though.
What do you mean?
"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
Did you mean "A" for stefy? I thought you meant Anna.
"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
Gotta have some lunch...catch you later.
"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
I meant anonimnystefy's code. You both used partitions.
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