Coder Social home page Coder Social logo

basemax / isprime Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 11.06 MB

Sample code and project to calculate or check the prime numbers.

License: GNU General Public License v3.0

C++ 28.83% R 71.17%
c cpp prime-numbers prime-generator prime-number-calculations prime-numbers-algorythm prime-number prime-number-generation prime-number-algorithm prime-numbers-calculation

isprime's Introduction

isPrime

Sample code and project to calculate or check the prime numbers.

  • Check.cpp
  • Check.r

We calculate the prime numbers from 2 to 1999993 using that program in some seconds.

I has research about this subject in the 6 month ago, I has been write a research paper about this subject.

Maximum integer number supported in the most of the computers : +18,446,744,073,709,551,615


You can see the M74207281 Prime number if you think your system will not hang by click here. (Length: 22338619, File-Size: 21M)

$ wget https://raw.githubusercontent.com/BaseMax/isPrime/master/Prime-M74207281.txt

Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.12.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 22338619 (21M) [text/plain]
Saving to: ‘Prime-M74207281.txt’

Prime-M74207281.txt    100%[=============================================================>]  21.30M

2019-04-25 16:06:50  - ‘Prime-M74207281.txt’ saved [22338619/22338619]

Using

$ ./isPrime

> 20
2
3
5
7
11
13
17
19

Useful Links


.R is a file extension for a script written in R.

R is a programming language designed for statistical computing and graphics purposes.

isprime's People

Contributors

basemax avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

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.