605
   

NeoPets Riddles (Lenny Conundrums) and Answers Here

 
 
monokuRoBoo
 
  1  
Reply Wed 5 Sep, 2007 03:31 pm
I remember base numbers are also like a way to oount, like, base ten would be 1 2 3 4 5 6 7 8 9 10, while base 2 would be like 2 4 6 8 10, or something. We learned it in fifth grade. And I just remembered I'm actually in 7th grade xD
0 Replies
 
monokuRoBoo
 
  1  
Reply Wed 5 Sep, 2007 03:36 pm
Wait, base 2 wouldn't be 2 4 6 8 10...

It's hard o-o;;
0 Replies
 
xdogdiggydog
 
  1  
Reply Wed 5 Sep, 2007 03:37 pm
base definition
base-A number that is multiplied by itself as many times as indicated by an exponent. definition by http://www.atis.org/tg2k/_base.html
0 Replies
 
monokuRoBoo
 
  1  
Reply Wed 5 Sep, 2007 03:39 pm
But a base number is also a way to count, for example:

http://score.kings.k12.ca.us/lessons/ch.colors/base.htm
0 Replies
 
likesachallenge
 
  1  
Reply Wed 5 Sep, 2007 03:40 pm
base numbers
In base four, each digit in a number represents the number of copies of that power of four. That is, the first digit tells you how many ones you have; the second tells you how many fours you have; the third tells you how many sixteens (four-times-fours) you have; the fourth tells you how many sixty-fours (four-times-four-times-fours) you have; and so on. The methodology for conversion between decimal and base-four numbers is just like that for decimals and binaries, except that binary digits can be only "0" or "1", while the digits for base-four numbers can be "0", "1", "2", or "3". (As you might expect, there is no single solitary digit in base-four math that represents the quantity "four".)
0 Replies
 
podogo
 
  1  
Reply Wed 5 Sep, 2007 03:47 pm
0.upto(9) do |m|
0.upto(9) do |e|
0.upto(9) do |p|
if(((p + e*5 + e*25 + m*125) + (p + e*7 + e*49 +m*343)) == (p + e*8 + e*64 + m*512))
puts m.to_s + e.to_s + e.to_s + p.to_s
end
end
end
end

it's a ruby program and the answers I got were 1332 and 2664 and 3996

I got 3 different answers they all work
0 Replies
 
monokuRoBoo
 
  1  
Reply Wed 5 Sep, 2007 03:48 pm
But can there be 3 answers? what if there's only one number o-o;;

Do you think TNT would hint that there could be one number?
0 Replies
 
monokuRoBoo
 
  1  
Reply Wed 5 Sep, 2007 03:49 pm
Wait, I just noticed something about your answer xD

1332 times 2 equals 2664

1332 times 3 equals 3996
0 Replies
 
podogo
 
  1  
Reply Wed 5 Sep, 2007 03:50 pm
I submitted 1332
0 Replies
 
monokuRoBoo
 
  1  
Reply Wed 5 Sep, 2007 03:50 pm
I'm going to wait a few minutes. Maybe thirty seconds. Or maybe now xD
0 Replies
 
monokuRoBoo
 
  1  
Reply Wed 5 Sep, 2007 03:51 pm
Does the program automatically check if it's correct?
0 Replies
 
MetricSuperstar
 
  1  
Reply Wed 5 Sep, 2007 03:52 pm
podogo wrote:
I submitted 1332


Well it's wrong. I don't know what sort of calculator you used. =/
0 Replies
 
monokuRoBoo
 
  1  
Reply Wed 5 Sep, 2007 03:53 pm
Darn it! You posted it was wrong right after I submitted it ;-;
0 Replies
 
podogo
 
  1  
Reply Wed 5 Sep, 2007 03:54 pm
monokuRoBoo wrote:
Does the program automatically check if it's correct?


It checks all palindromic 4 digit numbers and returns only the ones that are right
0 Replies
 
piccolabongo
 
  1  
Reply Wed 5 Sep, 2007 03:54 pm
I also posted 1332, it should be right....maybe...
0 Replies
 
monokuRoBoo
 
  1  
Reply Wed 5 Sep, 2007 03:55 pm
But does it check that if you multiply the base 5 by 1332 and 1332 by base 7 and 1332 by base 8? Because that's part of the question.

I've learned my lesson to be patient xD
0 Replies
 
podogo
 
  1  
Reply Wed 5 Sep, 2007 03:55 pm
MetricSuperstar wrote:
podogo wrote:
I submitted 1332


Well it's wrong. I don't know what sort of calculator you used. =/
\


How is it wrong?
0 Replies
 
podogo
 
  1  
Reply Wed 5 Sep, 2007 03:57 pm
monokuRoBoo wrote:
But does it check that if you multiply the base 5 by 1332 and 1332 by base 7 and 1332 by base 8? Because that's part of the question.

I've learned my lesson to be patient xD



The bases are hard coded

Code:(((p + e*5 + e*25 + m*125) + (p + e*7 + e*49 +m*343)) == (p + e*8 + e*64 + m*512))
0 Replies
 
monokuRoBoo
 
  1  
Reply Wed 5 Sep, 2007 03:58 pm
Ah, I see =)

Then it doesn't seem like you're wrong.
0 Replies
 
podogo
 
  1  
Reply Wed 5 Sep, 2007 03:59 pm
monokuRoBoo wrote:
Ah, I see =)

Then it doesn't seem like you're wrong.




Very Happy
0 Replies
 
 

Related Topics

Lenny Conundrum 464 - Question by jreneearias
Lenny Conundrum #463 - Discussion by barkie
Lenny Conundrum (wed) DECEMBER 8 2010 - Question by Joanneexoxo
answers - Question by qftcu1
Lenny Conundrum 354 - Discussion by hippiegirl101
lenny conundrum 4/16 - Question by punkd4life3
 
Copyright © 2025 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 4.26 seconds on 06/08/2025 at 02:47:40