Functions from the world of recreational mathematics.
$ npm install recmath
var recmath = require('recmath');
recmath.happy(19);
Response:
{
n: 19,
"happy": true,
"seq": [19, 82, 68, 100, 1]
}
recmath.harshad(18);
Response:
{
n: 18,
"harshad": true,
"seq": [9, 2]
}