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.
- Host: GitHub
- URL: https://github.com/hemangsharma/josephus-problem-solver
- Owner: hemangsharma
- Created: 2024-09-15T20:46:53.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-09-15T20:53:05.000Z (8 months ago)
- Last Synced: 2024-09-15T21:53:11.263Z (8 months ago)
- Language: Python
- Size: 149 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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

