public static void main(String[] args) {
		long start = System.nanoTime();
		int count = 0;
		for (int n = 1; n <= 100; n++) {
			for (int r = 1; r <= n; r++) {
				BigInteger combin = combinatoric(n, r);
				if (combin.compareTo(BigInteger.valueOf(1000000)) > 0) {
					count += 1;
				}
			}
		}
		System.out.println(count);
		System.out.println("Done in " + (double) (System.nanoTime() - start)
				/ 1000000000 + " seconds.");

	}