Discover MakerZone

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

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!

Problem 156. Parasitic numbers

Created by the cyclist

Test whether the first input x is an n-parasitic number: ( n is the second input.)


parasitic(128205,4) ---> true

parasitic(179487,4) ---> true

parasitic(179487,3) ---> false


Problem Group

Solution Statistics

127 correct solutions 52 incorrect solutions
Last solution submitted on Nov 22, 2015

Problem Comments

Solution Comments