find the greatest Frobenius number
Version 1.0.0.0 (1.51 KB) by
KIMBOL
find the greatest Frobenius number x that x < MAX
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 LinuxCategories
- MATLAB > Programming > Classes > Define Classes > Events >
Find more on Events in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
