1.0.0 • Published 11 years ago

carmichaels v1.0.0

Weekly downloads
19
License
MIT
Repository
github
Last release
11 years ago

carmichaels

Carmichael numbers. Sourced from OEIS A002997, A006931, and A074379.

Example

const carmichaels = require('carmichaels');
// => [
// =>   '561',
// =>   '1105',
// =>   '1729',
// =>   ...
// =>   '349407515342287435050603204719587201',
// =>   '125861887849639969847638681038680787361',
// =>   '12758106140074522771498516740500829830401'
// => ]

Installation

$ npm install carmichaels

API

const carmichaels = require('carmichaels');

carmichaels

An Array of Carmichael numbers. Each number is a String in order to preserve precision of those that are greater than Number.MAX_SAFE_INTEGER.