mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Data

Reply
 
Thread Tools
Old 2014-07-27, 14:01   #34
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

22×3×499 Posts
Default

Quote:
Originally Posted by Kathegetes View Post
America has a atom clock for time synchronous many lands and GPS dateliyes in space. Does she have same asfor primes in order and time? Try again. Who do you look to for primes in count and order?
Well, up to 10^17, there's http://primes.utm.edu/nthprime/
CRGreathouse is offline   Reply With Quote
Old 2014-07-27, 15:29   #35
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

22·3·499 Posts
Default

Quote:
Originally Posted by danaj View Post
I do as well, but I was nervous about C libraries (logl) and floating point accuracy on random machines. Admittedly I'm probably not nearly paranoid enough for that, so I should just do the calculations assuming reasonable double-precision. It just makes my numbers one too far, which I viewed as a reasonable sacrifice at the time. Most of my effort was spent on tightening the bounds for smaller inputs.
I just used excessive precision in gp.

Quote:
Originally Posted by danaj View Post
Some of it is my using a fast machine (4.3GHz i4770K), some is how sensitive his code is to all the myriad tuning factors.
Yes, I just have everything using the defaults.
CRGreathouse is offline   Reply With Quote
Old 2014-07-27, 22:01   #36
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

10111011001002 Posts
Default

Hmm. I installed and tested Math::Prime::Util::prime_count and it actually seems to be slower than the Bau's program:

Code:
> ./count 1000000000000000000
pi(1000000000000000000) ~ 24739954284265752 (about 37.5 min)
pi(1000000000000000000) = 24739954287740860; 2771.51 seconds.
> time perl -MMath::Prime::Util -e 'print Math::Prime::Util::prime_count("1000000000000000000")'
24739954287740860
real	58m30.056s
user	57m41.044s
sys	0m2.040s
46 minutes vs. 58 minutes. (Ignore my wrapper program...!)
CRGreathouse is offline   Reply With Quote
Old 2014-07-27, 23:51   #37
Kathegetes
 
Kathegetes's Avatar
 
Jul 2012
Paris, France.

32·11 Posts
Lightbulb Thank you. I will make a data (tablet?) for answer about unclear up up

Quote:
Originally Posted by Uncwilly View Post
Do you mean:
↑↑↓↓←→←→BA?
up up down. First I am too say how scared and also pleased. You and friends are seeing my work and completing it.
The count of perfect numbers less than a given term by continued 8∆ as fixed by Batalov is conditioned ( may be wrong but cost me a lot of money ).
Please confirm the greatest Mp in a term has to limit date produced its Pn in the next term ( subsequent, it follows in order term?). Example possibilities if pattern holds meaning best made by such as you please.
100% pattern holds~ predict
( If heads in 47 tosses, coin maybe has no tail ) q.v. Bernoulli " Ars Conjectandi " on degree of moral certain in law of great numbers. Use GIMPS data. I have not seen if past 40, please check.
All friends can make more And better tables from given data. Katydid heaven.
Motorola Droid symbols mean your arrows by terms.
Count of Mp minus count of Pn=n (0,1,2,3,4,5,6...

Term(n)Arrow
0___1___^
1___1___>
2___1___>
3___1___>
4___2___^^ Here comes idea based on weak science( Katy not weak in science) metaphor only. We know these numbers are not = to a ball. Throw up the ball. Ball comes down so far away. Faster up, same down, farther away. Escape velocity, ball goes around. Here we see pattern within pattern, cycle within cycle. Except ball may not stay in constant orbit but spiral out further and further if it doesn't come down. Sorry must finish this later. Work in hops field now. Children of family home for Sunday meal. Not all pagans; just work on Sundays a bit.
Kathegetes is offline   Reply With Quote
Old 2014-07-27, 23:58   #38
danaj
 
"Dana Jacobsen"
Feb 2011
Bangkok, TH

2·5·7·13 Posts
Default

Quote:
Originally Posted by CRGreathouse View Post
Hmm. I installed and tested Math::Prime::Util::prime_count and it actually seems to be slower than the Bau's program
Hmm, could be the popcount thing (you have to somehow tell gcc to compile using popcount, e.g. -march=native, or it won't use it -- if I put the asm in, it faults on machines that don't have it). Or it could very well be that Bau's program is just faster!

Kim found that in his testing, the method I'm using for prefix sums is faster at small sizes, but for large ones, the Fenwick trees that Oliveira e Silva recommends are faster. I think without popcount, Bau's method is faster than mine, but I liked how mine was more amenable to parallel use. I should try Fenwick trees.

Re precision: using gp is no fair. :) Good choice.

