Code Monkey home page Code Monkey logo

carmichael's Introduction

Modular Subset Product Problem (MSPP)

GPLv2

In this repository we provide some code for solving Modular Subset Product Problem.
We apply this problem to find Carmichael numbers by using Erdos algorithm (which uses MSPP), see section 3 of paper. Published as:
K. A. Draziotis, V. Martidis and S. Tiganourias, Product Subset Problem : Applications to number theory and cryptography, Book Chapter, Analysis, Cryptography and Information Science, Chapter 5, Vol. 10, World Scientific, 2023. https://www.worldscientific.com/worl... Applications of MSPP to cryptography see here

The code

We provide Sagemath code, which we used to build all the (small instances) tables.

We also provide c++ single and multi core variants. Using the single core case we managed to produce a Carmichael number with 19589 prime factors in a I5/16Gb Linux PC in three hours.

Tables for Carmichael Numbers

We provide tables for Carmichael numbers in directory Tables.

For instance,

5-80.txt contains Carmichael numbers with 5 to 80 prime factors.

2542.txt contains a Carmichael number with 2542 prime factors.

Get the tables

You can download the source code with the tables by using

git clone https://github.com/drazioti/Carmichael.git

Contribute

First fork this repository. Make the changes you want (e.g. update some tables, correct a bug to the code etc)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.