An open API service indexing awesome lists of open source software.

https://github.com/hemangsharma/josephus-problem-solver

A simple GUI application to solve the Josephus problem, a classic mathematical puzzle.
https://github.com/hemangsharma/josephus-problem-solver

Last synced: 2 months ago
JSON representation

A simple GUI application to solve the Josephus problem, a classic mathematical puzzle.

Awesome Lists containing this project

README

        

# Josephus Problem Solver
A GUI application to solve the Josephus problem, a classic mathematical puzzle.
## What is the Josephus problem?
The Josephus problem is a well-known mathematical puzzle that involves finding the position of a person in a circle who will survive a series of eliminations.
## Requirements
- Python 3.x
- Tkinter library (built-in with Python)
## How to use
- Clone the repository
- Run python main.py to start the application
- Enter the number of people in the circle
- Click the "Calculate" button to find the position of the survivor
## Image
![2](image/2.png)
![1](image/1.png)