Consecutive Powers - MATLAB Cody - MATLAB Central

Problem 2027. Consecutive Powers

Difficulty:Rate

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

47.51% Correct | 52.49% Incorrect
Last Solution submitted on Dec 12, 2024

Problem Comments

Solution Comments

Show comments
R2025a Pre-release highlights
This topic is for discussing highlights to the current R2025a Pre-release.
12
4

Problem Recent Solvers92

Suggested Problems

More from this Author11

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page