Talk:Kaprekar numbers: Difference between revisions

Content added Content deleted
(→‎In base B 10: why printing?)
Line 119: Line 119:
[[User:Toucan|Toucan]] 17:18, 26 June 2011 (UTC)
[[User:Toucan|Toucan]] 17:18, 26 June 2011 (UTC)
:I don't quite understand that. Can you show an example? --[[User:Mwn3d|Mwn3d]] 17:29, 26 June 2011 (UTC)
:I don't quite understand that. Can you show an example? --[[User:Mwn3d|Mwn3d]] 17:29, 26 June 2011 (UTC)
:True. I added the non-base10 extra requirement, and the printing part is there to clearly show if a solution decoupled the numerical aspect from a number's string representation. The base 17 was specifically chosen because languages often can handle base conversion up to 16 natively, so 17 may require a hand-rolled string conversion, which can also be interesting while not difficult. Plus, if you print it out in base 17, it's much easier for a human reader to see the correctness of the solution. --[[User:Ledrug|Ledrug]] 21:25, 26 June 2011 (UTC)