Integer Integer An integer (from the Latin "integer" meaning "whole") is a number that can be written without a fractional component. For example, 21, 4, 0, and −2048 are integers, while 9.75, , and are not. The set of integers consists of zero (), the positive natural numbers (, , , …), also called "whole numbers" or "counting numbers", and their additive inverses (the negative integers, i.e., −1, −2, −3, …). The set of integers is often denoted by a boldface Z ("") or blackboard bold formula_1 (Unicode U+2124 ℤ) standing for the German word "Zahlen" (, "numbers"). The integers form
Harshad number Stated mathematically, let be a positive integer with digits when written in base , and let the digits be formula_1 (formula_2). (It follows that formula_1 must be either zero or a positive integer up to .) can be expressed as If there exists an integer such that the following holds, then is a harshad number in base : A number which is a harshad number in every number base is called an all-harshad number, or an all-Niven number. There are only four all-harshad numbers: 1, 2, 4, and 6 (The number 12 is a harshad number in all bases except