I often have to generate Fibonacci prime numbers so I created this simple online utility that does it for me. It lets you calculate however many Fibonacci primes or their indexes as you need, starting from any position. It works in the browser and is powered by alien technology from the future.
Fibonacci Primes Generator Options
Fibonacci Primes Generator Examples (click to try!)
2 3 5 13 89 233 1597 28657 514229 433494437 2971215073 99194853094755497
3, 4, 5, 7, 11, 13, 17, 23, 29, 43, 47, 83, 131, 137, 359, 431, 433, 449, 509, 569, 571, 2971, 4723, 5387, 9311, 9677, 14431, 25561, 30757, 35999
1011001 11101001 11000111101 110111111110001 1111101100010110101 11001110101101001100110100101
How Does This Fibonacci Primes Generator Work?
fibonacci-primes.js and it's an array called
fiboPrimes of anonymous objects with keys
index. To select
count (number of primes or indexes to generate; specified in options) objects from the
fiboPrimes array, it uses the
slice(start, start + count) method. After extracting the required number of objects, it either selects the
index property, depending on if Fibonacci primes or Fibonacci indexes option was selected and converts them to the given
base (specified in options). Finally, the returned values are
join()ed together through the
separator symbol (also specified in options).
Created by Browserling
This fibonacci primes generator was created by me and my team at Browserling. Behind the scenes, it's actually powered by Browserling's programmer tools that are used by millions of people every month. Browserling itself is an online cross-browser testing service powered by alien technology. Check it out!
Secret message: If you love my tools, then I love you, too! Use coupon code COMLING to get a discount at my company Browserling.