Recursion function, what does it do?
    public static int somerec(int n, int x, int y) {
    if (n < x*y)
    return 0;
    else if (n == x*y)
    return 1;
    else {
    int sum = 0;
    for (i=x; i<=n;i++)
    sum += somerec(n-i,i,y-1);
    return sum;
    }
    }
Recursion function, what does it do?
===

    public static int somerec(int n, int x, int y) {
    if (n < x*y)
    return 0;
    else if (n == x*y)
    return 1;
    else {
    int sum = 0;
    for (i=x; i<=n;i++)
    sum += somerec(n-i,i,y-1);
    return sum;
    }
    }