Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- . There are 6 cases of three digit palindromes: abcba, abccba, ababa, aaaaa, aaaaaa, bbbaaa
- . where a,b,c are digits and 9 > a,b,c > 0
- . Expanding this to polyatomic forms, we have:
- 1) x = abcba = 10001a + 1010b + 100c
- 2) x = abccba = 100001a + 10010b + 1100c
- 3) x = bbbaaa = 111000b + 111a
- 4) x = ababa = 10101a + 1010b
- 5) x = aaaaa = 11111a
- 6) x = aaaaaa 111111a
Add Comment
Please, Sign In to add comment