private static boolean isPanDigital(int n){
		Set<Character> seen = new HashSet<Character>();
		String ns = Integer.toString(n);
		for(char c : ns.toCharArray()){
			char maxC = (char) ('1' + ns.length());
			if (c!='0' && c<maxC) seen.add(c);
		}
		return seen.size() == ns.length();
	}