fiveworlds Posted June 14, 2014 Share Posted June 14, 2014 (edited) I have a question. Why do we need the rieman function? computers seem to easily be able to compute the distribution of primes accurately. What would be the point in proving or disproving math about primes that may not necessarily be true. When there is already an alternate way of doing so using computers. Ps I dont think I had an account created here before but apparently I did. See apparently a lie was going around about prime numbers and internet security but prime numbers have nothing to do with internet security no bank uses prime numbers in their encryption algorithms contrary to the numbers tvshow. So why would computing primes not be completely useless. @echo offecho 2echo 3echo 2 > primenos.txtecho 3 >> primenos.txtset current=3:numbercalcset tim=3set /a max=%current%/5:tryset /a t=%current%/%tim%set /a u=%t%*%tim%if %u% EQU %current% goto noprimeset /a tim+=2if %tim% GTR %max% goto endtrygoto try:endtryecho %current%echo %current% >> primenos.txt:noprimeset /a current+=2if %current% GTR 100000 goto endgoto numbercalc:endpause Edited June 14, 2014 by fiveworlds Link to comment Share on other sites More sharing options...

## Recommended Posts

## Create an account or sign in to comment

You need to be a member in order to leave a comment

## Create an account

Sign up for a new account in our community. It's easy!

Register a new account## Sign in

Already have an account? Sign in here.

Sign In Now