Cody

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

57.95% Correct | 42.05% Incorrect
Last solution submitted on Apr 27, 2017

Tags

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!