wer eine wirklich gute optimierung zur primzahlenberechnung sucht, sollte sich mal das sieb des Eratosthenes anschauen
bzw den Miller-Rabin-Test für sehr hohe primzahlen http://www.jjam.de/Java/Applets/Prim...tosthenes.html http://www.jjam.de/Java/Applets/Prim...ler_Rabin.html
__________________ http://livehabo.hackerboard.de | http://livebb.sourceforge.net |