ZCubes/Prime Gaps
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Prime Gaps
This video shows how to compute the gap between the prime numbers using ZCubes. You can easily generate large number of primes and get the gaps of these as a series and conduct further analysis.
Video
Code
ps=PRIMES(100000) .map((x,i,d)=>d[i]-d[i-1]) .slice(1) ~
© Copyright 1996-2021, ZCubes, Inc.