PalindromicPrimes
A ruby gem for getting 'n' palindromic prime numbers :)
Installation
Add this line to your application's Gemfile:
gem 'palindromic_primes'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install palindromic_primes
Usage
require 'palindromic_primes'
#Will get n palindromic prime numbers
PalindromicPrimes.palindromic_primes(4)
=> [2, 3, 5, 7]
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/dgarciaap/palindromic_primes.