{"id":22434719,"url":"https://github.com/wmartinmimi/fibonacci-java","last_synced_at":"2025-03-27T08:20:19.660Z","repository":{"id":158835930,"uuid":"591617398","full_name":"wmartinmimi/fibonacci-java","owner":"wmartinmimi","description":"Calculate the nth fibonacci number using java","archived":false,"fork":false,"pushed_at":"2023-02-03T19:19:34.000Z","size":18,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T13:15:51.086Z","etag":null,"topics":["fibonacci","fibonacci-sequence","gplv3","java"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wmartinmimi.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,"publiccode":null,"codemeta":null}},"created_at":"2023-01-21T09:50:43.000Z","updated_at":"2023-02-05T04:12:38.000Z","dependencies_parsed_at":"2023-05-06T19:18:00.206Z","dependency_job_id":null,"html_url":"https://github.com/wmartinmimi/fibonacci-java","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/wmartinmimi%2Ffibonacci-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wmartinmimi%2Ffibonacci-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wmartinmimi%2Ffibonacci-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wmartinmimi%2Ffibonacci-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wmartinmimi","download_url":"https://codeload.github.com/wmartinmimi/fibonacci-java/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245806459,"owners_count":20675300,"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":["fibonacci","fibonacci-sequence","gplv3","java"],"created_at":"2024-12-05T23:10:19.637Z","updated_at":"2025-03-27T08:20:19.639Z","avatar_url":"https://github.com/wmartinmimi.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fibonacci-java\n\n## Description\n\nCalculate the nth Fibonacci number using java.\n\nA fun simple project I played with.\n\n## Files\n\n- Fib.java\n  \n  First version of the calculation.\n\n  Fn(n + 1) = F(n) + F(n - 1)\n\n- FibN.java\n\n  Second version of the calculation.\n\n\n  F(2n) = (2F(n) + F(n - 1)) * F(n)\n  F(2n - 1) = F(n - 1)² + F(n)²\n\n- FibT.java\n\n  Third version of the calculation.\n\n  Does essentially the same as FibN.java,\n  but first generate quick path from top to bottom\n  before calculating from bottom to top using the path.\n\n  Now also work with negative nth Fibonacci.\n\n## Usage\n\n```bash\njava Fib.java \u003cn\u003e\n```\n\nor\n\n```bash\njava FibN.java \u003cn\u003e\n```\n\nor\n\n```bash\njava FibT.java \u003cn\u003e\n```\n\nExample\n\n```bash\njava FibT.java 10000\n```\n\n## Last Readme update\n\n- Date: 03-02-2023 dd-MM-yyyy\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwmartinmimi%2Ffibonacci-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwmartinmimi%2Ffibonacci-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwmartinmimi%2Ffibonacci-java/lists"}