Your algorithm description sounds like what you would do in a loop:
Dividing by a number and concatenating the remainder to a String to build the results.
Continue until all divisions are done.
...
Type: Posts; User: Norm
Your algorithm description sounds like what you would do in a loop:
Dividing by a number and concatenating the remainder to a String to build the results.
Continue until all divisions are done.
...
What code produces the output you have posted? I don't see the any of the (...) Strings in your code?
You have over a dozen println statements that print numbers without and ids on them.
Can you...
Can you show what is on the console for when the code works and when the code fails?
Add comments to the output describing what is wrong and what you'd like the output to be.
To copy the contents...