{"id":20768315,"url":"https://github.com/pprattis/Permutations-and-Lexicographic-order","last_synced_at":"2025-09-28T01:32:25.395Z","repository":{"id":194622003,"uuid":"215007615","full_name":"PetePrattis/Permutations-and-Lexicographic-order","owner":"PetePrattis","description":"First program accepts as an input a permutation and prints the permutation rank in the lexicpgraphic order of all same length permutations. Second program accepts two integers n and k as inputs and prints the permutation of [n] which is at position k in the lexicographic order of all its permutations of [n].","archived":false,"fork":false,"pushed_at":"2019-10-14T10:13:16.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-17T11:53:31.348Z","etag":null,"topics":["discrete-mathematics","lexicographic-sort","permutation-rank","permutations","program","python","student"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PetePrattis.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}},"created_at":"2019-10-14T09:54:24.000Z","updated_at":"2019-10-15T15:31:09.000Z","dependencies_parsed_at":"2023-09-14T10:27:48.068Z","dependency_job_id":null,"html_url":"https://github.com/PetePrattis/Permutations-and-Lexicographic-order","commit_stats":null,"previous_names":["peteprattis/permutations-and-lexicographic-order"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PetePrattis%2FPermutations-and-Lexicographic-order","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PetePrattis%2FPermutations-and-Lexicographic-order/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PetePrattis%2FPermutations-and-Lexicographic-order/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PetePrattis%2FPermutations-and-Lexicographic-order/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PetePrattis","download_url":"https://codeload.github.com/PetePrattis/Permutations-and-Lexicographic-order/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234475334,"owners_count":18839360,"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":["discrete-mathematics","lexicographic-sort","permutation-rank","permutations","program","python","student"],"created_at":"2024-11-17T11:37:35.108Z","updated_at":"2025-09-28T01:32:20.093Z","avatar_url":"https://github.com/PetePrattis.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A Python Exercise\n\n**This is a simple python project from my early days as a Computer Science student**\n\n_This programm was created for the second semester class Discrete mathematics_\n\n\u003e #### Description of project\n\u003e\n\u003e\u003eA program that accepts as an input a permutation in a list format from natural numbers separated by the space character (eg 7 10 9 11 2 1 3 5 6 8 4) and prints the permutation rank in the lexicographic order of all same length permutations.\n\u003e\n\u003e\u003eA program that accepts two integers n and k as inputs and prints the permutation of [n] which is at position k in the lexicographic order of all its permutations of [n].\n\n\u003e #### About this project\n\u003e\n\u003e - The comments to make the code understandable, are within the .py archive\n\u003e - This program runs for Python version 3.6+\n\u003e - This repository was created to show the variety of the work I did and experience I gained as a student\n\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpprattis%2FPermutations-and-Lexicographic-order","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpprattis%2FPermutations-and-Lexicographic-order","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpprattis%2FPermutations-and-Lexicographic-order/lists"}