public static void main(String [] args) {
		// assuming that 1-1-2 is not a triangle, (2-2-1 is not an AET) so starting with 2-2-3
		long cumulativePerim = 0;
		int countOfAETris = 0;

		for (int i = 1; i < ((long) (1000000000/3)+2); i++) {   // sloppy, see *** below
			int j = i + 1;
			double area = 0.0;
			boolean isInt = false;

			if (i + i + j > 1000000000) {
				// low-budget check to handle approx roundoff, *** above
				System.out.println("skipping: " + i + " + " + i + " + " + j);  // a couple of these print out
				continue;
			}

			area = triArea(i, i, j);
			isInt = isInt(area);

			if (isInt) {
				countOfAETris += 1;
				cumulativePerim += (i+i+j);
				//System.out.println("i, i, j: " + i + ", " + i + ", " + j);
				//System.out.println("area: " + area);
			}

			if (i + j + j > 1000000000) {
				// low-budget check to handle approx roundoff, *** above
				System.out.println("skipping: " + i + " + " + j + " + " + j);
				continue;
			}

			area = triArea(i, j, j);
			isInt = isInt(area);


			if (isInt) {
				countOfAETris += 1;
				cumulativePerim += (i+j+j);
				//System.out.println("i, j, j: " + i + ", " + j + ", " + j);
				//System.out.println("area: " + area);
			}
		}
		System.out.println("Cumulative Perim: " + cumulativePerim);
		System.out.println("Number of AETs: " + countOfAETris);
	}