For a given integer n (n>1), compute the sum f (i) (1 <= i <= n) where f (i) = 1 if n is odd and 2 otherwise.

Solution Stats

567 Solutions

288 Solvers

Last Solution submitted on Jul 18, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...