I'm looking for a number which is the same when you read it reverse like 101 or 878. I have to get all numbers from 10 to 1000. There are 99 numbers. {11,...,99,101,...,191,...,202,...,292,...,909,...999}
The first question I have is, how to say Mathematica "Hey Mathematica, I want you to give me these 99 numbers in a range from 10 to 1000"?
Now I have to build the sum of a triple out of these 99 numbers and look for the result, whether it is a palindrome or not. The triple have to contain 3 different numbers. For example {11,22,33} is a good one while {11,11,22} isn't.
And from all these triples, whose sum gives me the result I'm looking for, I have to build the products of each and look for the biggest result.
I know there are 941094 possible triples. I could do it manual but it would take weeks so my problem is to learn how to say Mathematica, how to calculate these things. And please do it as simple as possible and explain every step so I can understand everything.
I want to do it like following:
- get a list with all 99 numbers.
- get a permutationlist with triples out of these 99 numbers
- say Mathematica to take the sum of every triple, look for palindromes and make a new table
- delete duplicates in the list
- now find the highest product of the triple which satisfy the 3rd point
It would be very helpful, if you could advise me a good book to learn programming and such things especially in Mathematica (or maybe Python). I need some good books for Mathematica (or maybe Python) to learn such computations and how to say Mathematica what I want from it.