Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Numbers and logic

 
Leslie Chaim
Ranch Hand
Posts: 336
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is a 4 digit number in which the sum of the 3rd and 4th digits equals the sum of the 1st and 2nd digits, the 2nd digit is half the 1st, and the 4th is half the 2nd? (the sum of all digits is 12.)
Who knows there maybe someone who would solve this mathematically :roll: :roll:
Cheers,
Leslie
 
Joel McNary
Bartender
Posts: 1840
Eclipse IDE Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Who knows there maybe someone who would solve this mathematically
That's me

[ September 23, 2003: Message edited by: Joel McNary ]
 
Dan Lastoria
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
a+b+c+d = 12
c+d = a+b
b = a/2
d = b/2
2a+2b=12
4b+2b=12
6b=12
b=2
2=a/2
a=4
d=2/2
d=1
2+4+1+c=12
c=5
4251
 
Dan Lastoria
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oops...didn't see the reply already. Your's is better than mine anyhow!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic