A Short Note on Computing Permutations

We discuss an algorithm for generating all permutations of numbers between 1 and N. The algorithm is short and efficient, yet its behavior is not obvious from the code, mostly owing to the recursion. The discussion touches upon a few interesting methodological issues and brings in an educational cas...

Full description

Saved in:
Bibliographic Details
Published in:2023 18th Conference on Computer Science and Intelligence Systems (FedCSIS) Vol. 35; pp. 979 - 982
Main Authors: Gburzynski, Pawel, Zalewski, Janusz
Format: Conference Proceeding Journal Article
Language:English
Published: Polish Information Processing Society 2023
Subjects:
ISSN:2300-5963
Online Access:Get full text
Tags: Add Tag
No Tags, Be the first to tag this record!
Abstract We discuss an algorithm for generating all permutations of numbers between 1 and N. The algorithm is short and efficient, yet its behavior is not obvious from the code, mostly owing to the recursion. The discussion touches upon a few interesting methodological issues and brings in an educational case study in recursion.
AbstractList We discuss an algorithm for generating all permutations of numbers between 1 and N. The algorithm is short and efficient, yet its behavior is not obvious from the code, mostly owing to the recursion. The discussion touches upon a few interesting methodological issues and brings in an educational case study in recursion.
Author Gburzynski, Pawel
Zalewski, Janusz
Author_xml – sequence: 1
  givenname: Pawel
  orcidid: 0000-0002-1844-6110
  surname: Gburzynski
  fullname: Gburzynski, Pawel
  organization: Vistula University,Department of Computer Engineering,Warsaw,Poland,02-787
– sequence: 2
  givenname: Janusz
  orcidid: 0000-0002-2823-0153
  surname: Zalewski
  fullname: Zalewski, Janusz
  organization: Ignacy Mościcki State Professional College,Department of Informatics,Ciechanów,Poland,06-400
BookMark eNo9z8FLwzAUBvAoCs7Zi2cPPXmrvuQlaXIcw-lgqKCeS9K8zI6tGW138L9fceLpfXx8_OBds4s2tcTYLYcHriTaRwECF0ppc8YyWxqDVpdSlkaes4lAgEJZjVcs6_sNAAguQUg9Yfez_OM7dUP-mgbKU5vP025_GJp2nb9TtzsMbmhS29-wy-i2PWV_d8q-Fk-f85di9fa8nM9WRRCCm0KQ0VJGDdYE4U3wBqPkJtbWc-88qjBGrtU4UIDexBi4DlCHUpXSE-CULU9uSG5T7btm57qfKrmm-i1St65cNzT1lioBPOrggADs-GiwoKK0hMKTxFjjaN2drIaI_i0OCFqAxiNzzVjc
ContentType Conference Proceeding
Journal Article
DBID 6IE
6IL
CBEJK
RIE
RIL
DOA
DOI 10.15439/2023F5568
DatabaseName IEEE Electronic Library (IEL) Conference Proceedings
IEEE Xplore POP ALL
IEEE Xplore All Conference Proceedings
IEEE Electronic Library (IEL)
IEEE Proceedings Order Plans (POP All) 1998-Present
DOAJ: Directory of Open Access Journals
DatabaseTitleList
Database_xml – sequence: 1
  dbid: DOA
  name: DOAJ Directory of Open Access Journals
  url: https://www.doaj.org/
  sourceTypes: Open Website
– sequence: 2
  dbid: RIE
  name: IEL
  url: https://ieeexplore.ieee.org/
  sourceTypes: Publisher
DeliveryMethod fulltext_linktorsrc
Discipline Computer Science
EISBN 9788396744784
8396744785
EISSN 2300-5963
EndPage 982
ExternalDocumentID oai_doaj_org_article_201f6da0e009447d905f49e32be43fc3
10306206
Genre orig-research
GroupedDBID 6IE
6IL
CBEJK
RIE
RIL
6IF
6IN
AAJGR
AAWTH
ABLEC
ADBBV
ADZIZ
ALMA_UNASSIGNED_HOLDINGS
BCNDV
BEFXN
BFFAM
BGNUA
BKEBE
BPEOZ
CHZPO
GROUPED_DOAJ
IEGSK
M~E
OCL
OK1
Y2W
ID FETCH-LOGICAL-d2218-2e8644f6098d2b8db83f418fc9b1bab35dfc9165609503b8ffd16d0cd7574be03
IEDL.DBID RIE
IngestDate Fri Oct 03 12:38:58 EDT 2025
Wed Aug 27 02:32:14 EDT 2025
IsDoiOpenAccess true
IsOpenAccess true
IsPeerReviewed true
IsScholarly true
Language English
LinkModel DirectLink
MergedId FETCHMERGED-LOGICAL-d2218-2e8644f6098d2b8db83f418fc9b1bab35dfc9165609503b8ffd16d0cd7574be03
ORCID 0000-0002-2823-0153
0000-0002-1844-6110
OpenAccessLink https://doaj.org/article/201f6da0e009447d905f49e32be43fc3
PageCount 4
ParticipantIDs ieee_primary_10306206
doaj_primary_oai_doaj_org_article_201f6da0e009447d905f49e32be43fc3
PublicationCentury 2000
PublicationDate 2023-00-00
PublicationDateYYYYMMDD 2023-01-01
PublicationDate_xml – year: 2023
  text: 2023-00-00
