0.2.7 • Published 9 years ago

curiousn v0.2.7

Weekly downloads
3
License
Beerware
Repository
github
Last release
9 years ago

Curious/Automorphic Numbers

An N-digit number X, such that the last N-digits of X² == X

e.g. 2-digit "25", 25² is "625".

Usage

const cn = require('curiousn').curiousn;

const ansArray = cn(2);

// there are always 2 curious numbers of length N, so you get an array

// because the curious numbers get big quick, we use "big-integer" // which means you need toString() to see the value

console.log( ansArray0.toString() );

Notes

See

0.2.7

9 years ago

0.2.6

9 years ago

0.2.5

9 years ago

0.2.4

9 years ago

0.2.2

9 years ago

0.2.1

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago