Ok, math wizards--this is more fun than the Super Bowl, and it can be
programmed (mostly) in Lingo.
1. What's the next higher number that follows this pattern:
1^1 + 3^2 + 3^3 = 135
2. What's a number that fits this formula:
a^3 + b^3 + c^3 = x
where x is a 3-digit number xyz and
x^3 + y^3 +
1. What's the next higher number that follows this pattern:
1^1 + 3^2 + 3^3 = 135
That should have been:
1^1 + 3^2 + 5^3 = 135
This isn't recursive, or dot syntaxy, but it's brief (and I did it
quicker than I was expecting):
on sumthing
repeat with a = 1 to 1
v = string(a)
1^1 + 3^2 + 3^3 = 135
That should have been:
1^1 + 3^2 + 5^3 = 135
Oops--right. Sorry.
Oh, 175 was the answer to the question.
Very quick--the key was to recognize the pattern 1-3-5, which I misled you
on. I expected someone to come back with 1^1 + 3^2 + 5^3 + 7^4 or something
similar.
2. What's a number that fits this formula:
a^3 + b^3 + c^3 = x
where x is a 3-digit number xyz and
x^3 + y^3 + z^3 = abc.
Ok, this didn't turn out to be too hard either:
on cubit
repeat with a = 100 to 999
v = string(a)
t = 0
repeat with b = 1 to 3
t = t +
The second one is harder :-)
So you thought
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with
If any of the numbers are allowed to equal another number then there are
five answers
Yes--I carefully avoided saying that the integers couldn't repeat.
136,244 being the answer that Kerry may have had in mind.
Yep, that's it--but now what are we going to do during the Super Bowl tomorrow?