Advertisement
MatsGranvik

Array plot comparison between zeta zeros and random numbers.

Oct 12th, 2017
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. (*Set nn=2000 for comparison to the Random case:*)
  2. nn = 200;
  3. Monitor[A =
  4. Table[Table[(Re[
  5. k^(0 + Pi*N[n]*I*
  6. Im[ZetaZero[n]]/(2*Pi*Exp[1]*
  7. Exp[ProductLog[(N[n] - 11/8)/Exp[1]]]))]), {k, 1,
  8. nn}], {n, 1, nn}];, Floor[n]]; g1 =
  9. ArrayPlot[
  10. A]
  11. (*Replace Im[ZetaZero[n]] with the precomputed Odlyzko zeros*) \
  12. (*for faster computation.*)
  13.  
  14. bb = RandomReal[{1 - 1/100, 1 + 1/100}, 2000]; Monitor[
  15. A = Table[
  16. Table[(Re[k^(0 + Pi*N[n]*I*bb[[n]])]), {k, 1, 2000}], {n, 1,
  17. 2000}];, Floor[n]]; g1 = ArrayPlot[A]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement