#happy #numbers #determine #range #distinct

bin+lib happynum

A package for determining happy numbers

2 stable releases

1.4.2 Jun 2, 2019

#5 in #distinct

MIT license

5KB
79 lines

Distinct Happy Number Range Counter

This was largely a project simply for the purpose of allowing me to test using Rust. It has largely the same functionality as another repo of mine.

For information on happy numbers please see the wikipedia page.

Usage

  • To build the library run cargo build.
  • To test running the binary run cargo run.
  • To test running the optimised binary run cargo run --release.
  • To just install run cargo install --path ./.

Dependencies

~1.5MB
~25K SLoC