From 2d300b340a531988b55d00a71fd1ec9eda1d9e56 Mon Sep 17 00:00:00 2001 From: Michael Rolland Date: Fri, 29 Sep 2017 14:32:47 -0400 Subject: [PATCH] Update LowestBasePalindrome.java Very, very minor documentation edit --- Misc/LowestBasePalindrome.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Misc/LowestBasePalindrome.java b/Misc/LowestBasePalindrome.java index fce2d216..d0df5c30 100644 --- a/Misc/LowestBasePalindrome.java +++ b/Misc/LowestBasePalindrome.java @@ -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; base0) {