For Neopets ONLY discussion.
Topic locked

Lenny Conundrum 228

Thu Aug 23, 2007 6:05 am

The Altadorian Archives are the repository of all Altadorian knowledge, science, and history. Thousands of books and scrolls populate its shelves. Amongst these books is the huge, multi-volume Encyclopedia Altadoria, volumes 1 through 9950.

Image

The archivist misplaced his shopping list inside one of the books. He has a handy way to remember which volume he placed it in, though. The volume number was a four-digit number, in which all four digits were unique. If you take the largest possible four-digit number that can be made by rearranging the four digits, and you subtract from that the smallest possible four-digit number that can be made by rearranging the four digits, the number you get is volume number, but with the digits in reverse order.

In what volume of the Encyclopedia Altadoria did he leave his shopping list?


Just use a program to crack the code.

There's no zeros in the number though. Thus, the 'smallest possible four-digit number' is simply the reversed order of the 'largest...'

Re: Lenny Conundrum 228

Thu Aug 23, 2007 7:19 pm

Why use a program to figure it out? Any old calculator will do just as well

Re: Lenny Conundrum 228

Fri Aug 24, 2007 5:26 am

arogance1 wrote:Why use a program to figure it out? Any old calculator will do just as well


Well, main reason is that, with the way the question's phrased... I don't really need to think too much if I use a program, and it involves a lot less repetition (which is prone to error).

Re: Lenny Conundrum 228

Fri Aug 24, 2007 12:18 pm

Jerch wrote:
arogance1 wrote:Why use a program to figure it out? Any old calculator will do just as well


Well, main reason is that, with the way the question's phrased... I don't really need to think too much if I use a program, and it involves a lot less repetition (which is prone to error).


Repetition is not prone to error prone to error prone to errror
Topic locked