Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Setup instructions

Prerequisites

To use this software, ensure you have the following installed on your system:

  1. Python 3.x: Download and install Python from python.org.
  2. SQLite3: Ensure SQLite3 is installed on your system. Most Linux distributions come with SQLite pre-installed. You can check by running:
    sqlite3 --version
    If not installed, you can install it using your package manager. For example:
    sudo apt install sqlite3

Installation

  1. Clone this repository to your local machine:
    git clone <repository-url>
  2. Navigate to the project directory:
    cd Harkka

Usage

  1. Run the prime_factors.py script to calculate prime factors:
    python src/prime_factors.py
    Follow the on-screen instructions to input a number and calculate its prime factors. The required SQLite database will be automatically created if it doesn't exist when you run the application for the first time. A separate values_and_prime_factors folder will be created to the project root containing text files from previously calculated values where the value is set as the file name and it's prime factors as the file content.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages