public static String answer2(int n) {
    StringBuilder builder = new StringBuilder();
    BigInteger prime = BigInteger.valueOf(2);
    while (builder.length() - n <= 5) {
      builder.append(prime);
      prime = prime.nextProbablePrime();
    }
    //System.out.println(prime);
    return builder.toString().substring(n, n + 5);
  }
Created by sherxon on 6/16/17.


 new change
src/google/Re_Id.java