carmichaels
v2.0.0
Published
Carmichael numbers
Downloads
88
Readme
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
.