# Fun math problem

Page 2 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

400

#### OdiN

##### Banned
Originally posted by: KLin
Its obviously zero... Unless this is one of those stupid tricks

Since the elephant would eat every single ball by the time he got to the town, he wouldnt even have strength to go back for more balls, so him having 3000 balls is pointless... To get even 1 ball to the town he would need to carry 1001 at least /problem
But he can go part of the way, drop some bananas, go back, and pick up some more!!! I cheated though.
He never said he was going to be able to drop them off before his delivery point.

Who's to say that they are still there when he goes back to add to them/pick them up?

What if other shokoball starved elephants come by and take them all?

#### KLin

##### Lifer
Originally posted by: OdiN
Originally posted by: KLin
Its obviously zero... Unless this is one of those stupid tricks

Since the elephant would eat every single ball by the time he got to the town, he wouldnt even have strength to go back for more balls, so him having 3000 balls is pointless... To get even 1 ball to the town he would need to carry 1001 at least /problem
But he can go part of the way, drop some bananas, go back, and pick up some more!!! I cheated though.
1. He never said he was going to be able to drop them off before his delivery point.

2. Who's to say that they are still there when he goes back to add to them/pick them up?

3. What if other shokoball starved elephants come by and take them all?

1. Which means it's not prohibited.
2. Who cares?
3. Who cares?

#### ahurtt

##### Diamond Member
Originally posted by: TecHNooB
An elephant has to walk 1000km to the next town. He has to transport 3000 schokoballz. Each km he walks, he has to eat 1 schokoball. The maximum value of schokoballz he can take at once is 1000. What's the greatest number of schokoballz the elephant can bring to the next town?

Clarification:
He must eat one every km.
The plural of "schokoball" is spelled with an "s" at the end, not a "z." It's "schokoballs."

s-c-h-o-k-o-b-a-l-l-S

#### chuckywang

##### Lifer
Originally posted by: TecHNooB
An elephant has to walk 1000km to the next town. He has to transport 3000 schokoballz. Each km he walks, he has to eat 1 schokoball. The maximum value of schokoballz he can take at once is 1000. What's the greatest number of schokoballz the elephant can bring to the next town?

Clarification:
He must eat one every km.
The answer is 1000. I just want to put that out there before anybody else does. I'll explain later.

#### TecHNooB

##### Diamond Member
All wrong! Let the games continue.

#### sactoking

##### Diamond Member
I can prove at least 833.

Trip 1: Load 1000 widgets. Travel 333 km. Drop off 667 widgets at 'Point B'. 2000 widgets left at start, 667 widgets at Point B.
Trip 2: Load 1000 widgets. Travel 333 km. Drop off 667 widgets at Point B. 1000 widgets left at start and 1334 widgets at Point B.
Trip 3: Load 1000 widgets. Travel 333 km. Drop off 667 widgets at Point B. 0 widgets left at start and 2001 widgets at Point B.
Trip 4: Load 1000 widgets from Point B. Travel 500 km. Drop 500 widgets at 'Point C'. 1001 widgets left at Point B and 500 widgets at Point C.
Trip 5: Load 1000 widgets from Point B. Travel 500 km. Drop 500 widgets at Point C. 1 widget left at Point B and 1000 widgets at point C.
Trip 6: Load 1000 widgets from Point C. Travel 167 km. Drop 837 widgets at end.

Edited to up my number from 666 and correct the explanation.

#### newb111

##### Diamond Member
Originally posted by: sactoking
I can prove at least 666.

Trip 1: Load 1000 widgets. Travel 333 km. Drop off 667 widgets at 'Point B'. 2000 widgets left at start, 667 widgets at Point B.
Trip 2: Load 1000 widgets. Travel 333 km. Drop off 667 widgets at Point B. 1000 widgets left at start and 1334 widgets at Point B.
Trip 3: Load 1000 widgets. Travel 333 km. Drop off 667 widgets at Point B. 0 widgets left at start and 2001 widgets at Point B.
Trip 4: Load 1000 widgets from Point B. Travel 333 km. Drop 667 widgets at 'Point C'. 1001 widgets left at Point B and 667 widgets at Point C.
Trip 5: Load 1000 widgets from Point B. Travel 333 km. Drop 667 widgets at Point C. 1 widget left at Point B and 1334 widgets at point C.
Trip 6: Load 1000 widgets from Point C. Travel 334 km. Drop 666 widgets at end.
How does he get back to the start without any widgets to eat?

