20 lines
389 B
Java
20 lines
389 B
Java
|
/**
|
||
|
A utility class that provide methods to compute elements of the
|
||
|
recursive sequence.
|
||
|
@author Leah Bidlake
|
||
|
*/
|
||
|
|
||
|
public class Seq{
|
||
|
|
||
|
/**
|
||
|
Recursively computes seq(n).
|
||
|
@param n Non-negative integer.
|
||
|
@return int Element n in the recursive sequence.
|
||
|
*/
|
||
|
public static int seqR(int n){
|
||
|
//TODO: this should look very much like the
|
||
|
//mathematical specification
|
||
|
}
|
||
|
|
||
|
}
|