ensj / primes Goto Github PK
View Code? Open in Web Editor NEWA collection of useful number theoretic functions. Contains several primality tests, and the ECM factoring algorithm as well.
A collection of useful number theoretic functions. Contains several primality tests, and the ECM factoring algorithm as well.
The current fib(n) algorithm generates the nth fibonacci number and just spits that out. Ideally, we'd have it print out 0-nth numbers as an array, and additionally give the nth power of [[0, 1], [1, 1]] (So Pair<array_like, array_like>). We would then have an overloaded version of fib(n) that accepts an array_like as a parameter, so that we can continue off from the nth fib number to the n+mth fib number.
Integrate fib(n), ECFactor(n, r, tries), and FibProduct to start generating pseudoprimes (and perhaps check to confirm that they are pseudoprime)
Refer to title. This is high priority.
We need a good primality test to test if numbers are prime. Pepin's test won't cut it.
From my understanding, rand() only generates 32 bit numbers. (note this may not be an issue at all.)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.