自然数 n に対して,次のように再帰的に定義される関数 f ( n ) を考える。 f (5) の値はどれか。 f ( n ) : if n ≦1 then return 1 else return n + f ( n - 1 )
6
9
15
25