Cody

Problem 44065. Number of even divisors of a given number

Given a Number n, return the number of its even divisors without listing them.

example:

n=14 ; EvenDivisors={2,14} ; y=2

n=68 ; EvenDivisors={2,34,4,68} ; y=4

Similar problems are: https://www.mathworks.com/matlabcentral/cody/problems/42791-number-of-divisors-of-a-given-number https://www.mathworks.com/matlabcentral/cody/problems/1025-divisors-of-an-integer

n=64 ; EvenDivisors={2,4,8,16,32} ; y=5

Solution Stats

59.09% Correct | 40.91% Incorrect
Last Solution submitted on Feb 10, 2019

Problem Comments