Problem 2027. Consecutive Powers

Return 2 numbers and 2 powers such that their difference is 1

A 4 element row vector is expected: x where

 x(1)^x(2) - x(3)^x(4) = 1;

Solution Stats

58.24% Correct | 41.76% Incorrect
Last solution submitted on Aug 10, 2017


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!