Harshad number

Harshad number

A Harshad number, or Niven number in a given number base, is an integer that is divisible by the sum of its digits when written in that base. Harshad numbers were defined by D. R. Kaprekar, a mathematician from India. The word "Harshad" comes from the Sanskrit harṣa (joy) + da (give), meaning joy-giver. The Niven numbers take their name from Ivan M. Niven from a paper delivered at a conference on number theory in 1997. All integers between zero and n are Harshad numbers in base n.

Stated mathematically, let X be a positive integer with m digits when written in base n, and let the digits be ai (i = 0, 1, ..., m − 1). (It follows that ai must be either zero or a positive integer up to n − 1.) X can be expressed as

X=\sum_{i=0}^{m-1} a_i n^i.

If there exists an integer A such that the following holds, then X is a Harshad number in base n:

X=A\sum_{i=0}^{m-1} a_i.

The first 50 Harshad numbers with more than one digit in base 10 are (sequence A005349 in OEIS):

10, 12, 18, 20, 21, 24, 27, 30, 36, 40, 42, 45, 48, 50, 54, 60, 63, 70, 72, 80, 81, 84, 90, 100, 102, 108, 110, 111, 112, 114, 117, 120, 126, 132, 133, 135, 140, 144, 150, 152, 153, 156, 162, 171, 180, 190, 192, 195, 198, 200.

A number which is a Harshad number in any 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.

Contents

What numbers can be Harshad numbers?

Given the divisibility test for 9, one might be tempted to generalize that all numbers divisible by 9 are also Harshad numbers. But for the purpose of determining the Harshadness of n, the digits of n can only be added up once and n must be divisible by that sum; otherwise, it is not a Harshad number. For example, 99 is not a Harshad number, since 9 + 9 = 18, and 99 is not evenly divisible by 18.

The base number (and furthermore, its powers) will always be a Harshad number in its own base, since it will be represented as "10" and 1 + 0 = 1.

For a prime number to also be a Harshad number, it must be less than the base number, (that is, a 1-digit number) or the base number itself. Otherwise, the digits of the prime will add up to a number that is more than 1 but less than the prime, and obviously, it will not be divisible.

Although the sequence of factorials starts with Harshad numbers in base 10, not all factorials are Harshad numbers. 432! is the first that is not.

Consecutive Harshad numbers

H.G. Grundman proved in 1994 that, in base 10, no 21 consecutive integers are all Harshad numbers. She also found the smallest 20 consecutive integers that are all Harshad numbers; they exceed 1044363342786.

In binary, there are infinitely many sequences of four consecutive Harshad numbers; in ternary, there are infinitely many sequences of six consecutive Harshad numbers. Both of these facts were proven by T. Cai in 1996.

In general, such maximal sequences run from N · bk - b to N · bk + (b-1), where b is the base, k is a relatively large power, and N is a constant. Interpolating zeroes into N will not change the sequence of digital sums, so it is possible to convert any solution into a larger one by interpolating a suitable number of zeroes, just as 21 and 201 and 2001 are all Harshad numbers base 10. Thus any solution implies an infinite class of solutions.

Estimating the density of Harshad numbers

If we let N(x) denote the number of Harshad numbers ≤ x, then for any given ε > 0,

x^{1-\varepsilon} \ll N(x) \ll \frac{x\log\log x}{\log x}

as shown by Jean-Marie De Koninck and Nicolas Doyon; furthermore, De Koninck, Doyon and Kátai proved that

N(x)=(c+o(1))\frac{x}{\log x}

where c = (14/27) log 10 ≈ 1.1939.

Nivenmorphic numbers

A Nivenmorphic number or Harshadmorphic number for a given number base is an integer t such that there exists some Harshad number N whose digit sum is t, and t, written in that base, terminates N written in the same base.

For example, 18 is a Nivenmorphic number for base 10:

 16218 is a Harshad number
 16218 has 18 as digit sum
    18 terminates 16218

Sandro Boscaro determined that for base 10 all positive integers are Nivenmorphic numbers except 11.

Multiple Harshad numbers

Bloem (2005) defines a multiple Harshad number as a Harshad number that, when divided by the sum of its digits, produces another Harshad number. He states that 6804 is "MHN-3" on the grounds that


