hi
Hello, I joined because I found this forum while searching for hints for past Lenny Conundrums, as I am trying to retroactively solve the ones that don't have a solution key provided. Unfortunately, the older ones don't have much in the way of discussion going.
Is there something I'm missing about Round 64 that wouldn't make it much easier than the brute force method? I can't think of how to do it besides to make every possible solution and count the primes. [No, I can't program to save my life... I can't even think of what program I could use to work this out.]
This is the problem, for those not on Neopets:
Quote:Imiya was asleep.. and having one of those horrible Maths dreams again
Uggh...
This dream however took a turn for the worse... she saw ten Babaas in front of her. Painted onto the side of each Babaa was a different number, or a symbol, as follows :
1 3 5 7 9 * + - / =
Imiya groaned... she knew something horrible was about to happen... then the Babaas spoke. 'If you baaaa arrange us in a maaaah line, we will baaaaa form a sum...'
Your question is : How many different prime numbers can be formed as a result of these sums? (assume you can use brackets freely)
For instance 9 + 1 - 3 = 7 (thats a prime number)
and 9 + 7 - 5 = 11, which is also a prime number
Answer: 25
I've worked through maybe a tenth of the total possible combinations so far* and found twelve primes, but I'm not looking forward to finishing the rest [though it would be gratifying if I found ones they missed!].
*assuming I must use all the symbols for every combination, and assuming all functions are performed immediately from left to right, so brackets are irrelevant
So... what am I doing wrong, besides doing it the hard way?
Thanks