public class LynchBell { static String s = ""; public static void main(String args[]) { //Highest number with unique digits (no 0 or 5) int i = 98764321; boolean isUnique = true; boolean canBeDivided = true; while (i>0) { s = String.valueOf(i); isUnique = uniqueDigits(i); if (isUnique) { //Number has unique digits canBeDivided = testNumber(i); if(canBeDivided) { System.out.println("Number found: " + i); i=0; } } i--; } } public static boolean uniqueDigits(int i) { //returns true, if unique digits, false otherwise for (int k = 0; k