+ 2

# Recursion

How do we compute these two sequences in java? 1) xn + x(n-2) + x(n-4) +... +x 2) 1^2 + 3^2 + 5^2 + 7^2 + ... + n^2 PLEASE HELP

1 Answer

+ 2

How do we compute these two sequences in java? 1) xn + x(n-2) + x(n-4) +... +x 2) 1^2 + 3^2 + 5^2 + 7^2 + ... + n^2 PLEASE HELP

1 Answer