File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Meaningless Drivel and the fly likes Brain Teasers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Other » Meaningless Drivel
Bookmark "Brain Teasers" Watch "Brain Teasers" New topic
Author

Brain Teasers

Soumil Shah
Ranch Hand

Joined: Jul 13, 2009
Posts: 54
Can anyone discover the missing number?
37,10,82
29,11,42
96,15,87
42,?,15
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11350
    
  16

i can.


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

What woman could forget the unceasing friendship you and Nanda have shown us, dear Queen of Vraja? There is no way to repay you in this world, even with the wealth of Indra.


[Jess in Action][AskingGoodQuestions]
Vikas Kapoor
Ranch Hand

Joined: Aug 16, 2007
Posts: 1374
Queen of Vraja - Radha
Nanda - Father (Care taker)

Again you are referring Nanda so Queen of Vraj could be Yashoda.

And the other person involved is who-is-saying-this* . I think Vasudev, to show gratitude to Nanda.

You meant to give hint to the answer. I couldn't get you. but kudos to your interest into Indian Culture.





* What word should have been used instead of 'who-is-saying-this'. Narrator ? I I don't think so.
Vikas Kapoor
Ranch Hand

Joined: Aug 16, 2007
Posts: 1374
Or it is another brain teaser from you?
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10425
    
    8

Kuber is richer than anybody else. Indra's wealth pales in comparison.
You can try Kuber if you got sufficient credit.


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Soumil Shah
Ranch Hand

Joined: Jul 13, 2009
Posts: 54
So finally whats the missing number?
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10425
    
    8

[url=http://en.wikipedia.org/wiki/Phrases_from_The_Hitchhiker's_Guide_to_the_Galaxy#42_Puzzle]42[/url]

Ashwin Bangar
Greenhorn

Joined: Jul 02, 2009
Posts: 10
is it 21...?


SCJP 5
Now Moving for SCWCD and then for OCA & OCP
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11350
    
  16

6
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42030
    
  64
Perfect!


Ping & DNS - my free Android networking tools app
Soumil Shah
Ranch Hand

Joined: Jul 13, 2009
Posts: 54
fred rosenberger wrote:6

the number in the middle of each triple is the same as the digits of the number at either ends when added together.
e.g. 3+7=10=8+2
Soumil Shah
Ranch Hand

Joined: Jul 13, 2009
Posts: 54
Here is another one...
There are four 3-digits natural numbers; each of them equals the sum of the cubes of its digits. Three of them are :
153=1+125+27
370=27+343+0
407=64+0+343

What is the fourth one? It does not begin with 0, otherwise it isn't 3-digit number.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42030
    
  64
Soumil Shah wrote:the number in the middle of each triple is the same as the digits of the number at either ends when added together.

4+2 = 11 ?
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

Ulf Dittmer wrote:
Soumil Shah wrote:the number in the middle of each triple is the same as the digits of the number at either ends when added together.

4+2 = 11 ?


Maybe a bad transcription of a hand-written puzzle? Some people's 4's and 9's look alike.
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

Simon Peter went up, and drew the net to land full of great fishes, an hundred and fifty and three: and for all there were so many, yet was not the net broken.
Ryan McGuire
Ranch Hand

Joined: Feb 18, 2005
Posts: 1007
    
    3
Soumil Shah wrote:Here is another one...
There are four 3-digits natural numbers; each of them equals the sum of the cubes of its digits. Three of them are :
153=1+125+27
370=27+343+0
407=64+0+343

What is the fourth one? It does not begin with 0, otherwise it isn't 3-digit number.


Once you know that one of the numbers in the list ends with a 0, it's obvious (for large values of obvious) that that number plus 1 should be on the list.

371

Can you find any four digit numbers that have this property?

Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18570
    
    8

These kinds of question are much less interesting now that we have the internet. Ryan's question is answered here: http://mathworld.wolfram.com/NarcissisticNumber.html.
Soumil Shah
Ranch Hand

Joined: Jul 13, 2009
Posts: 54
Ulf Dittmer wrote:
Soumil Shah wrote:the number in the middle of each triple is the same as the digits of the number at either ends when added together.

4+2 = 11 ?

good catch... it should be 47...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Brain Teasers