KAPREKAR CONSTANT REVISITED Tanvir Prince

Total Page:16

File Type:pdf, Size:1020Kb

KAPREKAR CONSTANT REVISITED Tanvir Prince International Journal of Mathematical Archive-4(5), 2013, 52-58 Available online through www.ijma.info ISSN 2229 – 5046 KAPREKAR CONSTANT REVISITED Tanvir Prince* Assistant Professor of Mathematics, Hostos Community College, City University Of New York Office Address: 500 Grand Concourse, Bronx, NY 10451, Telephone: (718)-518-6828 (Received on: 07-04-13; Revised & Accepted on: 01-05-13) ABSTRACT Given a n digits number where not all the digits are same, we arrange the digits in increasing order and let us denote this number by i(n). Similarly arrange the given n digits in decreasing order and let us denote this number by d(n). Define the Kaprekar function, k(n) by k(n)=d(n)−i(n). If this new number has less than n digits, we add necessary 0’s on the left of k(n) to make it a n digits number. Then we keep repeat this process, that is we consider the 2 3 sequence {k(n),k (n),k (n),…} D.R Kaprekar considered the case for n=4 and showed that the above sequence eventually becomes a constant and that magical constant is 6174 no matter what the four digits number you have started with. In this paper we will investigate this sequence for n=3 and n=4. We will also summarize some known results for some other values of “n”. INTRODUCTION Dattaraya Ramchandra Kaprekar was born in 17 January, 1905, in Maharashtra India. He was a school teacher in Maharastra and never received any formal training in post graduate studies. Nevertheless, he discovered many interesting properties of numbers and became quite famous in the field of recreational number theory. Beside Kaprekar constant, he also invented Kaprekar number (not to be confused with Kaprekar constant, see [2]), self number, and Harshad number. He also contributed to construct some new magic squares. To know more about the life of Kaprekar and his mathematical contribution, please see [7]. Although Kaprekar constant is very interesting, it is not as widely kown as it should be. One of my goal in this article is that we will not only re-investigate Kaprekar constant but make it more familiar to every one. We will start with the definition of Kaprekar function which can be applied to any whole number. Then we will restrict the domain of Kaprekar constant to the numbers of digits three and four. From this, we will construct Kaprekar series and investigate the end behavior. If you are interested to see the original paper of Kaprekar, which is published in Scripta mathematica in 1955, see [1]. KEPREKAR FUNCTION Given a k digit number, n, say n=a a a …a , we arrange the digits in decreasing order and denote this number by 1 2 3 k d(n). That is d(n)=b b b …b where b ≥b ≥b ≥…≥b and there is a bijection between the sets {a ,a ,a …a } and 1 2 3 k 1 2 3 k 1 2 3 k {b ,b ,b ,…b }. Similarly, we arrange the digits of n in increasing order and denote this number by i(n). That is 1 2 3 k i(n)=c c …c where c ≤c ≤…≤c and there is a bijection between the sets {a ,a ,a …a } and {c ,c ,c ,…c }. 1 2 k 1 2 k 1 2 3 k 1 2 3 k Then we define the Kaprekar function on n by k(n)=d(n)−i(n). We always demand that the resulting number, k(n), must also have k digits; if it fails to have k digits, we just add necessary number of 0’s on the left. For example, if n=33520, then d(n)=53320 and i(n)=02335 and finally, k(n) = d(n)−i(n) = 53320−02335 = 50985. If n=111110 then k(n) = 111110−011111 = 099999. Note that in the second example, we need to add a 0 on the left to make it a six digit number since the original n is six digit. Note that when applying Kaprekar function, the order of the digit does not matter. So for example, k(123)=k(213)=k(312)=k(132)=… Corresponding author: Tanvir Prince* Assistant Professor of Mathematics, Hostos Community College, City University Of New York International Journal of Mathematical Archive- 4(5), May – 2013 52 Tanvir Prince*/Kaprekar Constant Revisited/ IJMA- 4(5), May-2013. Kaprekar sequence: Given a k digit number n, the Kaprekar sequence associated with n is the 2 3 sequence {n,k(n),k (n),k (n),…} i i i−1 Here we define k (n) recursively as k (n)=k(k (n)) for i≥2. For example the Kaprekar sequence associated with n=12345 is {12345,41976,82962,75933,63954,61974,82962,…} In this example, the seventh number is 82962 which is the same as the third number. So the sequence will be a cyclic pattern of length four. Let us take another example of digit 4 say n=3444, then the kaprekar sequence associated to this n is {3444,0999,8991,8082,8532,6174,6174,6174,…} In this case the Kaprekar sequence stabilizes after the sixth term since k(6174)=7641−1467=6174. This number 6174 is known as the Kaprekar constant. We will investigate this number in great detail. THE CASE OF THREE DIGIT NUMBER Lemma 1 Kaprekar sequence of any three digit number, as long as all the digits are not same, will eventually stabilizes to the constant 495 Of course if all the digits are same then after the first term all the other terms of the Kaprekar sequence is 0 since k(aaa)=0. Proof: Let n=abc. We may assume that a≥b≥c since Kaprekar function does not depend on the order of the digits. Now, a≠c since if a=c then a=b=c but we assume not all the digits are same. So from definition, d(n)=abc and i(n)=cba. Thus, k(n)=d(n)−i(n)=abc−cba. This subtraction is given in the table 1. We will exlain this subtraction for the reader. First of all, since a<c, we need to borrow 1 from the second column. This way for the first column we have c+10−a. Now in the second column, on the top we have b−1 (since we borrow 1 from it in the previous step) and on the bottom we have b. Thus again we need to borrow 1 from the third column and get b−1+10−b=9 for the second column. Finally on the top of the third column, we have a−1 (since we borrow 1 from it in the previous step)and on the bottom we have c. Since a−1≥c we can perform the operation a−1−c. We observe two things. First, after applying the Kaprekar function, k(abc), the middle digit is 9 and second the sum of all the digits of k(abc) is 18 since a−1−c+9+c+10−a=18. So after applying Kaprekar function one time we may assume our three digit number has the form a9(9−a) where 0≤a≤9. So we only need to check five cases (remembering the order of the digit does not matter) 099,198,297,396 and 495. The Kaprekar sequence associated with these five numbers are as follows: {099,891,792,693,594,495,495,495,…} {198,792,693,594,495,495,495,…} {297,693,594,495,495,495,…} {396,594,495,495,495,…} {495,495,495,…} And of course, k(495)=495. Notice that the last four sequence is the repetition of the first one so it is enough to construct the Keprekar sequence of 099 only. So we have proved that no matter what is the three digit number you have started with, as long as all the digits are not same, the Kaprekar sequence stabilizes to the constant 495. This number 495 is the Kaprekar constant of digit three. this proof also shows that we arrive at the number 495 after at most six application of Kaprekar function. For a somewhat different proof see [5]. a b c c b a a-1-c 9 c+10-a Table 1: This table shows the process of subtraction for k(abc) © 2013, IJMA. All Rights Reserved 53 Tanvir Prince*/Kaprekar Constant Revisited/ IJMA- 4(5), May-2013. THE CASE OF FOUR DIGIT NUMBER Lemma 2 Kaprekar sequence of any four digit number, as long as all the digits are not same, will eventually stabilizes to the constant 6174. Note that 6174 is a fixed point for the Kaprekar function since k(6174)=7641−1467=6174. This number, 6174 is known as the Kaprekar constant of digit four. Proof: There are 10000 four digit numbers out of which there are 10 numbers whose digits are all same (they are 0000,1111,2222, etc). With some reasoning, we will show that to prove this lemma it is enough to check only 49 numbers out of this 10000−10=9990 four digits numbers. This is only 0.4905% of the original amount. Let us start with a four digit number say n=abcd. Without loss of generality, we may assume that a≥b≥c≥d since applying Kaprekar function the order of the digit does not matter. We must have a>d, otherwise all the digits will be same. Now we have two possibility: b>c or b=c. We will consider these two cases separately: Case b=c: In this case, n=abbd.
Recommended publications
  • Guidance Via Number 40: a Unique Stance M
    Sci.Int.(Lahore),31(4),603-605, 2019 ISSN 1013-5316;CODEN: SINTE 8 603 GUIDANCE VIA NUMBER 40: A UNIQUE STANCE M. AZRAM 7-William St. Wattle Grove, WA 6107, USA. E-mail: [email protected] ABSTRACT: The number Forty (40) is a mysterious number that has a great significance in Mathematics, Science, astronomy, sports, spiritual traditions and many cultures. Historically, many things took place labelled with number 40. It has also been repeated many times in Islam. There must be some significantly importance associated with this magic number 40. Only Allah knows the complete answer. Since Muslims are enjoined to establish good governance through a just sociomoral order (or a state) wherein they could organise their individual and collective life in accordance with the teachings of the Qur’an and the Sunnah of the Prophet (SAW). I have gathered together some information to find some guideline via significant number 40 to reform our community by eradicating corruption, exploitation, injustice and evil etc. INTRODUCTION Muslims are enjoined to establish good governance through a just sociomoral order (or a state) wherein they could organise their individual and collective life in accordance with the teachings of the Qur’an and the Sunnah of the pentagonal pyramidal number[3] and semiperfect[4] .It is the expectation of the Qur’an that its number which have fascinated mathematics .(ﷺ) Prophet 3. 40 is a repdigit in base 3 (1111, i.e. 30 + 31 + 32 + 33) adherents would either reform the earth (by eradicating , Harshad number in base10 [5] and Stormer number[6]. corruption, exploitation, injustice and evil) or lay their lives 4.
    [Show full text]
  • Monthly Science and Maths Magazine 01
    1 GYAN BHARATI SCHOOL QUEST….. Monthly Science and Mathematics magazine Edition: DECEMBER,2019 COMPILED BY DR. KIRAN VARSHA AND MR. SUDHIR SAXENA 2 IDENTIFY THE SCIENTIST She was an English chemist and X-ray crystallographer who made contributions to the understanding of the molecular structures of DNA , RNA, viruses, coal, and graphite. She was never nominated for a Nobel Prize. Her work was a crucial part in the discovery of DNA, for which Francis Crick, James Watson, and Maurice Wilkins were awarded a Nobel Prize in 1962. She died in 1958, and during her lifetime the DNA structure was not considered as fully proven. It took Wilkins and his colleagues about seven years to collect enough data to prove and refine the proposed DNA structure. RIDDLE TIME You measure my life in hours and I serve you by expiring. I’m quick when I’m thin and slow when I’m fat. The wind is my enemy. Hard riddles want to trip you up, and this one works by hitting you with details from every angle. The big hint comes at the end with the wind. What does wind threaten most? I have cities, but no houses. I have mountains, but no trees. I have water, but no fish. What am I? This riddle aims to confuse you and get you to focus on the things that are missing: the houses, trees, and fish. 3 WHY ARE AEROPLANES USUALLY WHITE? The Aeroplanes might be having different logos and decorations. But the colour of the aeroplane is usually white.Painting the aeroplane white is most practical and economical.
    [Show full text]
  • Large and Small Gaps Between Consecutive Niven Numbers
    1 2 Journal of Integer Sequences, Vol. 6 (2003), 3 Article 03.2.5 47 6 23 11 Large and small gaps between consecutive Niven numbers Jean-Marie De Koninck1 and Nicolas Doyon D¶epartement de math¶ematiques et de statistique Universit¶e Laval Qu¶ebec G1K 7P4 Canada [email protected] [email protected] Abstract A positive integer is said to be a Niven number if it is divisible by the sum of its decimal digits. We investigate the occurrence of large and small gaps between consecutive Niven numbers. 1 Introduction A positive integer n is said to be a Niven number (or a Harshad number) if it is divisible by the sum of its (decimal) digits. For instance, 153 is a Niven number since 9 divides 153, while 154 is not. Niven numbers have been extensively studied; see for instance Cai [1], Cooper and Kennedy [2], Grundman [5] or Vardi [6]. Let N(x) denote the number of Niven numbers · x. Recently, De Koninck and Doyon proved [3], using elementary methods, that given any " > 0, x log log x x1¡" ¿ N(x) ¿ : log x Later, using complex variables as well as probabilistic number theory, De Koninck, Doyon and K¶atai [4] showed that x N(x) = (c + o(1)) ; (1) log x 1Research supported in part by a grant from NSERC. 1 where c is given by 14 c = log 10 ¼ 1:1939: (2) 27 In this paper, we investigate the occurrence of large gaps between consecutive Niven numbers. Secondly, denoting by T (x) the number of Niven numbers n · x such that n + 1 is also a Niven number, we prove that x log log x T (x) ¿ : (log x)2 We conclude by stating a conjecture.
    [Show full text]
  • Special Pythagorean Triangle in Relation with Pronic Numbers
    International Journal of Mathematics Trends and Technology (IJMTT) – Volume 65 Issue 8 - August 2019 Special Pythagorean Triangle In Relation With Pronic Numbers S. Vidhyalakshmi1, T. Mahalakshmi2, M.A. Gopalan3 1,2,3(Department of Mathematics, Shrimati Indra Gandhi College, India) Abstract: 2* Area This paper illustrates Pythagorean triangles, where, in each Pythagorean triangle, the ratio Perimeter is a Pronic number. Keywords: Pythagorean triangles,Primitive Pythagorean triangle, Non primitive Pythagorean triangle, Pronic numbers. Introduction: It is well known that there is a one-to-one correspondence between the polygonal numbers and the sides of polygon. In addition to polygon numbers, there are other patterns of numbers namely Nasty numbers, Harshad numbers, Dhuruva numbers, Sphenic numbers, Jarasandha numbers, Armstrong numbers and so on. In particular, refer [1-17] for Pythagorean triangles in connection with each of the above special number patterns. The above results motivated us for searching Pythagorean triangles in connection with a new number pattern. This paper 2* Area illustrates Pythagorean triangles, where, in each Pythagorean triangle, the ratio is a Pronic number. Perimeter Method of Analysis: Let Tx, y, z be a Pythagorean triangle, where x 2pq , y p2 q2 , z p2 q2 , p q 0 (1) Denote the area and perimeter of Tx, y, z by A and P respectively. The mathematical statement of the problem is 2A nn 1 , pronic number of rank n (2) P qp q nn 1 (3) It is observed that (3) is satisfied by the following two sets of values of p and q: Set 1: p 2n 1, q n Set 2: p 2n 1, q n 1 However, there are other choices for p and q that satisfy (3).
    [Show full text]
  • Fermat Pseudoprimes
    1 TWO HUNDRED CONJECTURES AND ONE HUNDRED AND FIFTY OPEN PROBLEMS ON FERMAT PSEUDOPRIMES (COLLECTED PAPERS) Education Publishing 2013 Copyright 2013 by Marius Coman Education Publishing 1313 Chesapeake Avenue Columbus, Ohio 43212 USA Tel. (614) 485-0721 Peer-Reviewers: Dr. A. A. Salama, Faculty of Science, Port Said University, Egypt. Said Broumi, Univ. of Hassan II Mohammedia, Casablanca, Morocco. Pabitra Kumar Maji, Math Department, K. N. University, WB, India. S. A. Albolwi, King Abdulaziz Univ., Jeddah, Saudi Arabia. Mohamed Eisa, Dept. of Computer Science, Port Said Univ., Egypt. EAN: 9781599732572 ISBN: 978-1-59973-257-2 1 INTRODUCTION Prime numbers have always fascinated mankind. For mathematicians, they are a kind of “black sheep” of the family of integers by their constant refusal to let themselves to be disciplined, ordered and understood. However, we have at hand a powerful tool, insufficiently investigated yet, which can help us in understanding them: Fermat pseudoprimes. It was a night of Easter, many years ago, when I rediscovered Fermat’s "little" theorem. Excited, I found the first few Fermat absolute pseudoprimes (561, 1105, 1729, 2465, 2821, 6601, 8911…) before I found out that these numbers are already known. Since then, the passion for study these numbers constantly accompanied me. Exceptions to the above mentioned theorem, Fermat pseudoprimes seem to be more malleable than prime numbers, more willing to let themselves to be ordered than them, and their depth study will shed light on many properties of the primes, because it seems natural to look for the rule studying it’s exceptions, as a virologist search for a cure for a virus studying the organisms that have immunity to the virus.
    [Show full text]
  • Properties of 2020
    Properties of 2020 freeman66 February 2, 2020 Abstract This document provides some properties of 2020. If you have a good one, feel free to let me know! Also, note that the properties in each section go from easy to interesting to overkill. Note that the ones that look weird and/or are overkill are likely from OEIS, so I'm not weird OEIS is. 1 Algebra 1.1 Operations on 2020 p p 20202 is 4080400 and 20203 is 8242408000. 2020 is 44:9444101085 and 3 2020 = 12:6410686485. ln 2020 is 7:6108527903953 and log10 2020 is 3:3053513694466. sin 2020 is 0.044061988343923, 1 cos 2020 is -0.99902879897588, and tan 2020 is -0.044104822993183. 2020 has period 4. 1.2 Time 2020 seconds is equal to 33 minutes, 40 seconds. 2020 is a leap year. 2020 has 53 Wednesdays and Thursdays. The previous year this occurs was 1992, and the next is 2048. 1.3 Triangular Numbers P22 2020 is equal to k=3 Tk, where Tk is the kth triangular number. Also, T5 + T30 + T55 = 2020. 1.4 Heptagonal Numbers The alternating sum of the first 40 heptagonal numbers is 2020. 1.5 Sequences A sequence that starts with 4 then adds 1, then 2, then 3, and so on contains 2020. Also, in the 2 P1 xi i=1 2 1 k 14 1−xi product f(x) = Π (1 + 4 · x ), x has coefficient 2020. Also, in the expansion of 2 , k=1 1 xi Πi=1 2 1−xi 51 n the coefficient of x is 2020.
    [Show full text]
  • Copyrighted Material
    11194_Darling_c01_f.qxd 6/10/04 9:56 AM Page 3 A abacus The Chinese suan pan differs from the European aba- A counting frame that started out, several thousand years cus in that the board is split into two decks, with two ago, as rows of pebbles in the desert sands of the Middle beads on each rod in the upper deck and five beads, rep- East. The word appears to come from the Hebrew âbâq resenting the digits 0 through 4, on each rod in the bot- (dust) or the Phoenician abak (sand) via the Greek abax, tom. When all five beads on a rod in the lower deck are which refers to a small tray covered with sand to hold the moved up, they’re reset to the original position, and one pebbles steady. The familiar frame-supporting rods or bead in the top deck is moved down as a carry. When wires, threaded with smoothly running beads, gradually both beads in the upper deck are moved down, they’re emerged in a variety of places and mathematical forms. reset and a bead on the adjacent rod on the left is moved In Europe, there was a strange state of affairs for more up as a carry. The result of the computation is read off than 1,500 years. The Greeks and the Romans, and then from the beads clustered near the separator beam the medieval Europeans, calculated on devices with a between the upper and lower decks. In a sense, the aba- place-value system in which zero was represented by an cus works as a 5-2-5-2-5-2...–based number system in empty line or wire.
    [Show full text]
  • MATHCOUNTS Bible Completed I. Squares and Square Roots: from 1
    MATHCOUNTS Bible Completed I. Squares and square roots: From 12 to 302. Squares: 1 - 50 12 = 1 262 = 676 22 = 4 272 = 729 32 = 9 282 = 784 42 = 16 292 = 841 52 = 25 302 = 900 62 = 36 312 = 961 72 = 49 322 = 1024 82 = 64 332 = 1089 92 = 81 342 = 1156 102 = 100 352 = 1225 112 = 121 362 = 1296 122 = 144 372 = 1369 132 = 169 382 = 1444 142 = 196 392 = 1521 152 = 225 402 = 1600 162 = 256 412 = 1681 172 = 289 422 = 1764 182 = 324 432 = 1849 192 = 361 442 = 1936 202 = 400 452 = 2025 212 = 441 462 = 2116 222 = 484 472 = 2209 232 = 529 482 = 2304 242 = 576 492 = 2401 25 2 = 625 50 2 = 2500 II. Cubes and cubic roots: From 13 to 123. Cubes: 1 -15 13 = 1 63 = 216 113 = 1331 23 = 8 73 = 343 123 = 1728 33 = 27 83 = 512 133 = 2197 43 = 64 93 = 729 143 = 2744 53 = 125 103 = 1000 153 = 3375 III. Powers of 2: From 21 to 212. Powers of 2 and 3 21 = 2 31 = 3 22 = 4 32 = 9 23 = 8 33 = 27 24 = 16 34 = 81 25 = 32 35 = 243 26 = 64 36 = 729 27 = 128 37 = 2187 28 = 256 38 = 6561 29 = 512 39 = 19683 210 = 1024 310 = 59049 211 = 2048 311 = 177147 212 = 4096 312 = 531441 IV. Prime numbers from 2 to 109: It also helps to know the primes in the 100's, like 113, 127, 131, ... It's important to know not just the primes, but why 51, 87, 91, and others are not primes.
    [Show full text]
  • Numbers 1 to 100
    Numbers 1 to 100 PDF generated using the open source mwlib toolkit. See http://code.pediapress.com/ for more information. PDF generated at: Tue, 30 Nov 2010 02:36:24 UTC Contents Articles −1 (number) 1 0 (number) 3 1 (number) 12 2 (number) 17 3 (number) 23 4 (number) 32 5 (number) 42 6 (number) 50 7 (number) 58 8 (number) 73 9 (number) 77 10 (number) 82 11 (number) 88 12 (number) 94 13 (number) 102 14 (number) 107 15 (number) 111 16 (number) 114 17 (number) 118 18 (number) 124 19 (number) 127 20 (number) 132 21 (number) 136 22 (number) 140 23 (number) 144 24 (number) 148 25 (number) 152 26 (number) 155 27 (number) 158 28 (number) 162 29 (number) 165 30 (number) 168 31 (number) 172 32 (number) 175 33 (number) 179 34 (number) 182 35 (number) 185 36 (number) 188 37 (number) 191 38 (number) 193 39 (number) 196 40 (number) 199 41 (number) 204 42 (number) 207 43 (number) 214 44 (number) 217 45 (number) 220 46 (number) 222 47 (number) 225 48 (number) 229 49 (number) 232 50 (number) 235 51 (number) 238 52 (number) 241 53 (number) 243 54 (number) 246 55 (number) 248 56 (number) 251 57 (number) 255 58 (number) 258 59 (number) 260 60 (number) 263 61 (number) 267 62 (number) 270 63 (number) 272 64 (number) 274 66 (number) 277 67 (number) 280 68 (number) 282 69 (number) 284 70 (number) 286 71 (number) 289 72 (number) 292 73 (number) 296 74 (number) 298 75 (number) 301 77 (number) 302 78 (number) 305 79 (number) 307 80 (number) 309 81 (number) 311 82 (number) 313 83 (number) 315 84 (number) 318 85 (number) 320 86 (number) 323 87 (number) 326 88 (number)
    [Show full text]
  • (OSLO) Is Proud to Announce an Exhibition of New Works by Ann Cathrin November Høibo
    STANDARD (OSLO) is proud to announce an exhibition of new works by Ann Cathrin November Høibo. “IN MATHEMATICS - 36 is both the square of 6 and a triangular number, making it a square triangular number. It is the smallest square triangular number other than 1, and it is also the only triangular number other than 1 whose square root is also a triangular number. It is also a circular number - a square number that ends with the same integer by itself (6×6=36). - It is also a 13-gonal number. - It is the smallest number n with exactly 8 solutions to the equation φ(x) = n. Being the smallest number with exactly 9 divisors, 36 is a highly composite number. Adding up some subsets of its divisors (e.g., 6, 12 and 18) gives 36, hence 36 is a semiperfect number. - This number is the sum of a twin prime (17 + 19), the sum of the cubes of the first three positive integers, and also the product of the squares of the first three positive integers. - 36 is the number of degrees in the interior angle of each tip of a regular pentagram. - The thirty-six officers problem is a mathematical puzzle. - The number of possible outcomes (not summed) in the roll of two distinct dice. - 36 is the largest numeric base that some computer systems support because it exhausts the numerals, 0-9, and the letters, A-Z. See Base 36. - The truncated cube and the truncated octahedron are Archimedean solids with 36 edges. - 36 is a Harshad number in bases 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 13, 16 (and 9 other bases).
    [Show full text]
  • Consecutive Factorial Base Niven Numbers
    CONSECUTIVE FACTORIAL BASE NIVEN NUMBERS PAUL DALENBERG AND TOM EDGAR Abstract. We prove that there are no consecutive runs of five or more factorial base Niven numbers. Moreover, we construct an infinite family of collections of four consecutive factorial base Niven numbers. 1. Introduction A Niven (or Harshad) number is a number that is evenly divisible by its (base 10) sum of digits. For instance, we see that 36 is a Niven number because 3 + 6 = 9 and 36 is divisible by 9. More generally, we say a b-Niven number is a number that is evenly divisible by its base-b sum of digits. See A005349, AA049445, AA064150, and A064438 in [1] for a various sequences of base-b Niven numbers. Cooper and Kennedy [3] proved that there does not exist a run of 21 consecutive Niven numbers and they constructed an infinite family of sets of 20 consecutive Niven numbers. Grundman [4] generalized the work of Cooper and Kennedy to b-Niven numbers, proved that there does not exist a run of 2b+1 consecutive b-Niven numbers, and conjectured that there always is a set of 2b consecutive b-Niven numbers. Grundman's conjecture was proved by Wilson [8] who also provided reasonable bounds on the smallest set of 2b consecutive b-Niven numbers (see [7] and [2] as well). The definition of Niven numbers extends to other methods of representing integers. For instance, Cooper and Ray [6] showed that the set of Zeckendorf-Niven numbers has asymptotic density 0; Zeckendorf-Niven numbers are those divisible by their sum of digits when written in the Zeckendorf representation where a number is represented as a sum of distinct, non- consecutive Fibonacci numbers (see A014417 in [1]).
    [Show full text]
  • [Project Work] 2016-17 Icse Computer Applications Assignment -2
    [PROJECT WORK] 2016-17 ICSE COMPUTER APPLICATIONS ASSIGNMENT -2 Question 1: Write a Program in Java to input a number and check whether it is a Pronic Number or Heteromecic Number or not. Pronic Number : A pronic number, oblong number, rectangular number or heteromecic number, is a number which is the product of two consecutive integers, that is, n (n + 1). The first few pronic numbers are: 0, 2, 6, 12, 20, 30, 42, 56, 72, 90, 110, 132, 156, 182, 210, 240, 272, 306, 342, 380, 420, 462 … etc. Question 2: Write a Program in Java to input a number and check whether it is a Harshad Number or Niven Number or not.. Harshad Number : In recreational mathematics, a Harshad number (or Niven number), is an integer (in base 10) that is divisible by the sum of its digits. Let’s understand the concept of Harshad Number through the following example: The number 18 is a Harshad number in base 10, because the sum of the digits 1 and 8 is 9 (1 + 8 = 9), and 18 is divisible by 9 (since 18 % 9 = 0) The number 1729 is a Harshad number in base 10, because the sum of the digits 1 ,7, 2 and 9 is 19 (1 + 7 + 2 + 9 = 19), and 1729 is divisible by 19 (1729 = 19 * 91) The number 19 is not a Harshad number in base 10, because the sum of the digits 1 and 9 is 10 (1 + 9 = 10), and 19 is not divisible by 10 (since 19 % 10 = 9) The first few Harshad numbers in base 10 are: 1, 2, 3, 4, 5, 6, 7, 8, 9, 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 etc.
    [Show full text]