get_gcd_partition(N​g)

Version 1.0.0.0 (1.49 KB) by Ux Uxy
Partition integers 1:Ng into its GCD's
17 Downloads
Updated 3 May 2016

View License

partition_by_gcd - mapping 1:Ng into array. 1st element in a row is a GCD value. Followed by all n's such GCD(GCD_val,n) = GCD_val;
all_dividers - a row of all dividers (GCD's) of integer Ng > 0

Cite As

Ux Uxy (2024). get_gcd_partition(Ng) (https://www.mathworks.com/matlabcentral/fileexchange/56433-get_gcd_partition-ng), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux

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

Have simplified input parameters requirements