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

569 Solutions

289 Solvers

Last Solution submitted on Aug 20, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...