Skip to content

Latest commit

 

History

History

harshad-or-niven-series

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Harshad or Niven series

FCC link

The Harshad or Niven numbers are positive integers ≥ 1 that are divisible by the sum of their digits.

For example, 42 is a Harshad number as 42 is divisible by (4 + 2) without remainder.

Assume that the series is defined as the numbers in increasing order.