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 2027. Consecutive Powers

Created by Ted

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;


Problem Group

Solution Statistics

43 correct solutions 30 incorrect solutions
Last solution submitted on Apr 21, 2016