https://github.com/TheAlgorithms/Java/blob/master/Others/FindingPrimes.java https://github.com/TheAlgorithms/Java/blob/master/Others/SieveOfEratosthenes.java Both algorithms used the SieveOfEratosthenes algorithm as a way to find decimals.