PublicationDecade 2020
PublicationTitle 2023 18th Conference on Computer Science and Intelligence Systems (FedCSIS)
PublicationTitleAbbrev FEDCSIS
PublicationYear 2023
Publisher Polish Information Processing Society
Publisher_xml – name: Polish Information Processing Society
SSID ssj0002140246
Score 2.2054508
Snippet We discuss an algorithm for generating all permutations of numbers between 1 and N. The algorithm is short and efficient, yet its behavior is not obvious from...
SourceID doaj
ieee
SourceType Open Website
Publisher
StartPage 979
SubjectTerms algorithm analysis
algorithms
permutations
recursion
SummonAdditionalLinks – databaseName: DOAJ: Directory of Open Access Journals
  dbid: DOA
  link: http://cvtisr.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwrV3LSsQwFL3I4MKNzxHHF1mIu0KapGmyHMXiQgYXKrMrSXODbtphHn6_SVplXLlxF0pI6Qm99548zgG4YdJZjSgy47nLhNA0s4gqXnanTqPxebJve3sqZzM1n-vnLauveCaslwfugQvkPPfSGYrxDJwonaaFFxo5syi4b5LOJy31FpmKMZgF3sCEHPRIi5B1I8vnVdTbGtT5f9mppGxSHcL-UAaSaf_6I9jB9hgOvi0WyPDHncDtlKzeQ4VM2m6NpGtJk7qEfEMWIaZu-o301Rheq4eX-8dssDbIHAtJNWOoQiHiJdXKMaucVdyLXPlG29waywsXmkkYRxeUW-W9y6WjjSuLUlik_BRGbdfiGRDHfO5pwIQaJixlRlprWCS9qEyIdRO4i59bL3r1ijrqSacHAeV6QLn-C-UJjCNYP4NEczLJqDz_j8EvYC9OTr-wcQmj9XKDV7DbfK4_VsvrNLFfm4KmMw
  priority: 102
  providerName: Directory of Open Access Journals
Title A Short Note on Computing Permutations
URI https://ieeexplore.ieee.org/document/10306206
https://doaj.org/article/201f6da0e009447d905f49e32be43fc3
Volume 35
hasFullText 1
inHoldings 1
isFullTextHit
isPrint
link http://cvtisr.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwlV1LT8QgECa68eBJjWtcH5sejLcqBUrhqGY3HnSziY_srYHOEL20Zl9Hf7tA6xoPHrw0hBBIB8LMAN_3EXLBJFiNKFLjOKRCaJpaRBXA7hQ0GpdF-bbXh2IyUbOZnnZg9YiFQcT4-AyvQjHe5UNTrcJR2XWQxJIsEGxvF4VswVod5WjuHWtI5Pk4UGp1BPy_FFOiwxjv_XOofdL_gd4l041TOSBbWB-Sy5vk6c3HycmkWWLS1EmrxeAbJFO_s67a6_RFn7yMR89392kncJAC8641Zah8OOIk1QqYVWAVdyJTrtI2s8byHHwx0uPonHKrnINMAq2gyAthkfIj0qubGo9JAsxljjpva8OEpcxIaw0LqS8q43e8AbkNFik_Wg6LMrBKxwr_12W3SEsfDDgJhmJ4bygK0DT3PSJnFgV3FR-QfrDUppNvI538UX9KdsOUtCcWZ6S3nK_wnOxU6-X7Yj6M6a__Pn6OhnEqvwCn155s
linkProvider IEEE
linkToHtml http://cvtisr.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwlV1LS8QwEA6igp5UXHF99iDeqmmStslRxWXFtSy4yt5K0pmgl1b24e83SeuKBw_eQggJmQmZyeP7PkIuWAZGIYpYWw6xEIrGBlF6sDsFhdomQb7tdZQXhZxO1bgDqwcsDCKGz2d45YvhLR-aaumvyq69JFbGPMH2hpfO6uBaHelo6kKrP8rzgSfV6ij4f2mmhJAx2PnnYLuk9wO-i8arsLJH1rDeJ5c30fOby5Sjollg1NRRq8bgGkRjt7cu2wf1eY-8DO4nd8O4kziIgbngGjOULiGxGVUSmJFgJLcikbZSJjHa8BRcMRDkqJRyI62FJANaQZ7mwiDlB2S9bmo8JBEwm1hqnbU1E4YynRmjmT_8otRuz-uTW2-R8qNlsSg9r3SocLMuu2VaunTAZqAp-h-HIgdFU9cjcmZQcFvxPul5S606-TbS0R_152RrOHkalaOH4vGYbHv3tPcXJ2R9MVviKdmsPhfv89lZcOUXnYufjw
openUrl ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=proceeding&rft.title=2023+18th+Conference+on+Computer+Science+and+Intelligence+Systems+%28FedCSIS%29&rft.atitle=A+Short+Note+on+Computing+Permutations&rft.au=Gburzynski%2C+Pawel&rft.au=Zalewski%2C+Janusz&rft.date=2023-01-01&rft.pub=Polish+Information+Processing+Society&rft.spage=979&rft.epage=982&rft_id=info:doi/10.15439%2F2023F5568&rft.externalDocID=10306206