playing-with-numbers-node icon indicating copy to clipboard operation
playing-with-numbers-node copied to clipboard

A simple node.js app that is used to calculate/check some special types of numbers.

Results 24 playing-with-numbers-node issues
Sort by recently updated
recently updated
newest added
trafficstars

Issue #76 Added /triplets endpoint and also tests for the same. Please review this PR and if you're satisfied put hacktoberfest-accepted label on it. : )

- The idea is to generate all the divisors of the number `N` and for all divisor check `D` divides `2^D-2`. - If this condition satisfy for all divisors then...

__Super-Poulet__ number is a Poulet number _pseudoprime_ to base 2 if each and every divisor D divides `2^D - 2`

Super-D Number is a number N such that D*ND contains a substring made of D digits containing D only, where D is more than 1 and less than 10

Add /automorphic-number route in the routes file . Send the message whether the number is automorphic or not with 200 status

Super Niven Number is a number N if it is divisible not only by the sum of its digits but also by the sum of any subset of its (nonzero)...

**Please describe the feature you want this project to offer** The endpoint `/triplets` which will tell, if the given sides form a right-angled triangle. **Describe the solution you'd like** 1....

Super-D Number is a number N such that D***(N^D)** contains a substring made of D digits containing D only, where D is more than 1 and less than 10 .

Please describe the feature you want this project to offer Add a route to find whether a year is Leap Year or not. Describe the solution you'd like Adding logic...

enhancement
good first issue
hacktoberfest
Difficulty: easy