{"id":26202262,"url":"https://github.com/astef/sparsenumerics","last_synced_at":"2025-07-09T23:11:13.572Z","repository":{"id":143541379,"uuid":"171480493","full_name":"astef/SparseNumerics","owner":"astef","description":"Numbers stored as the positions of 1's in their binary form, useful for math with power of 2 towers","archived":false,"fork":false,"pushed_at":"2019-10-26T13:02:49.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-12T03:37:02.536Z","etag":null,"topics":["biginteger","math","numbers","sparse"],"latest_commit_sha":null,"homepage":"","language":"C#","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/astef.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-02-19T13:40:30.000Z","updated_at":"2023-06-15T15:13:00.000Z","dependencies_parsed_at":"2024-02-27T02:58:15.657Z","dependency_job_id":"a8f28399-4250-4785-9bc5-2e01e18f9359","html_url":"https://github.com/astef/SparseNumerics","commit_stats":null,"previous_names":["astef/sparseinteger"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/astef/SparseNumerics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astef%2FSparseNumerics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astef%2FSparseNumerics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astef%2FSparseNumerics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astef%2FSparseNumerics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/astef","download_url":"https://codeload.github.com/astef/SparseNumerics/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astef%2FSparseNumerics/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264505037,"owners_count":23618882,"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":["biginteger","math","numbers","sparse"],"created_at":"2025-03-12T03:34:02.126Z","updated_at":"2025-07-09T23:11:13.539Z","avatar_url":"https://github.com/astef.png","language":"C#","readme":"[![Build Status](https://dev.azure.com/stefurishin/SparseNumerics/_apis/build/status/SparseNumerics-CI?branchName=master)](https://dev.azure.com/stefurishin/SparseNumerics/_build/latest?definitionId=2\u0026branchName=master) [![Nuget Package](https://img.shields.io/nuget/v/SparseNumerics.svg)](https://www.nuget.org/packages/SparseNumerics/)\n\n\n## `SparseInteger`\n\nA value of this type represents a non-negative integer that can be very large (like those that occur as\nnumeric values of high power towers, much larger than those that can be represented by `BigInteger`\nwithin feasible memory limits), subject to a condition that either:\n\n- the number fits into `ulong` type verbatim\n\n- the number of 1's in its binary form is a moderate number (such that an array of that size can be allocated), and each of the positions of 1's in its binary form is, recursively, a number that can be represented by `SparseInteger`.\n\nCode originally taken from https://github.com/VladimirReshetnikov/Oeis.A002845\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastef%2Fsparsenumerics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fastef%2Fsparsenumerics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastef%2Fsparsenumerics/lists"}