{"record_type":"pith_number_record","schema_url":"https://pith.science/schemas/pith-number/v1.json","pith_number":"pith:2018:KANSFR4L53RM4LEIWAXIOLSLGQ","short_pith_number":"pith:KANSFR4L","schema_version":"1.0","canonical_sha256":"501b22c78beee2ce2c88b02e872e4b3400453f74af93aca8509958bc91a64b6d","source":{"kind":"arxiv","id":"1805.10941","version":4},"attestation_state":"computed","paper":{"title":"Fast Random Integer Generation in an Interval","license":"http://creativecommons.org/licenses/by/4.0/","headline":"","cross_cats":[],"primary_cat":"cs.DS","authors_text":"Daniel Lemire","submitted_at":"2018-05-28T14:28:04Z","abstract_excerpt":"In simulations, probabilistic algorithms and statistical tests, we often generate random integers in an interval (e.g., [0,s)). For example, random integers in an interval are essential to the Fisher-Yates random shuffle. Consequently, popular languages like Java, Python, C++, Swift and Go include ranged random integer generation functions as part of their runtime libraries.\n  Pseudo-random values are usually generated in words of a fixed number of bits (e.g., 32 bits, 64 bits) using algorithms such as a linear congruential generator. We need functions to convert such random words to random in"},"verification_status":{"content_addressed":true,"pith_receipt":true,"author_attested":false,"weak_author_claims":0,"strong_author_claims":0,"externally_anchored":false,"storage_verified":false,"citation_signatures":0,"replication_records":0,"graph_snapshot":true,"references_resolved":false,"formal_links_present":false},"canonical_record":{"source":{"id":"1805.10941","kind":"arxiv","version":4},"metadata":{"license":"http://creativecommons.org/licenses/by/4.0/","primary_cat":"cs.DS","submitted_at":"2018-05-28T14:28:04Z","cross_cats_sorted":[],"title_canon_sha256":"855b5f89027de5d24a7d53253fec7eaf4493b6d390e87bfab6c1e0b00220a219","abstract_canon_sha256":"1f65f672088d94cfa50729d9a27219d7004c60232937849422ce873e3fe513d3"},"schema_version":"1.0"},"receipt":{"kind":"pith_receipt","key_id":"pith-v1-2026-05","algorithm":"ed25519","signed_at":"2026-05-17T23:44:00.181830Z","signature_b64":"v0RcV9ksUM1gksOnu6tgnaEMBk0op+HG4Q29JXs7aT9yzXo5AwZQt+EUz+GMO6sVsvvUkDjenzlCfJ0H830KDA==","signed_message":"canonical_sha256_bytes","builder_version":"pith-number-builder-2026-05-17-v1","receipt_version":"0.3","canonical_sha256":"501b22c78beee2ce2c88b02e872e4b3400453f74af93aca8509958bc91a64b6d","last_reissued_at":"2026-05-17T23:44:00.181171Z","signature_status":"signed_v1","first_computed_at":"2026-05-17T23:44:00.181171Z","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54"},"graph_snapshot":{"paper":{"title":"Fast Random Integer Generation in an Interval","license":"http://creativecommons.org/licenses/by/4.0/","headline":"","cross_cats":[],"primary_cat":"cs.DS","authors_text":"Daniel Lemire","submitted_at":"2018-05-28T14:28:04Z","abstract_excerpt":"In simulations, probabilistic algorithms and statistical tests, we often generate random integers in an interval (e.g., [0,s)). For example, random integers in an interval are essential to the Fisher-Yates random shuffle. Consequently, popular languages like Java, Python, C++, Swift and Go include ranged random integer generation functions as part of their runtime libraries.\n  Pseudo-random values are usually generated in words of a fixed number of bits (e.g., 32 bits, 64 bits) using algorithms such as a linear congruential generator. We need functions to convert such random words to random in"},"claims":{"count":0,"items":[],"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57"},"source":{"id":"1805.10941","kind":"arxiv","version":4},"verdict":{"id":null,"model_set":{},"created_at":null,"strongest_claim":"","one_line_summary":"","pipeline_version":null,"weakest_assumption":"","pith_extraction_headline":""},"references":{"count":0,"sample":[],"resolved_work":0,"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57","internal_anchors":0},"formal_canon":{"evidence_count":0,"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57"},"author_claims":{"count":0,"strong_count":0,"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57"},"builder_version":"pith-number-builder-2026-05-17-v1"},"aliases":[{"alias_kind":"arxiv","alias_value":"1805.10941","created_at":"2026-05-17T23:44:00.181266+00:00"},{"alias_kind":"arxiv_version","alias_value":"1805.10941v4","created_at":"2026-05-17T23:44:00.181266+00:00"},{"alias_kind":"doi","alias_value":"10.48550/arxiv.1805.10941","created_at":"2026-05-17T23:44:00.181266+00:00"},{"alias_kind":"pith_short_12","alias_value":"KANSFR4L53RM","created_at":"2026-05-18T12:32:33.847187+00:00"},{"alias_kind":"pith_short_16","alias_value":"KANSFR4L53RM4LEI","created_at":"2026-05-18T12:32:33.847187+00:00"},{"alias_kind":"pith_short_8","alias_value":"KANSFR4L","created_at":"2026-05-18T12:32:33.847187+00:00"}],"events":[],"event_summary":{},"paper_claims":[],"inbound_citations":{"count":0,"internal_anchor_count":0,"sample":[]},"formal_canon":{"evidence_count":0,"sample":[],"anchors":[]},"links":{"html":"https://pith.science/pith/KANSFR4L53RM4LEIWAXIOLSLGQ","json":"https://pith.science/pith/KANSFR4L53RM4LEIWAXIOLSLGQ.json","graph_json":"https://pith.science/api/pith-number/KANSFR4L53RM4LEIWAXIOLSLGQ/graph.json","events_json":"https://pith.science/api/pith-number/KANSFR4L53RM4LEIWAXIOLSLGQ/events.json","paper":"https://pith.science/paper/KANSFR4L"},"agent_actions":{"view_html":"https://pith.science/pith/KANSFR4L53RM4LEIWAXIOLSLGQ","download_json":"https://pith.science/pith/KANSFR4L53RM4LEIWAXIOLSLGQ.json","view_paper":"https://pith.science/paper/KANSFR4L","resolve_alias":"https://pith.science/api/pith-number/resolve?arxiv=1805.10941&json=true","fetch_graph":"https://pith.science/api/pith-number/KANSFR4L53RM4LEIWAXIOLSLGQ/graph.json","fetch_events":"https://pith.science/api/pith-number/KANSFR4L53RM4LEIWAXIOLSLGQ/events.json","actions":{"anchor_timestamp":"https://pith.science/pith/KANSFR4L53RM4LEIWAXIOLSLGQ/action/timestamp_anchor","attest_storage":"https://pith.science/pith/KANSFR4L53RM4LEIWAXIOLSLGQ/action/storage_attestation","attest_author":"https://pith.science/pith/KANSFR4L53RM4LEIWAXIOLSLGQ/action/author_attestation","sign_citation":"https://pith.science/pith/KANSFR4L53RM4LEIWAXIOLSLGQ/action/citation_signature","submit_replication":"https://pith.science/pith/KANSFR4L53RM4LEIWAXIOLSLGQ/action/replication_record"}},"created_at":"2026-05-17T23:44:00.181266+00:00","updated_at":"2026-05-17T23:44:00.181266+00:00"}