Test if the input is a Kaprekar number: http://mathworld.wolfram.com/KaprekarNumber.html. Return a logical true or false.
I wish I could see this solution.
It contains the line "if x == 704 | x == 681319 | x==681320", so you are not missing anything deep.
Changed test suite to deny this "solution"
703 not working
This solution only tests for divisibility by 9, not whether the number is a Kaprekar number.
this is no more coding but ...............
this fake solution ,take the advantage of system
Knight's Tour Checker
Sum all integers from 1 to 2^n
Wrapping the Tower of Pisa
Will there be a new leader?
Symmetry of vector
So many choices
Is my wife right?
High school cafeteria
The Hitchhiker's Guide to MATLAB
Increment a number, given its digits
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office