Cody

Problem 2736. Pernicious Anniversary Problem

Created by Jan Orwat in Cody5:Easy

Since Cody is 5 years old, it's pernicious. A Pernicious number is an integer whose population count is a prime. Check if the given number is pernicious.

Solution Stats

32.39% Correct | 67.61% Incorrect
Last solution submitted on Jan 21, 2018

Problem Comments

Solution Comments

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!