find the greatest Frobenius number

Version 1.0.0.0 (1.51 KB) by KIMBOL
find the greatest Frobenius number x that x < MAX
259 Downloads
Updated 3 Nov 2010

View License

a Frobenius is defined as y = a1*x1 + a2*x2 + a3*x3 which has no integer solution of x(i). a1, a2, a3 are positive integers.

a1,a2,a3 are given in ascending order.
findFrobenius( a1, a2, a3, MAX )

MAX is the upper limit of search.

Cite As

KIMBOL (2025). find the greatest Frobenius number (https://se.mathworks.com/matlabcentral/fileexchange/29260-find-the-greatest-frobenius-number), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Events in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0