Quotes help make search much faster. Example: "Practice Makes Perfect"

Showing posts with label Sum of Primes. Show all posts
Showing posts with label Sum of Primes. Show all posts

Sunday, January 20, 2013

Sum of Prime Numbers Array Generator

Type in the maximum cut-off (For example, say you want all Prime number sums less than 1000, then type 1000):
Maximum Cut-off
Note: Iterations are limited to 1 million for now to avoid extremely long computation. This limits the values you can use for the maximum cut-off.

Generate

Array of Sum of Prime Numbers Less Than 1000

Below is an array containing the sum of consecutive prime numbers that's less than 1000. For example, the first entry is simply 2, the second entry, 5, is the sum of 2 and 3, the third entry, 10, is the sum of 2, 3 and 5, and so on and so forth.


[ 2,
  5,
  10,
  17,
  28,
  41,
  58,
  77,
  100,
  129,
  160,
  197,
  238,
  281,
  328,
  381,
  440,
  501,
  568,
  639,
  712,
  791,
  874,
  963 ]

This is an example of scrolling text using Javascript.

Popular Posts