1 2 3 4 5 6 7 8
public static long f(long a, long b) { return a == 0 ? (b + 1) : b == 0 ? f(a-1, b) : f(a-1, f(a, b - f(0,0))); }