I need to try to find a way of finding prime numbers efficiently using the current mathematical methods and operations in my Java source file and any other new ones I can find and implement - especially for a new third mode, finding any prime number after (greater) a given number input.
Todo:
- enable saving the output to a file along with or in place of printing
- implement this new third mode with maximum efficiency for current methods implemented
- alter existing ones to maximise efficiency (minimise the time taken)
I need to try to find a way of finding prime numbers efficiently using the current mathematical methods and operations in my Java source file and any other new ones I can find and implement - especially for a new third mode, finding any prime number after (greater) a given number input.
Todo: