Problem 166. Kaprekar numbers
Solution Stats
Problem Comments
-
2 Comments
Raihan Ahmed
on 19 Nov 2015
Superb Problem
Jonathan Cratter
on 2 Dec 2018
nnnnn
Solution Comments
-
3 Comments
Grace O'Neil
on 8 Jun 2016
I wish I could see this solution.
Tim
on 9 Jun 2016
It contains the line "if x == 704 | x == 681319 | x==681320", so you are not missing anything deep.
the cyclist
on 14 Jun 2016
Changed test suite to deny this "solution"
-
2 Comments
Harish Maradana
on 8 Mar 2013
703 not working
the cyclist
on 9 Mar 2013
This solution only tests for divisibility by 9, not whether the number is a Kaprekar number.
-
2 Comments
MD. MASRUL HUDA
on 24 Jun 2012
this is no more coding but ...............
the cyclist
on 14 Jun 2016
Changed test suite to deny this "solution"
-
2 Comments
MD. MASRUL HUDA
on 24 Jun 2012
this fake solution ,take the advantage of system
the cyclist
on 14 Jun 2016
Changed test suite to deny this "solution"
Problem Recent Solvers259
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1339 Solvers
-
429 Solvers
-
Back to basics 9 - Indexed References
427 Solvers
-
1486 Solvers
-
460 Solvers
More from this Author23
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!