\begin{array}{l}
6804/18=378\\
378/18=21\\
21/3=7
\end{array}

and went on to show that 2016502858579884466176 is MHN-12. The number 10080000000000 = 1008·1010, which is smaller, is also MHN-12. In general, 1008·10n is MHN-(n+2).

External links

References

  • E. Bloem 2005/2006. Harshad numbers. Journal of Recreational Mathematics, 34(2): 128
  • H. G. Grundmann, Sequences of consecutive Niven numbers, Fibonacci Quarterly 32 (1994), 174-175
  • Jean-Marie De Koninck and Nicolas Doyon, On the number of Niven numbers up to x, Fibonacci Quarterly Volume 41.5 (November 2003), 431–440
  • Jean-Marie De Koninck, Nicolas Doyon and I. Katái, On the counting function for the Niven numbers, Acta Arithmetica 106 (2003), 265–275
  • Sandro Boscaro, Nivenmorphic Integers, Journal of Recreational Mathematics 28, 3 (1996 - 1997): 201–205

Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • Harshad-Zahl — Eine Harshad Zahl oder Niven Zahl ist eine natürliche Zahl, die durch ihre Quersumme, das heißt die Summe ihrer Ziffern (im Dezimalsystem), teilbar ist. Beispielsweise ist 777 durch 7 + 7 + 7 = 21 teilbar: . Die ersten Harshad Zahlen sind: (Folge …   Deutsch Wikipedia

  • Harshad Mehta — was an Indian stockbroker and is alleged to have engineered the rise in the BSE stock exchange in the year 1992. Exploiting several loopholes in the banking system, Harshad and his associates siphoned off funds from inter bank transactions and… …   Wikipedia

  • Harshad Patel — Infobox Recent cricketer nationality = English country = England country abbrev = Eng name = Harshad Patel picture = Cricket no pic.png batting style = Right handed batsman bowling style = Right arm off break FCs = 1 FC runs = 39 FC bat avg =… …   Wikipedia

  • 999 (number) — Number|number = 999 range = 0 1000 cardinal = Nine hundred [and] ninety nine ordinal = th ordinal text = Nine hundred [and] ninety ninth numeral = factorization = 3^3 cdot 37 prime = divisor = 1, 3, 9, 27, 37, 111, 333, 999 roman = CMXCIX unicode …   Wikipedia

  • 132 (number) — Number|number = 132 cardinal = one hundred [and] thirty two ordinal = nd ordinal text = one hundred [and] thirty second numeral = factorization = 2^2 cdot 3 cdot 11 prime = divisor = 1, 2, 3, 4, 6, 11, 12, 22, 33, 44, 66, 132 unicode = greek… …   Wikipedia

  • 133 (number) — Number|number = 133 cardinal = one hundred [and] thirty three ordinal = rd ordinal text = one hundred [and] thirty third numeral = factorization = 7 cdot 19 prime = divisor = 1, 7, 19, 133 unicode = greek prefix = latin prefix = misc =133 is the… …   Wikipedia

  • 204 (number) — Number|number = 204 range = 200s cardinal = two hundred [and] four ordinal = th ordinal text = two hundred [and] fourth numeral = 204 factorization = 2^2 imes 3 imes 17 prime = divisor = 1, 2, 3, 4, 6, 12, 17, 34, 51, 68, 102, 204 roman = CCIIII… …   Wikipedia

  • 243 (number) — Number|number = 243 range = 200s cardinal = two hundred [and] forty three ordinal = rd ordinal text = two hundred [and] forty third numeral = factorization = 3^4 prime = divisor = roman = CCXLIII unicode = greek prefix = latin prefix = bin =… …   Wikipedia

  • 135 (number) — Number|number = 135 range = 130s cardinal = one hundred [and] thirty five ordinal = th ordinal text = one hundredth [and] thirty fifth numeral = 135 factorization = 3^3 cdot 5 prime = divisor = 1, 3, 5, 9, 15, 27, 45, 135 roman = CXXXV unicode =… …   Wikipedia

  • 201 (number) — Number|number = 201 range = 200s cardinal = two hundred [and] one ordinal = st ordinal text = two hundred [and] first numeral = 201 factorization = 3 imes 67 prime = divisor = 1, 3, 67, 201 roman = CCI unicode = greek prefix = latin prefix = bin …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”