mersenneforum.org  

Go Back   mersenneforum.org > Search Forums

Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: EdH
Forum: YAFU 2021-03-29, 20:19
Replies: 4
Views: 1,127
Posted By EdH
I need to review the docs more often. I find...

I need to review the docs more often. I find lots of neat things in there!

Thanks for all!
Forum: YAFU 2021-03-29, 18:11
Replies: 4
Views: 1,127
Posted By EdH
Thanks! I remembered nextprime(), but not...

Thanks! I remembered nextprime(), but not primes(). And, there's no way I would have remembered it needed 3 values. I'd have had to look it up.:smile:
Forum: YAFU 2021-03-28, 02:23
Replies: 4
Views: 1,127
Posted By EdH
nextprime() odd behavior?

Doesn't this seem a tiny bit odd?

Script (calling YAFU wip r395):
#!/bin/bash

np=2
while [ $np -lt 30 ]
do
printf "nextprime for $np is "
np=$(./yafu "nextprime($np)" -silent)
Showing results 1 to 3 of 3

 
All times are UTC. The time now is 11:59.


Thu Dec 2 11:59:28 UTC 2021 up 132 days, 6:28, 0 users, load averages: 1.34, 1.12, 1.10

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.