find the 500th polyndrom number
5005
can you explain ?
what do you mean by 500th
the fifth hundred polyndrom number
Palindromic number, right?
yes
Is there a formula? Maybe u need a program to list them...
i don't know , that's why i'm asking you
I think you mean palindrome. There is no such word as polyndrom in math or the English language for that matter.
Curious.... can a single digit be palindromic?
yes
basically palindorme is a number from any side(left or right) you read it the number remains the same like 5005 , 224422, etc
right
"Take any positive integer of two digits or more, reverse the digits, and add to the original number. This is the operation of the reverse-then-add sequence. Now repeat the procedure with the sum so obtained until a palindromic number is obtained."
there are infinite palindrome numbers so i m confused fifth hundred palindrome number
Write a program in your desired language based on above.
i got 40104 , is it correct ?
yes
can you explain it ? i'm not sure
you read your number from left to right frist it is 4 0 1 0 4 now read it from right to left it is still 4 0 1 0 4
honestly , i got it from my book , in the answer key , but without any explanation
but this is explaination
but how can you get the answer? would explain it please?
i just know whether a number is palindrome or not but in your question 500th is mentioned where i m still confuse
Interesting.... according to wolfram, since you want the 500th palindromic number, and 500 is between 198 and 1098, it must be less than 10^5..: http://www.wolframalpha.com/input/?i=500th+palindromic+number idk how to get that number though... :( must be a pattern somewhere.
i think the answered is 40104
Can you explain how you get it?
It should be 828.
my book said the answer is 40104, i'm confused
OK! Well I guess books are never wrong?? Right?
okay, can you explain it to me? @calculusfunctions
read this may be it help you All the digits are palindromes (1,2,3,...,9). There are also 9 palindromes with two digits (11,22,33, ...,99). You can find to every two-digit number one, and only one number with three digits and with four digits. For example: For the number 34 there are 343 and 3443. You can conclude that there are 90 palindromes with three and also 90 palindromes with four digits. You can find to every three-digit number one, and only one number with five digits and with six digits. For example: To the number 562 there are 56265 and 562265. You can conclude that there are 900 palindromes with five and 900 palindromes with six digits. You have 9+9+90+90+900+900 = 1998 palindromes up to one million. About every 500th number is a palindrome.
okay, thank you, it helps me so much
welcome
i'm sorry, but i give oup :(
i am sorry
okaay
Ummm... I respectfully disagree with the statement that every 500th number is a palindrome. Also I apologize because I made an error in my own answer. It is not 828.
[int("%d%d%d" % (x,y,x)) for x in range(1,10) for y in range(10)] in Python. generates all 3 digit palindromes You can play around and develop one that generates a bigger list and the number of each palindrome in order to find the 500th one. Or perhaps for your case, just brute force it, programatically test every number until you reach the 500th...
Join our real-time social learning platform and learn together with your friends!