there aren't logarythmes in dbp, so I've made a function
first, I have to tell you that there are two restrictions :
- it doesn't work for the number very high
- it doesn't work for the "first numbers" ("nombres premiers" in french => a number that can be divised only by one and itself) higher than the last first number that you have stocked in the array npr()
but theses restrictions aren't importants because you can easily upgrade this snippet
how do you can upgrade this code ? it's easy :
first, you need a calculator that can give the log of a number in base 10 (I use my TI-30X)
then, you go there : http://no-reality.dyn.dhs.org/public/primes/myriade.php3?myriade=0
after that, look in the code the last first number that is in the array npr() (it is 227 in the code that I'll post)
find in the web site the next first number (it is 229)
add it in the array (make it wider in the dim, not (49) but (50) )
and now, you have one more first number => you can have logs of numbers a bit higher
now, the code : click on the button under this message
Bu$herie
How many civilians is he going to kill ? he's going to burn in hell, and I hope that his pain will make him inderstand !