Git Product home page Git Product logo

primzahlen-suchen-fermat-lagrange-winforms-v2.1.0's Introduction

Primzahlen-Suchen-Fermat-Lagrange-WinForms

Primzahlen Suchen mit den Formeln der Mathematiker

  • Pierre de Fermat
  • Joseph-Louis Lagrange

Dadurch höhere Sicherheit das Prim ist!

Fast keine Grenzen der Stellen mehr!! :))))

Animation

1000 Stellen und Mehr kein Problem für dieses Programm! :)))

Motor des Programms ist die statische ModPow() Methode von der Klasse BigInteger.

Basis eingeben von 2 Angefangen, je höher desto sicherer Prim aber dauert auch länger.
Denn es werden alle Basise durchgerechnet bevor Prim Test bestanden wird
(von 2 bis zur Angegebenen). Schon mit Basis 20 werden mit dem Lagrange Test
starke fermatische Pseudoprimzahlen Erkannt und Verworfen!

Website for primes ... up to 16 digits


Für Mathematiker (Fermat):

a = Basis
P = Primzahl

Formel:    
a hoch (P-1) Kongruent zu 1 (Modulo P)

Für Mathematiker (Lagrange):

a = Basis
P = Primzahl

Formel:    
a hoch ((P-1)/2) Kongruent zu 1 oder P-1 (Modulo P)

Ps:

In den meisten Erklärungen fehlt die 0 als gültiges Ergebnis!:

  • Fermat: a hoch (P-1) Kongruent zu 1 oder 0 (Modulo P)
  • Lagrange: a hoch ((P-1)/2) Kongruent zu 1 oder 0 oder P-1 (Modulo P)

Warum 0

Entsteht immer wenn Basis und Primzahl den gleichen Wert haben
oder die Basis ein Vielfaches von der Primzahl ist

Gilt für beide Tests!

primzahlen-suchen-fermat-lagrange-winforms-v2.1.0's People

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

pixi1

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.