{"id":21203751,"url":"https://github.com/bl33h/mathfunctions","last_synced_at":"2026-05-19T08:01:55.016Z","repository":{"id":69081065,"uuid":"525488975","full_name":"bl33h/mathFunctions","owner":"bl33h","description":"Math program with spread function and pseudorandom number generator.","archived":false,"fork":false,"pushed_at":"2023-06-17T06:47:23.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-02T23:14:32.630Z","etag":null,"topics":["discrete-mathematics","hashing","math-functions","modular-arithmetic","modules","pseudorandom","python","seed","spread-function"],"latest_commit_sha":null,"homepage":"","language":"Python","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/bl33h.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-16T17:58:46.000Z","updated_at":"2023-06-17T06:54:17.000Z","dependencies_parsed_at":"2024-11-20T20:39:32.626Z","dependency_job_id":null,"html_url":"https://github.com/bl33h/mathFunctions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bl33h/mathFunctions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bl33h%2FmathFunctions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bl33h%2FmathFunctions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bl33h%2FmathFunctions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bl33h%2FmathFunctions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bl33h","download_url":"https://codeload.github.com/bl33h/mathFunctions/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bl33h%2FmathFunctions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33207465,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-19T07:54:09.561Z","status":"ssl_error","status_checked_at":"2026-05-19T07:54:08.508Z","response_time":58,"last_error":"SSL_read: 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":["discrete-mathematics","hashing","math-functions","modular-arithmetic","modules","pseudorandom","python","seed","spread-function"],"created_at":"2024-11-20T20:26:32.569Z","updated_at":"2026-05-19T08:01:54.963Z","avatar_url":"https://github.com/bl33h.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mathFunctions\nA program that provides math functions including a spread function and a pseudorandom number generator. The spread function takes an array and performs a hash operation based on a module value, producing a modified array. The pseudorandom number generator generates a sequence of pseudorandom numbers based on a given seed, module value, multiplier, and increase value.\n\n\u003cp align=\"center\"\u003e\n  \u003cbr\u003e\n  \u003cimg src=\"https://storage.googleapis.com/kaggle-competitions/kaggle/3867/media/rn3.gif\" alt=\"pic\" width=\"500\"\u003e\n  \u003cbr\u003e\n\u003c/p\u003e\n\u003cp align=\"center\" \u003e\n  \u003ca href=\"#Files\"\u003eFiles\u003c/a\u003e •\n  \u003ca href=\"#Features\"\u003eFeatures\u003c/a\u003e •\n  \u003ca href=\"#how-to-use\"\u003eHow To Use\u003c/a\u003e \n\u003c/p\u003e\n\n## Files\n\n- src: the file that implements de solution.\n\n## Features\nThe main features of the application include:\n- Spread function: It takes an array as input and applies a hash function based on a module value, resulting in a modified array with spread elements.\n- Pseudorandom number generator: It generates a sequence of pseudorandom numbers using the linear congruential method. It requires inputs such as the module value, multiplier value, increase value, and seed value.\n- Menu-based interface: The code presents a menu where users can choose between the spread function and pseudorandom number generator options.\n- User input: The code prompts the user to provide input values such as the module, array length, array elements, and pseudorandom number generator parameters.\n- Output display: The code displays the results of the spread function and the generated sequence of pseudorandom numbers.\n- Error handling: The code includes error checking to ensure valid user inputs and displays an error message for invalid options.\n\n## How To Use\nTo clone and run this application, you'll need [Git](https://git-scm.com) and [Python](https://www.python.org/downloads/) installed on your computer. From your command line:\n\n...\n```bash\n# Clone this repository\n$ git clone https://github.com/bl33h/mathFunctions\n\n# Open the folder\n$ cd src\n\n# Run the app\n$ python mathFunctions.py\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbl33h%2Fmathfunctions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbl33h%2Fmathfunctions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbl33h%2Fmathfunctions/lists"}