Primality check
https://primes.firebaseio.com/primalitytest/2.json
returns true
https://primes.firebaseio.com/primalitytest/4.json
returns false
Fetch ith prime
https://primes.firebaseio.com/ithprime/1.json
returns "2"
https://primes.firebaseio.com/ithprime/2.json
returns "3"
Largest known prime
This is the largest prime generated by this program
https://primes.firebaseio.com/largestprime.json
No of primes
This is the No. of primes generated by this program
https://primes.firebaseio.com/noofprimes.json
Installation (For developers)
- Clone the repo.
- mvn clean package assembly:single
- cd target
- java -jar Prime-<>-jar-with-dependencies.jar
System Requirements (For developers)
- java 1.7
- maven 3