Josephus problem

GPTKB entity

Statements (25)
Predicate Object
gptkbp:instanceOf gptkb:mathematical_concept
gptkbp:application game theory
algorithm design
gptkbp:category gptkb:recreational_mathematics
number theory
gptkbp:describes elimination game
gptkbp:field gptkb:combinatorics
gptkb:theoretical_computer_science
gptkbp:firstDescribed ancient times
gptkbp:generalizes gptkb:generalized_Josephus_problem
gptkbp:hasVariant every k-th person eliminated
gptkbp:input step count
number of people
gptkbp:namedAfter gptkb:Flavius_Josephus
gptkbp:notableExample Josephus and 40 soldiers
gptkbp:output safe position
gptkbp:relatedTo permutation
circular linked list
gptkbp:solvedBy closed-form formula
recursive formula
gptkbp:supportsAlgorithm O(log n) time solution for k=2
O(n) time solution
gptkbp:bfsParent gptkb:Flavius_Josephus
gptkbp:bfsLayer 7
https://www.w3.org/2000/01/rdf-schema#label Josephus problem