自然数nに対して、次のとおり再帰的に定義される関数 f(n) を考える。f(5)の値はどれか。

f(n): if n≤1 then return 1 else return n + f (n-1)

出典基本情報技術者試験 サンプル問題 科目A 問8
6
9
15
25