+ 13

Challenge: Palindromic numbers

There is a classical conjecture of unknown origin: "Any positive integer is taken. The number is then written in reverse order; The two numbers are added together. The process is repeated with the sum number, obtaining a second sum, and proceeding in the same way until a palindrome (capicua) is achieved. The conjecture affirms that after finite number of additions will end up obtaining a palindromic number". ---- Did you enjoyed this challenge? Please give it a like..

13th Sep 2017, 6:04 PM
noobcøder
noobcøder - avatar
13 Respuestas
2nd Sep 2017, 4:34 AM
Hatsy Rei
Hatsy Rei - avatar
1st Sep 2017, 8:21 AM
cHiRaG GhOsH
cHiRaG GhOsH - avatar
+ 9
Thank you for challenge :) Here's my try : https://code.sololearn.com/cSN15l5uU38J/?ref=app
1st Sep 2017, 5:39 PM
LukArToDo
LukArToDo - avatar
2nd Sep 2017, 10:06 AM
noobcøder
noobcøder - avatar
+ 8
https://code.sololearn.com/cKw40Rkb7tkY/?ref=app
3rd Sep 2017, 12:54 PM
GAWEN STEASY
GAWEN STEASY - avatar
1st Sep 2017, 12:33 PM
Sanjeev Kumar
Sanjeev Kumar - avatar
1st Sep 2017, 11:14 PM
ysraelcon
ysraelcon - avatar
2nd Sep 2017, 7:57 AM
m abrate
m abrate - avatar
2nd Sep 2017, 7:07 AM
giora
giora - avatar
+ 3
Here you go. Checks for valid input https://code.sololearn.com/cMs4I8YBYCl0/?ref=app
13th Sep 2017, 8:27 AM
Vari93
Vari93 - avatar
+ 3
@sayan chandra your code doesn't work if you input palindromic numbers... 😵 Too small!! 😉
14th Sep 2017, 7:44 PM
m abrate
m abrate - avatar
+ 1
here is the smallest code😀😁😁😁😁😀😊 https://code.sololearn.com/cN8gO2qczL3y/?ref=app
14th Sep 2017, 7:21 PM
sayan chandra
sayan chandra - avatar
0
ha ha... now it do works...😀😁😊
14th Sep 2017, 7:46 PM
sayan chandra
sayan chandra - avatar