{"id":40107782,"url":"https://github.com/alexpof/z_n_homometry","last_synced_at":"2026-01-19T11:35:02.708Z","repository":{"id":190945305,"uuid":"148909166","full_name":"AlexPof/Z_n_Homometry","owner":"AlexPof","description":"C and Python code for brute-force enumeration of homometric subsets of cyclic groups","archived":false,"fork":false,"pushed_at":"2018-09-15T14:29:00.000Z","size":6766,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-09T03:51:24.751Z","etag":null,"topics":["brute-force","c","enumeration","music-theory","python3"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AlexPof.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-09-15T14:27:37.000Z","updated_at":"2020-02-04T11:27:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"76744f36-8d66-49b8-9761-4877d5a32d7c","html_url":"https://github.com/AlexPof/Z_n_Homometry","commit_stats":null,"previous_names":["alexpof/z_n_homometry"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AlexPof/Z_n_Homometry","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexPof%2FZ_n_Homometry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexPof%2FZ_n_Homometry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexPof%2FZ_n_Homometry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexPof%2FZ_n_Homometry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlexPof","download_url":"https://codeload.github.com/AlexPof/Z_n_Homometry/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexPof%2FZ_n_Homometry/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28566591,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T08:53:44.001Z","status":"ssl_error","status_checked_at":"2026-01-19T08:52:40.245Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["brute-force","c","enumeration","music-theory","python3"],"created_at":"2026-01-19T11:35:02.639Z","updated_at":"2026-01-19T11:35:02.699Z","avatar_url":"https://github.com/AlexPof.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Z_n Homometry\n\nC algorithm for brute-force enumeration of homometric sets in the cyclic groups Z_n\n\nSee the paper *Jedrzejewski F., Johnson T. (2013) The Structure of Z-Related Sets. In: Yust J., Wild J., Burgoyne J.A. (eds) Mathematics and Computation in Music. MCM 2013. Lecture Notes in Computer Science, vol 7937. Springer, Berlin, Heidelberg* for more theoretical information.\n\n==========\n\nCompile the C program with gcc and start:\n\n    \u003e\u003e\u003e ./Zn_homomenumerate n p output_file\n\nwhere\n\n  * *n* is an integer defining the order of the Z_n cyclic group\n  * *p* is an integer defining the cardinality of the subsets of Z_n to be\n        examined.\n  * *output_file* is the name of the output file to be written\n\nFor example:\n\n    \u003e\u003e\u003e ./Zn_homomenumerate 16 6 output.txt\n\nUse the python script to count the unique homometric n-uples:\n\n    \u003e\u003e\u003e python Zn_homomcounts.py output.txt\n\nWith the above example:\n\n    \u003e\u003e\u003e python Zn_homomcounts.py output.txt\n    # of homometric subsets\n    2-uples: 28\n    3-uples: 3\n\nThe zip file *enumeration_results.zip* contains an enumeration of homometric subsets for cyclic groups Z_n of order up to 28.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexpof%2Fz_n_homometry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexpof%2Fz_n_homometry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexpof%2Fz_n_homometry/lists"}