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

563 Solutions

286 Solvers

Last Solution submitted on Mar 05, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...