Update LowestBasePalindrome.java

Very, very minor documentation edit
This commit is contained in:
Michael Rolland 2017-09-29 14:32:47 -04:00 committed by GitHub
parent b21444d29d
commit 2d300b340a

View File

@ -46,7 +46,7 @@ public class LowestBasePalindrome {
String digits = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
while (!foundBase) {
// Try from bases 2 to num (any number n in base n is 1)
// Try from bases 2 to num-1
for (base=2; base<num2; base++) {
newNum="";
while(num>0) {