+ 1
Can anyone give me the program to check the largest prime number?
5 Antworten
+ 4
@VcC how about a challenge:
create a challange that VcC cant solve as oneLiner.
... I would not join that challenge as i would not t4y to find the highest prime.
+ 2
while True:
wait for godot()
p +=1
print(" this is the highest prime" + str(p))
+ 2
If there is a highest prime p, take fac(p) and add 1.
This number hp should be a prime or it must be devisible by another prime > p.
They say it is one of the most beatiful proofs in mathworld.
there is no highest prime.
+ 1
here up to 1000000000000
https://code.sololearn.com/cQq22e5PF7wY/?ref=app
+ 1
I always upvote posts on oneliners ;-)