+ 15

Quizz time VII 10 digit integer

I have 10 digit integer then i multiply it with 1 digit integer the result is 10 digit integer but in reversed order. Question What is my number? You can use any tool or any programming language. (so far i get 2 answer i think i'll get the third)

8th Apr 2017, 2:21 AM
Agus Mei
Agus Mei - avatar
33 Respuestas
+ 17
1089001089 * 9 = 9801009801 1098910989 * 9 = 9890198901 1099999989 * 9 = 9899999901
8th Apr 2017, 4:16 AM
Jafca
Jafca - avatar
+ 14
There are quite a number of answers, with two conditions. The number is a palindrome, and the 1 digit integer is 1. E.g. 1234554321 * 1 = 1234554321 2143553412 * 1 = 2143553412 and so on. If you exclude these answers, I'll need a desktop compiler. Currently out on the streets.
8th Apr 2017, 2:36 AM
Hatsy Rei
Hatsy Rei - avatar
+ 13
8th Apr 2017, 4:00 AM
Jafca
Jafca - avatar
+ 13
I used a calculator to check they were correct... P.S. I wouldn't bother running my code. It takes forever and ever
8th Apr 2017, 4:50 AM
Jafca
Jafca - avatar
+ 11
I actually made this little something too. But I can't run it on desktop yet for some very, stupid, reasons. https://code.sololearn.com/cnOea3y2Dk7c/?ref=app
8th Apr 2017, 3:56 AM
Hatsy Rei
Hatsy Rei - avatar
+ 11
I've found 3 solutions so far... Anyone know how many there are?
8th Apr 2017, 3:57 AM
Jafca
Jafca - avatar
+ 11
@Krishna It might be more efficient to go from 1000000000 to 5000000000? Because multiplying over the latter limit would cause resultant integer to exceed 10 digit. This will save you 5000000000 iterations.
8th Apr 2017, 4:00 AM
Hatsy Rei
Hatsy Rei - avatar
+ 11
Yes Sir 😃😃😃
8th Apr 2017, 3:17 PM
Agus Mei
Agus Mei - avatar
+ 10
Sorry @Hatsy Rei, palindrome is not reversed. the first digit and the last digit of the number must be different. lets see who first @Hatsy or @Krishna Sir or the other genius here on Sololearn.
8th Apr 2017, 2:48 AM
Agus Mei
Agus Mei - avatar
+ 10
@Agus Mei How many solutions are there?
8th Apr 2017, 3:55 AM
Jafca
Jafca - avatar
+ 10
@Jafca I found three. and i can't reach my laptop too now. if any body has find the answer, post it so i can mark as best answer.
8th Apr 2017, 4:12 AM
Agus Mei
Agus Mei - avatar
+ 10
just for note i can't check your code now because codeplayground show memory limit. maybe later at night if i can reach my laptop.
8th Apr 2017, 4:48 AM
Agus Mei
Agus Mei - avatar
+ 10
@Erangga nice try i think you miss the rule. palindrome is not reversed, it is the same from left and right. anyway multiply by 1 making the answer is identical to the original number. what i mean is like @Jafca answer. i hope you understand.
8th Apr 2017, 5:19 AM
Agus Mei
Agus Mei - avatar
+ 10
Wow you found six possibilities ! oh my God. How genius are you Sir. I am so happy to find that number. Thank you very much @Krishna Sir. 😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄 but i am sorry i can't give you best answer because it will againt the rule that is the faster will get the best answer tick But you are (no doubt) the winner here. Thank you again @Krishna Sir. 😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄
8th Apr 2017, 3:13 PM
Agus Mei
Agus Mei - avatar
+ 10
@Utkarsh i am planning to upgrade my code into Cashier 2.0 i am not delete it. just remove it to my laptop, since input in Code Playground often confused beginner. i'll try to break my math solver in laptop into smaller ones. then i'll post them here. but i am busy these weeks.(Exam weeks) maybe june.
9th Apr 2017, 4:14 AM
Agus Mei
Agus Mei - avatar
+ 9
@Nikhil how did u get this answer?
8th Apr 2017, 2:49 AM
Siddharth Saraf
+ 9
@Nikhil nice try but how can your answer reversed? you break the rule of math.
8th Apr 2017, 2:50 AM
Agus Mei
Agus Mei - avatar
+ 9
@Agus : No worries about marking as best answer. Our target is to get the correct answer. And, we got it. Keep these puzzles coming!
8th Apr 2017, 3:14 PM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
+ 9
Present Sir
8th Apr 2017, 3:19 PM
Nikhil
Nikhil - avatar
+ 8
1234567890*1=0987654321
8th Apr 2017, 2:31 AM
Nikhil
Nikhil - avatar