MPU supports nth prime as well. It computes the values rather than using tables, which is good and bad. There's also approximations and upper/lower bounds for counts and nth primes. Twin primes also have count, nth, and approximations.
danaj is offline   Reply With Quote
Old 2014-07-28, 04:01   #39
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

22×3×499 Posts
Default

Quote:
Originally Posted by danaj View Post
Hmm, could be the popcount thing (you have to somehow tell gcc to compile using popcount, e.g. -march=native, or it won't use it -- if I put the asm in, it faults on machines that don't have it). Or it could very well be that Bau's program is just faster!
I have to fess up -- I just told cpan to install it, I didn't even attempt to hack in my architecture. I'd like to do this but I'll have to find out how to get the right parts of the source and a build file. (I'm proficient in Perl, but by no means a master.) Fortunately my CPU does have a 1-cycle popcount instruction.

Bau's comments in his program lead me to believe he thought it wasn't that fast. At least that's what I thought when I read them a few years back.

Quote:
Originally Posted by danaj View Post
Kim found that in his testing, the method I'm using for prefix sums is faster at small sizes, but for large ones, the Fenwick trees that Oliveira e Silva recommends are faster. I think without popcount, Bau's method is faster than mine, but I liked how mine was more amenable to parallel use. I should try Fenwick trees.
Hmm, not even familiar with the term! I'll have to look into it.

Quote:
Originally Posted by danaj View Post
MPU supports nth prime as well. It computes the values rather than using tables, which is good and bad. There's also approximations and upper/lower bounds for counts and nth primes. Twin primes also have count, nth, and approximations.
I read through the cpan page. Nice piece of work!
CRGreathouse is offline   Reply With Quote
Old 2014-07-28, 16:15   #40
Kathegetes
 
Kathegetes's Avatar
 
Jul 2012
Paris, France.

32×11 Posts
Smile Thank You. I went there. It is fun. You are right, it doesn't go so far.

Quote:
Originally Posted by CRGreathouse View Post
Well, up to 10^17, there's http://primes.utm.edu/nthprime/
In the whole world With so much interest, I guessed there to be an official prime site by China government or such. I heard they have a proud computer. America wants better than EU weather data. Different model for Sandy and Katrina etc. Then people must guess.
Someone says Oliveira person may have a program they think might get me more data. You have not told me how much it cost you. So I guess it was a little interesting.
I'm about to be banished so I want to put a beautiful thing in the soap box corner by the end of this new week. It will be about polygons, fun, and little surprises. People computers can chose great big n= 3,4,5...( I can only do 360*60*60*10) then all these beautiful things happen and you wonder.
It will be a blue line that shows a Zygote game you have to program to play. People won't do it unless someone says, " I loved it."
It has zero words except the name. We know everybody can make them.
Kathegetes is offline   Reply With Quote
Old 2014-07-28, 18:49   #41
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

22·3·499 Posts
Default

Quote:
Originally Posted by Kathegetes View Post
You have not told me how much it cost you. So I guess it was a little interesting.
The first four calculations were almost instant on PARI/GP. The fifth one I used that website to get an answer as fast as I could copy/paste it. The sixth one I couldn't compute so I used estimates in a script I had already written, and it took less time than the first four. So overall less than a second of my CPU time for a negligible total electric cost.
CRGreathouse is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Braswell: Low power, low cost mprime? Mark Rose Hardware 9 2015-11-26 22:23
Voting question Intel vs. AMD cost jasong Hardware 7 2015-02-02 19:23
Cost to compute prime Unregistered Information & Answers 30 2013-12-18 03:34
New report: Cost per Factor Found... chalsall GPU to 72 14 2011-12-09 16:54
V25.7 TF estimate way out ... or am I? petrw1 PrimeNet 5 2008-11-08 02:23

All times are UTC. The time now is 13:19.


Fri Jul 7 13:19:05 UTC 2023 up 323 days, 10:47, 0 users, load averages: 1.22, 1.27, 1.17

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, 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.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