{"id":20550367,"url":"https://github.com/dnmfarrell/excellent","last_synced_at":"2025-06-13T16:02:09.466Z","repository":{"id":149703658,"uuid":"44208894","full_name":"dnmfarrell/Excellent","owner":"dnmfarrell","description":"Haskell module for finding Excellent numbers","archived":false,"fork":false,"pushed_at":"2015-10-17T03:13:04.000Z","size":136,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-16T16:49:54.385Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dnmfarrell.png","metadata":{"files":{"readme":"README.pod","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-13T22:20:47.000Z","updated_at":"2015-10-13T22:21:53.000Z","dependencies_parsed_at":"2023-04-10T09:17:24.693Z","dependency_job_id":null,"html_url":"https://github.com/dnmfarrell/Excellent","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnmfarrell%2FExcellent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnmfarrell%2FExcellent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnmfarrell%2FExcellent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnmfarrell%2FExcellent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dnmfarrell","download_url":"https://codeload.github.com/dnmfarrell/Excellent/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242157180,"owners_count":20081036,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-16T02:24:36.893Z","updated_at":"2025-03-06T05:44:12.930Z","avatar_url":"https://github.com/dnmfarrell.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"=pod\n\n=encoding utf8\n\n=head1 Excellent\n\nExcellent - Haskell module for calculating Excellent numbers\n\n=head2 Synopsis\n\n  $ ghci\n  ghci\u003e :l Excellent.hs\n  [1 of 1] Compiling Excellent        ( Excellent.hs, interpreted )\n\n  ghci\u003e filter (\\x -\u003e intExcellent (intSplit x)) [1..100]\n  [48]\n\n=head2 Version\n\n0.04\n\n=head2 Description\n\nF\u003cExcellent.hs\u003e exports a boolean function called C\u003cintExcellent\u003e which checks for Excellent numbers, and C\u003cintSplit\u003e which divides an integer into two halves.\n\nAn excellent number is any even digits-length integer where the difference between its two halves squared equals the original integer.\n\nFor example, 48 is excellent:\n\n  48 = abs(4^2 - 8^2)\n\nSo is 3468:\n\n  3468 = abs(34^2 - 68^2)\n\nAnd so on.\n\n=head2 Compiling\n\nExcellent comes with F\u003cmain.hs\u003e which will run forever, printing Excellent numbers to the command line.\n\n  $ ghc -O2 main.hs\n  $ ./main\n  [48,3468,140400,190476,216513,300625,334668,416768,484848,530901 ...\n\n=head2 Thanks\n\nThanks to Tom Murphy and L\u003cAndy Liang|https://github.com/aaliang\u003e for helping with the Haskell code.\n\n=head2 See Also\n\nThis module was inspired by brian d foy's L\u003carticles|http://www.masteringperl.org/2015/05/computing-excellent-numbers/\u003e on calculating Excellent Numbers with Perl, and Mark Jason Dominus' original L\u003carticle|http://blog.plover.com/math/excellent.html\u003e on the same topic.\n\n=head2 Author\n\nDavid Farrell E\u003ccopy\u003e 2015\n\n=head2 License\n\nFreeBSD, see LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnmfarrell%2Fexcellent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdnmfarrell%2Fexcellent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnmfarrell%2Fexcellent/lists"}