#### KMc

##### Golden Member
Seems like several ways to figure it, but the most I've been able to get all the way there is 500.

Leave start with final 1000, travel 250, now have 1750 total at 250 km mark.

Leave 250 mark with 1000, travel 250, leave 500, retrun to 250 mark.
Leave 250 mark with final 750, travel 250, now have 1000 total at 500 km mark.

Leave 500 mark with 1000, travel final 500 km and deposit 500 in town.

#### OdiN

##### Banned
Actually, when the Elephant comes back to the balls he's left in the middle of nowhere, he finds them gone, he is then eaten by a large grue.

#### Demon-Xanth

##### Lifer
1000

Take 1000 to the end, walk back, eat the other 2000

#### jjones

##### Lifer
Okay, clarify one thing. Does he have to eat his balls on the return trips?

#### Chronoshock

##### Diamond Member
The elephant takes 1000 balls with him
Every KM, he eats one and drops 2 on the ground. He does this for 333 KM. He drops the remaining ball at 333KM
He walks back, now there is 1 ball per KM for the first 333 KM (and one extra at 333KM)

He now takes 1000 balls with him.
For the first 333 KM he drops 1 ball and eats 1 ball so there are once again 2 balls on the ground. He picks up the extra ball at 333KM along the way and eats it to go to 445KM where he drops the last ball
The next 111 KM he drops 2 ball and eats 1 ball.
He walks back, now there is 1 ball per KM for the first 444 KM

He now takes the remaining 1000 balls
He walks the first 445KM eating all the balls on the ground.
For 555KM, he eats 1 ball from his stash.

He arrives at the town with 445 balls

#### OdiN

##### Banned
Originally posted by: Demon-Xanth
1000

Take 1000 to the end, walk back, eat the other 2000
Can't do that. Have to eat one each KM he walks.

#### TuxDave

##### Lifer
I ended up with 500.

1) Picks up 1000, goes 250km, drops off 500 and goes home empty when he arrives.
2) Picks up 1000, goes 250km, picks up another 250, goes 250km drops off 500, goes back 250, picks up 250, goes back home empty when he arrives.
3) Picks up 1000, goes 500km, picks up 500, goes 500km, delivers 500.

#### TecHNooB

##### Diamond Member
No right answers yet, keep trying!

#### TuxDave

##### Lifer
Originally posted by: sactoking
I can prove at least 833.

Trip 1: Load 1000 widgets. Travel 333 km. Drop off 667 widgets at 'Point B'. 2000 widgets left at start, 667 widgets at Point B.
Trip 2: Load 1000 widgets. Travel 333 km. Drop off 667 widgets at Point B. 1000 widgets left at start and 1334 widgets at Point B.
Trip 3: Load 1000 widgets. Travel 333 km. Drop off 667 widgets at Point B. 0 widgets left at start and 2001 widgets at Point B.
Trip 4: Load 1000 widgets from Point B. Travel 500 km. Drop 500 widgets at 'Point C'. 1001 widgets left at Point B and 500 widgets at Point C.
Trip 5: Load 1000 widgets from Point B. Travel 500 km. Drop 500 widgets at Point C. 1 widget left at Point B and 1000 widgets at point C.
Trip 6: Load 1000 widgets from Point C. Travel 167 km. Drop 837 widgets at end.

Edited to up my number from 666 and correct the explanation.
He needs to eat on his way back.

#### OdiN

##### Banned
Originally posted by: TecHNooB
No right answers yet, keep trying!
My answer is correct. Others probably as well.

If you want to post a real problem, go ahead. But there are too many holes in your existing one.

#### TecHNooB

##### Diamond Member
Originally posted by: OdiN
Originally posted by: TecHNooB
No right answers yet, keep trying!
My answer is correct. Others probably as well.

If you want to post a real problem, go ahead. But there are too many holes in your existing one.
Tell me about it, ill clear it up.

#### TuxDave

##### Lifer
Originally posted by: TecHNooB
No right answers yet, keep trying!
What??? You're killing me... I'm supposed to be working.

#### TecHNooB

##### Diamond Member
Originally posted by: TuxDave
Originally posted by: TecHNooB
No right answers yet, keep trying!
What??? You're killing me... I'm supposed to be working.
Me too Hahaha~