Problem 1082. Lychrel Number Test (Inspired by Project Euler Problem 55)
Solution Stats
Problem Comments
-
4 Comments
I think this assertion part is obsolete, in the form of "assert(islychrel(n))" or "assert(~islychrel(n))" now will fail directly on the new cody system. my code run at my computer seems fine by the way.
It looks like there is an error in the test suite, because 3664 becomes 475574 after 5 iterations, although the test suite says that it's not a Lychrel number. (In addition, OEIS A023108, which lists all non-Lychrel numbers up to 3675, excludes 3664).
Currently, the test suite seems to be working fine.
Tom Holz cause you and me is misunderstood the problem,the problem is check number "not palindrome"
Solution Comments
-
2 Comments
ok! sorry for this, I missunderstood the problem... :-(
my solution is here:
http://www.mathworks.com/matlabcentral/cody/problems/1082-lychrel-number-test-inspired-by-project-euler-problem-55/solutions/172901
So, I'M NOT LEADER IN THIS PROBLEM!
-
1 Comment
Sorry, you are leader... :-(
Problem Recent Solvers70
Suggested Problems
-
It dseon't mettar waht oedrr the lrettes in a wrod are.
1031 Solvers
-
Find best placement for ordered dominoes (harder)
262 Solvers
-
Implement simple rotation cypher
1020 Solvers
-
Magic is simple (for beginners)
5304 Solvers
-
Relative ratio of "1" in binary number
801 Solvers
More from this Author56
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!