{"id":25435765,"url":"https://github.com/quentin18/ulam-sequences","last_synced_at":"2025-06-24T06:36:22.885Z","repository":{"id":112299593,"uuid":"341996295","full_name":"Quentin18/ulam-sequences","owner":"Quentin18","description":"Résolution du problème 167 du Projet Euler sur les suites de Ulam","archived":false,"fork":false,"pushed_at":"2021-02-25T10:50:21.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-17T07:35:44.983Z","etag":null,"topics":["ulam"],"latest_commit_sha":null,"homepage":"https://projecteuler.net/problem=167","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/Quentin18.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":"2021-02-24T18:28:44.000Z","updated_at":"2021-02-25T10:50:23.000Z","dependencies_parsed_at":"2023-05-12T15:30:40.878Z","dependency_job_id":null,"html_url":"https://github.com/Quentin18/ulam-sequences","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/Quentin18%2Fulam-sequences","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quentin18%2Fulam-sequences/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quentin18%2Fulam-sequences/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quentin18%2Fulam-sequences/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Quentin18","download_url":"https://codeload.github.com/Quentin18/ulam-sequences/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254254036,"owners_count":22039792,"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":["ulam"],"created_at":"2025-02-17T07:31:55.264Z","updated_at":"2025-06-24T06:36:22.877Z","avatar_url":"https://github.com/Quentin18.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Investigating Ulam sequences\r\n\r\nRésolution du [problème 167](https://projecteuler.net/problem=167) du *Projet Euler* sur les suites de Ulam.\r\n\r\n- Le fichier *ulam.py* contient deux fonctions pour calculer le n-ième terme d'une suite de Ulam.\r\n- Le fichier *answer.py* contient les fonctions pour la résolution du problème.\r\n\r\n## Résultats\r\nLa solution du problème est **3916160068885**. Voici le résultat de l'exécution de la fonction `answer` :\r\n```\r\nPeriod: 32\r\nU(2, 5) = 393749999981\r\nPeriod: 26\r\nU(2, 7) = 484615384605\r\nPeriod: 444\r\nU(2, 9) = 400450450395\r\nPeriod: 1628\r\nU(2, 11) = 399877149781\r\nPeriod: 5906\r\nU(2, 13) = 399966136001\r\nPeriod: 80\r\nU(2, 15) = 637499999951\r\nPeriod: 126960\r\nU(2, 17) = 400001574629\r\nPeriod: 380882\r\nU(2, 19) = 399999473477\r\nPeriod: 2097152\r\nU(2, 21) = 399999900065\r\nResult: 3916160068885\r\nRuntime: 10.1290442943573 seconds\r\n```\r\n\r\n## Références\r\n- [Wikipedia](https://en.wikipedia.org/wiki/Ulam_number)\r\n- [WolframMathWorld](https://mathworld.wolfram.com/UlamSequence.html)\r\n\r\n## Auteur\r\n[Quentin Deschamps](mailto:quentindeschamps18@gmail.com)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquentin18%2Fulam-sequences","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquentin18%2Fulam-sequences","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquentin18%2Fulam-sequences/lists"}