ODD REPDIGITS TO SMALL BASES ARE NOT PERFECT

Similar documents
Odd multiperfect numbers of abundancy four

Pacific Journal of Mathematics

Fibonacci numbers of the form p a ± p b

Even perfect numbers among generalized Fibonacci sequences

Flat primes and thin primes

On prime factors of subset sums

Florian Luca Instituto de Matemáticas, Universidad Nacional Autonoma de México, C.P , Morelia, Michoacán, México

On repdigits as product of consecutive Lucas numbers

ARITHMETIC PROGRESSIONS OF SQUARES, CUBES AND n-th POWERS

Squares in products with terms in an arithmetic progression

#A2 INTEGERS 12A (2012): John Selfridge Memorial Issue ON A CONJECTURE REGARDING BALANCING WITH POWERS OF FIBONACCI NUMBERS

Perfect Powers With All Equal Digits But One

SOLUTIONS TO PROBLEM SET 1. Section = 2 3, 1. n n + 1. k(k + 1) k=1 k(k + 1) + 1 (n + 1)(n + 2) n + 2,

Powers of Two as Sums of Two Lucas Numbers

Almost fifth powers in arithmetic progression

ABSTRACT. In this note, we find all the solutions of the Diophantine equation x k = y n, 1, y 1, k N, n INTRODUCTION

On Integers for Which the Sum of Divisors is the Square of the Squarefree Core

Explicit solution of a class of quartic Thue equations

A Diophantine System and a Problem on Cubic Fields

EXTENDING A THEOREM OF PILLAI TO QUADRATIC SEQUENCES

1. Introduction. Let P and Q be non-zero relatively prime integers, α and β (α > β) be the zeros of x 2 P x + Q, and, for n 0, let

M381 Number Theory 2004 Page 1

MATH 2112/CSCI 2112, Discrete Structures I Winter 2007 Toby Kenney Homework Sheet 5 Hints & Model Solutions

The Diophantine equation x n = Dy 2 + 1

MATH 4400 SOLUTIONS TO SOME EXERCISES. 1. Chapter 1

Cullen Numbers in Binary Recurrent Sequences

AMICABLE PAIRS AND ALIQUOT CYCLES FOR ELLIPTIC CURVES OVER NUMBER FIELDS

On a Diophantine Equation 1

Solutions to Practice Final

Perfect powers with few binary digits and related Diophantine problems

FIBONACCI DIOPHANTINE TRIPLES. Florian Luca and László Szalay Universidad Nacional Autonoma de México, Mexico and University of West Hungary, Hungary

Fibonacci Diophantine Triples

A Guide to Arithmetic

Definition 6.1 (p.277) A positive integer n is prime when n > 1 and the only positive divisors are 1 and n. Alternatively

PRODUCTS OF CONSECUTIVE INTEGERS

Algebra for error control codes

ON CERTAIN COMBINATORIAL DIOPHANTINE EQUATIONS AND THEIR CONNECTION TO PYTHAGOREAN NUMBERS

#A11 INTEGERS 12 (2012) FIBONACCI VARIATIONS OF A CONJECTURE OF POLIGNAC

THE NUMBER OF DIOPHANTINE QUINTUPLES. Yasutsugu Fujita College of Industrial Technology, Nihon University, Japan

Contents. Preface to the First Edition. Preface to the Second Edition. Preface to the Third Edition

On the Composite Terms in Sequence Generated from Mersenne-type Recurrence Relations

A Variation of a Congruence of Subbarao for n = 2 α 5 β, α 0, β 0

Two Diophantine Approaches to the Irreducibility of Certain Trinomials

arxiv: v1 [math.nt] 8 Sep 2014

ON THE EXTENSIBILITY OF DIOPHANTINE TRIPLES {k 1, k + 1, 4k} FOR GAUSSIAN INTEGERS. Zrinka Franušić University of Zagreb, Croatia

ON A THEOREM OF TARTAKOWSKY

A NOTE ON THE DIOPHANTINE EQUATION a x b y =c

Aliquot sums of Fibonacci numbers

THE PROBLEM OF DIOPHANTUS FOR INTEGERS OF. Zrinka Franušić and Ivan Soldo

MICHAEL A. BENNETT, YANN BUGEAUD AND MAURICE MIGNOTTE

Proofs of the infinitude of primes

Math 109 HW 9 Solutions

On the power-free parts of consecutive integers

MICHAEL A. BENNETT, YANN BUGEAUD AND MAURICE MIGNOTTE

Generalized Lebesgue-Ramanujan-Nagell Equations

Gaussian integers. 1 = a 2 + b 2 = c 2 + d 2.

All variables a, b, n, etc are integers unless otherwise stated. Each part of a problem is worth 5 points.

On the missing values of n! mod p

Divisibility in the Fibonacci Numbers. Stefan Erickson Colorado College January 27, 2006

Diophantine m-tuples and elliptic curves

A Pellian equation with primes and applications to D( 1)-quadruples

Diophantine triples in a Lucas-Lehmer sequence

Integer Solutions of the Equation y 2 = Ax 4 +B

Chapter 9 Mathematics of Cryptography Part III: Primes and Related Congruence Equations

PUTNAM TRAINING NUMBER THEORY. Exercises 1. Show that the sum of two consecutive primes is never twice a prime.

MATH 152 Problem set 6 solutions

On integer solutions to x 2 dy 2 = 1, z 2 2dy 2 = 1

Covering Subsets of the Integers and a Result on Digits of Fibonacci Numbers

An integer p is prime if p > 1 and p has exactly two positive divisors, 1 and p.

Bounds for counterexamples to Terai s conjecture

A family of quartic Thue inequalities

POWER VALUES OF SUMS OF PRODUCTS OF CONSECUTIVE INTEGERS. 1. Introduction. (x + j).

Almost perfect powers in consecutive integers (II)

NUMBER SYSTEMS. Number theory is the study of the integers. We denote the set of integers by Z:

Power values of sums of products of consecutive integers

MATH 361: NUMBER THEORY FOURTH LECTURE

PELL NUMBERS WHOSE EULER FUNCTION IS A PELL NUMBER. Bernadette Faye and Florian Luca

Notes on Systems of Linear Congruences

Selected Chapters from Number Theory and Algebra

RANK AND PERIOD OF PRIMES IN THE FIBONACCI SEQUENCE. A TRICHOTOMY

#A42 INTEGERS 10 (2010), ON THE ITERATION OF A FUNCTION RELATED TO EULER S

EXAMPLES OF MORDELL S EQUATION

On squares in Lucas sequences

198 VOLUME 46/47, NUMBER 3

Concatenations with Binary Recurrent Sequences

On the digital representation of smooth numbers

Andrew Granville To Andrzej Schinzel on his 75th birthday, with thanks for the many inspiring papers

arxiv: v1 [math.nt] 19 Dec 2018

ON THE LIMIT POINTS OF THE FRACTIONAL PARTS OF POWERS OF PISOT NUMBERS

ARITHMETIC OF POSITIVE INTEGERS HAVING PRIME SUMS OF COMPLEMENTARY DIVISORS

ON THE EULER FUNCTION OF THE CATALAN NUMBERS

A parametric family of quartic Thue equations

Solutions of the Diophantine Equation 2 x + p y = z 2 When p is Prime

On the Rank and Integral Points of Elliptic Curves y 2 = x 3 px

2x 1 7. A linear congruence in modular arithmetic is an equation of the form. Why is the solution a set of integers rather than a unique integer?

Generalized Fibonacci numbers of the form 2 a + 3 b + 5 c

Herman te Riele Centrum Wiskunde & Informatica Postbus GB Amsterdam

On a Sequence of Nonsolvable Quintic Polynomials

ARITHMETIC PROGRESSIONS IN CYCLES OF QUADRATIC POLYNOMIALS

NONABELIAN GROUPS WITH PERFECT ORDER SUBSETS

Transcription:

#A34 INTEGERS 1 (01) ODD REPDIGITS TO SMALL BASES ARE NOT PERFECT Kevin A. Broughan Department of Mathematics, University of Waikato, Hamilton 316, New Zealand kab@waikato.ac.nz Qizhi Zhou Department of Mathematics, University of Waikato, Hamilton 316, New Zealand qz49@waikato.ac.nz Received: 8/1/10, Revised: 9/14/11, Accepted: 4/1/1, Published: /11/1 Abstract We demonstrate, by considering each base in the range through 9, that no odd repdigit with a base in that range is a perfect number. 1. Introduction Let g. We say a natural number n is a repdigit to base g if there is an integer a with 1 a < g and m 0 such that n = a + ag + ag + ag m. If a = 1 then n is called a repunit. If σ(n) is the usual sum of divisors function then n is called perfect if σ(n) = n. Interest in the relationships between repdigits and perfect numbers was initiated by Pollack [1] who showed that for a given base g there are only a finite number of perfect repdigits to that base, and that the set of all such numbers is effectively computable. He also showed that in base 10 the only perfect repdigit is n = 6. Base 10 has been of special interest since it has been shown by Oblàth [11], Bugeaud and Mignotte [3] that the only perfect powers which are also repdigits are 1,4,8 and 9. Work in showing infinite classes of natural numbers which are not perfect or multiperfect has been developed by Luca, who has shown that no Fibonacci number is perfect [6], that no element of a Lucas sequence with odd parameters is multiperfect [7] and, with Broughan, González, Lewis, Huguet and Togbé, that no Fibonacci number is multiperfect []. In this paper we continue the work of Pollack, showing in Theorem 1 that there are no odd perfect repdigits in bases through 9. This is done by using a mixture of techniques, including Pollack s original method, a method developed by Pollack

INTEGERS: 1 (01) and Luca, Thue equations with no solutions, properties of rings of integers of the quadratic fields Q( ), Q( 6), and Q( 7), quadratic reciprocity, linear forms in logarithms (LFL) and the known comprehensive sets of solutions for Pellian, Nagel- Ljunggren and Catalan equations. The following notations are used. If n is a natural number then P (n) is the maximum prime divisor of n, v p (n) is the maximum power of the prime p which divides n and (a, b) is the greatest common divisor (GCD) of the integers a and b. If g and n N let U n := (g n )/(g ) and V n := g n + 1. The expression s in equations represents an integer which is a square or possibly 1, and which can take different values, even in the same context. Theorem 1. Let g satisfying g 10 be the base, a with 1 a < g a digit and au n a repdigit to base g which is odd. Then au n is not a perfect number. We also settle the issue of perfect even repunits for all g in terms of Mersenne primes, and describe the perfect even repdigits up to base g = 100.. Preliminary Results Lemma. Let n be a composite natural number, x an integer with x and p := P (n). Then (a) If p > is odd, p n and p x then ( x n ) g := x p, xp = p. x (b) If p = and 4 n = m then ( ) x m x, x = min(m 1, v(x+1)). x In all other cases the GCD is 1. Proof. (a) Let p be odd with p x and p n. Let k = n/p. Then x n x p = (xp ) k 1 + + x p + 1 k (mod p) 0 Thus p (x n )/(x p ). Also and therefore x p x = xp 1 + + x + 1 0 (mod p), p ( x n ) x p, xp. x (mod p).

INTEGERS: 1 (01) 3 By [13, P1.(iv)], if q is an odd prime and q x then ( x n ) v q = v q (n). x Thus, letting q = n = p we have p (x p )/(x ); and if q p then v q ((x p 1)/(x )) = 0. Hence, the only positive divisors of the GCD other than p are powers of. But (x p )/(x ) is odd. Therefore, in this case, ( x n ) x p, xp = p. x (b) Now let n = m with m. We can write ( ) ( x m m ) x, x = Φ x i(x), Φ 1(x) and use the fact that [13, P1.9], with i, we have (Φ i(x), Φ (x)) = if x is odd and 1 if x is even, and the given formula follows immediately. (c) Let p (x ) and be odd and suppose that a prime q g. Since p is odd, so is q. Let e be the order of x modulo q. Because q x p we must have e p so that e = 1 or e = p. In the first case q (x ) and we can apply [13, P1.(iv)] to get ( x p ) 1 v q = v q (p) 1. x Hence p = q (x ), which is false, since we are assuming p x. Therefore e = p so p q and hence p < q. But q is odd and q (x n )/(x p ) and q x p so q n, a contradiction since p = P (n). Therefore the GCD g = 1. (d) Let p be odd, p (x ) and p n. If an odd prime q divides the GCD, and e is the order of x modulo q, then since x p 1 (mod q) we have e = 1 or e = p. But the former is equivalent to q (x ) so, as above, v q (p) = 1 so p = q and thus p (x n )/(x p ). But, as in (a), this ratio is equivalent to n/p modulo p which is non zero. In the former case where e = p we have p q so p < q. But 1 v q ((x n )/(x p )) = v q (n/p) implies q n, contradicting p = P (n). Hence in this case the GCD g is 1. We note that U n 1 (mod 4) in exactly the following distinct situations. (1) g 0 (mod 4), () g 1 (mod 4) and n 1 (mod 4), or (3) g 3 (mod 4) and n is odd. We note also that U n 3 (mod 4) in exactly the following distinct situations. (4) g 1 (mod 4) and n 1 (mod 4), () g (mod 4), or i=

INTEGERS: 1 (01) 4 (6) g 3 (mod 4) and n is even. We will use these properties without comment below. Lemma 3. Let the base be g and suppose the prime p max{7, g}. Then the repunit U p is not perfect. Proof. We follow the proof of [1, Lemma 10]. Then ( ) ( ) σ(u p ) 1 log (p log p) exp exp U p p p and this right-hand side is less than when p 7. We need the following classical result. Lemma 4. (Ljunggren []) The only integer solutions (x, n, y) with x > 1, n >, y > 0, to the equation (x n )/(x ) = y are (7, 4, 0) and (3,, 11), i.e., 7 4 7 = 0 and 3 3 = 11. For bases and 9 we also need a result of Laurent, Mignotte and Nesterenko [4], which we refer to as the method of linear forms in logarithms. To describe this theorem we need the notion of logarithmic height for an algebraic number η, namely if f(x) = a 0 d i=1 (x η(i) ) is the factored form of its minimal polynomial over Z, then its height is replaced by h(η) := 1 d ( log a 0 + d i=1 ( log max( η (i), 1)) ). Theorem. (Corollary, Laurent et al. [4]) Let b 1, b be positive integers and η 1, η algebraic numbers which are real, positive and multiplicatively independent. Let Λ = b 1 log η 1 b log η be non-zero. Let D = [Q(η 1, η ) : Q]. Let real numbers A j satisfy, for j = 1, and define b := A 1 /b + A /b 1. Then A j max(dh(η j ), log η j, 1). { log Λ 4.34D (max log b + 0.14, }) 1 D, 1 A 1 A.

INTEGERS: 1 (01) 3. Perfect Even Repdigits Lemma 6. A repunit U n to base g > 1 is even and perfect if and only if n = and g = p 1 ( p ) where p and p are prime. Proof. Suppose that U n is even and perfect. Since every repunit in base is odd, we have g >. We are able to write U n = p 1 ( p ) where p is prime and and p is prime. Since U n is even then U n = 1 + g + + g n 1 implies g is odd and n is even, say n = m. Then, if V m := 1 + g m, we have V m U m = U n = p 1 ( p ). If m is even then V m, as the sum of two squares, has a prime divisor q 1 (mod 4), which is a contradiction since necessarily q = p 3 (mod 4). Hence m is odd and so U m is also odd since g is odd. Since p is prime we must have U m = p so V m = p 1. But we can write V m = g m ( 1) m = (g + 1)(g m 1 g m + g m 3 + 1) and the second factor is odd so must be 1. Therefore V m = g + 1 which implies m = 1 and thus n =. But this means U n = 1 + g = p 1 ( p ). Example 7. By exhaustive search using Lemma 7, Pollack [1], we found that for g {, 3, 4} there are no perfect even repdigits to base g. For g =, 6 is the only repdigit and for g = 6, 8 is the only even repdigit. For g 7 each even perfect number n with n < g is an even repdigit. In addition, 8 is an even repdigit to base 13. Up to base g = 100 the maximum number of even perfect repdigits is 3, namely 6, 8 and 496, and these occur when g = 30 and when g = 61. 4. Perfect Odd Repdigits Lemma 8. To base there are no odd perfect repdigits. Proof. If U n is an odd perfect repdigit, using Euler s structure theorem for odd perfect numbers we can write n 1 = rs for some prime r 1 (mod 4) and n so 3 1 (mod 4). Thus there are none. Lemma 9. (Luca and Pollack [9]) Let U n = U n (g) = (g n 1)/(g 1) where n is an odd positive integer and g are fixed. If the prime decomposition of n is written n = p 1 p k with p 1 p p k and we define the partial products n 1 = n, n i+1 = n i /p i 1 i k, with n k+1 = 1, then in the factorization U n = U n 1 Un U nk, U n U n3 U nk+1 for all 1 i < j k if a prime p divides the GCD of the ith and jth terms then ( ) Uni U nj p,, U ni+1 then p g and p = p i = p i+1 = = p j. U nj+1

INTEGERS: 1 (01) 6 Lemma 10. To base 3 there are no odd perfect repdigits. Proof. We need only consider a = 1. If U n is an odd perfect repunit to base 3 we have 3 n = rs where rs 1 (mod 4) so n is odd. Let p be an odd prime and define U p := (3 p )/(3 ). Then, by Lemma 3, if U p is perfect we can assume p 13. It is easy to show directly that none of these repunits is perfect. Now let n be composite and suppose that U n is perfect. Let p = P (n) and write ( 3 n ) ( 3 p ) U n = 3 p = rs 3 where r is an odd prime. Since p is odd, cases (a) and (b) of Lemma do not apply so the GCD ( 3 n ) 3 p, 3p = 1. 3 Therefore (3 n )/(3 p ) = s or (3 p )/ = s, where each of these squares is odd. If (3 n )/(3 p ) = s then by Lemma 4 (in Pollack [1]), since n is odd, U n = s and U p = s, the former by Lemma 4 in this paper implying n =, which is not possible since n is composite. Finally we consider 3 p = s where p is an odd prime. By Lemma 4 in this paper we must have p = P (n) = so there exists non-negative integers a, b with n = 3 a b. If 3 n then 13 = U 3 U n so 13 U n or 13 U n. But the order of 3 modulo 13 is 39 so 13 n which is false. Hence 13 U n so, since σ(u n ) = U n, 7 U n and therefore 6, the order of 3 modulo 7, divides n which again is false. Therefore 3 n. So we can let n = b and assume, after a simple numerical check, that b 3. Then U n is odd and let us assume U n is also perfect. Write U n = U b U b 1 Ub 1 U b U U 1 U 1. U 0 By Lemma 9 the greatest common divisor of any two of the factors on the right-hand side is supported by primes dividing g =. But each of the U j is odd so each of the greatest common divisors is 1 and the b factors are pairwise coprime. Since, by Lemma 4 again, each of the factors on the right-hand side of this expression is not a square, except the last which is U = 11, there must be at least b prime factors of U n which appear to an odd power. Therefore ν (σ(u n )) b. But then ν (σ(u n )) = ν (U n ) = 1 b is false. Hence U n is not perfect.

INTEGERS: 1 (01) 7 Lemma 11. To base 4 there are no odd perfect repdigits. Proof. We need only consider a = 1, 3. First let a = 3 so au n = rs, where r is an odd prime, implies 4 n = rs so ( n )( n + 1) = rs. Since the GCD ( n, n + 1) = 1 we must have n + 1 = s or n = s. In the first case, for some natural number x we have n = (x )(x + 1) giving x = 3 and 3 + 1 = 3 as the only solution. But au n = 63 is not perfect. If n = s and n then 3 1 (mod 4), which is false. Thus n = 1 is the only solution, but this gives the number au n = 3, which is not perfect. Now let a = 1, so that ( n )( n + 1) = 3rs. If n is even, 3 n so ( n ) ( n + 1) = rs, 3 and therefore either n + 1 = s giving, as we saw before, 3 + 1 = 3 as the only solution, or n = 3s. In this latter case let n = m so ( m )( m + 1) = 3s giving m = s or m + 1 = s. The latter implies n = 6 but then au n = 136 which is not perfect. If m = s, n =, so we fail to obtain an odd perfect number. If, however, n is odd we have ( n ) + 1 ( n ) = rs, 3 so either n = s or n + 1 = 3s, but as we have seen the former requires n = 1 and the latter, taken modulo 4, also requires n = 1, so we fail once more. This exhausts all possibilities. Lemma 1. The diophantine equation m + 1 = 6s has just one solution m = 1, s = 1. Proof. First let m + 1 = 6s = 6x for some odd m > 1 and x N, with x > 1. Then m = ( 6x + 1)( 6x ). Now the class number h(q( 6)) = 1 so the ring of integers R := O Q( 6) has unique factorization, and since 6 1 (mod 4), its integers have the form u + v 6, u, v Z. The fundamental unit is ɛ = + 6. Now in R we factor = ( 6 + 1)( 6 ) into primes, giving ( 6 + 1) m ( 6 ) m = ( 6x + 1)( 6x ). Note that the GCD of the two factors on the right is 1, since necessarily x is odd, so therefore 6x + 1 = ɛ ±l ( 6 + 1) m, 6x = ɛ l ( 6 ), or 6x + 1 = ɛ ±l ( 6 ) m, 6x = ɛ l ( 6 + 1).

INTEGERS: 1 (01) 8 If l = 0 then subtracting each pair of equations clearly leads to m = 1 as the only solution. Again subtracting, the case 6x+1 = ɛ l ( 6+1) m, 6x 1 = ɛ l ( 6 1) with l > 0 has no solution since < ( 6 + 1) m ( 6 ) m for all m 1. In this manner we are left with the only possible situation, with l > 0, and = ( 6) l ( 6 + 1) m ( + 6) l ( 6 ) m (1) ( 6) l ( 6 + 1) m = 1 + 6x = 1 + 1 + m. () Next we derive an inequality relating l and m. Considering the right-hand side of Equation () we get ( 6) l ( 6 + 1) m > m so therefore ( ) 6 + 1 m log > l log( + 6). Also ( 6 + 1) m < m ( + 6) l and therefore ( ) 6 + 1 m log < log + l log( + 6). These inequalities imply ( 0.189m 0.303 < l < 0.189m. 6+1 ) Now let Λ := m log l log( + 6). We derive the bounds, valid for all m 1, 1 4 m < Λ <. (3) m By Equation () we have log Λ = log((1 + 1 + m )/ m/ ) and the inequality follows using the relation x/ < log(1 + x) < x valid for 0 < x < 1. Now we apply Theorem to Equation (). Let b 1 = m, b = l, η 1 = ( 6+1)/ and η = + 6. Then the minimal polynomial for η 1 is x 4 4x + and the degree, D, of the number field is 4. We calculate the lower bound log Λ 1087. Using the right-hand side of inequality (3) gives 1087 < log Λ < log m log = m < 1870. Finally we tested m in the range m 18749 numerically. To do this we solved Equation () numerically for each value of m in the given range for l to twenty decimal places and checked to see whether l was within 1/10 10 of an integer, and found no such integer l. This completes the proof. Lemma 13. To base there are no odd perfect repdigits.

INTEGERS: 1 (01) 9 Proof. First consider a = 1 and suppose U n = rs for an odd prime r 1 (mod 4). By the note above we can assume n is odd. If n is prime then, by Lemma 3, U n is not odd and perfect for n 7. Since U = 6 is not odd and U = 31 and U 7 = 1931 not perfect, we can take n to be odd and composite. Let p = P (n) so p 3. Then using Pollack s method we write n p p = rs and note that, by Lemma, ( n ) p, p = 1. Therefore n p = s or p = s, but both of these are impossible by Lemma 4. Now let a = 3 so we can assume 3U n = rs. Since the prime r 1 (mod 4) we must have 3 r so 3 n, and thus n = m is even. Writing ( m ) ( m ) + 1 3 = rs we get m +1 = 6s or m 1 = s when m is odd, and m +1 = s or m 1 = 6s when m is even. As we will show below, each of these four possibilities is impossible. First let m + 1 = 6s = 6x for some odd m > 1 and x N, with x > 1. Then, by Lemma 1 the equation has only one solution, m = x = 1, but 3U = 18 is not perfect or odd. The cases m = s or m = 6s with s 1 (mod 4) are not possible since the right-hand side is congruent to 0 modulo 4. Finally let m + 1 = s with m even. The quadratic residue of the left-hand side modulo, ( m + 1 ) = 1, but the residue (s ) = ( ) = 1 so this fails also. Lemma 14. There are no odd perfect repdigits to base 6. Proof. We need only consider the case where U n is odd and a {1, 3, }. If a = 1 and U n = rs then 6 n = rs with r 1 (mod 4), so if n > 1 3 1 (mod 4), while U 1 = 1 is not perfect. If a = 3 then 6 n = 1rs so 3 1, so this case fails. If a = then 6 n = rs so if n > 1, again 3 1 (mod 4). Lemma 1. There are no odd perfect repdigits to base 7.

INTEGERS: 1 (01) 10 Proof. If a = 1 then 7 n = 6rs. We have U n 1 (mod 4) and n must be odd, and we can assume also composite. Using Pollack s method, letting p = P (n), ( 7 n ) ( 7 p ) 7 p = rs, 7 and, by Lemma 1, the GCD ((7 n 1)/(7 p 1), (7 p 1)/(7 1)) = 1 unless p = 3, 9 n, and in that case, the GCD is 3 and we must have ( 7 n ) ( 7 3 ) ( 7 n ) 3(7 3 = ) 3(7 ) 3(7 3 19 = rs, ) so r divides the first factor, but 19 is not a square. Hence we can assume the GCD is 1. But then 7 n 7 p = s or 7p 7 = s. By Lemma 4 both of these are impossible. If a = 3 then 7 n = rs. We have U n 3 (mod 4) and n must be even, n = m. But then the left-hand side is congruent to 0 modulo 4 and the right to, so this is impossible. Finally if a = if (7 n ) = 6rs. We have U n 1 (mod 4) and n must be odd. If r = we have 7 n 7 = s which, by Lemma 4, is impossible unless n, but U 1 and U are not perfect. Thus we can assume r > and write 7 n = 30rs. We may also assume n is composite so, using Pollack s method, in case p = P (n) = 3 and 9 n then ( 7 n ) ( 7 3 ) 3(7 3 ) = 3(7 ) ( 7 n 3(7 3 ) ) 19 = rs, where the two factors on the left are coprime. But this is impossible since r must divide the first factor and 19 is not a square. So we can assume p > 3 and in ( 7 n ) ( 7 p ) 7 p = rs, 7 that the two factors in the left are coprime. But this means we must have at least one of the following. 7 n 7 p = s, 7 n 7 p = s, 7 p 7 = s, 7 p 7 = s. The first and third of these are impossible by Lemma 4. The second and fourth are also not possible because the multiplicative order of modulo is 4 which does not divide n or p.

INTEGERS: 1 (01) 11 Lemma 16. Let m 1 be odd. Then ( 1 + ) m ( 1 ) m 4 (mod 8), m 0 (mod 3), a m := + 1 (mod 4), m 1 (mod 3), 3 (mod 4), m (mod 3). Proof. First increment the equations of this lemma by including the additional set with left-hand side denoted b m : ((1 + ) m ( 1 ) m ) (mod 8), m 0 (mod 3), 1 (mod 4), m 1 (mod 3), 1 (mod 4), m (mod 3). Let m = 3n, m = 6n+1, m = 6n+ to model the three equivalence classes modulo 3 with odd values of m and then, within each class, we use induction on n, the base being n = 0 which is easily checked. Let m = 3n. Then a 3(n+1) = ( + ) ( 1 + ) 3n + ( ( ) 1 ) 3n = a 3n + b 3n = (4 + 8x) + ( + 8y), for some integers x, y (mod 8). Let m = 6n + 1. Then a 1+6(n+1) = (9 + 4 ) ( 1 + ) 6n+1 + (9 4 ( 1 ) 6n+1 ) = 9a 6n+1 + 4b 6n+1 = 9(1 + 4x) + 4(1 + 4y), for some integers x, y 1 (mod 4). Finally let m = 6n +. Then a +6(n+1) = (9 + 4 ( 1 + ) 6n+ ) + (9 4 ( 1 ) 6n+ ) = 9a 6n+ + 4b 6n+ = 9(3 + 4x) + 4(1 + 4y), for some integers x, y 3 (mod 4). Thus, by induction on n, the given formula for a m is true for all m 1. Lemma 17. For all n N a n := (16 6 7)(17 + 48 7) n + (16 + 6 7)(17 48 7) n = m n where m n is odd.

INTEGERS: 1 (01) 1 Proof. First let b n := (16 6 7)(17 + 48 7) n (16 + 6 7)(17 48 7) n. We will show by induction that a n and b n / 7. Start the inductive proof with the calculation a 1 =, b 1 =.3. Then note that a n+1 = 17a n + 48 7b n, b n+1 = 17b n + 48 7a n, and the result follows immediately from these recurrences. Lemma 18. There are no odd perfect repdigits to base 8. Proof. If a = 1 then 8 n = 7rs. We have U n 1 (mod 4) and, by Lemma 3 we can assume n is composite. First let n be even, n = m. Then ( 3m ) ( 3m + 1 ) = rs 7 so 3m = 7s or 3m + 1 = s. The latter is Catalan s equation with the single solution m = 1, [14, 10], leading to 8 = 7 3, but U = 9 is not perfect. For the former, if m = l is even then ( 3l ) ( 3l + 1 ) = s 7 so 3l = 7s and 3l + 1 = s. Subtracting we can write = x 7y, a Pellian equation with solutions (x 1, y 1 ) = (3, 1) and general solution {(x j, y j ) : j N} where 1 x n = ((3 7)(8 + 3 7) n (3 + 7)(8 3 7) n) y n = 1 7 ( (3 7)(8 + 3 7) n + (3 + 7)(8 3 7) n). Therefore for each l there exists an n l such that 3l + 1 = x n l and 3l = 7yn l. Hence x n l + 7yn l = 3l+1. But for all n N x n + 7y n = (16 6 7)(17 + 48 7) n + (16 + 6 7)(17 48 7) n and the maximum power of two dividing the integer which is the right-hand side is, by Lemma 17 always exactly. Since 3l + 1 for any l this case does not occur. So assume 3m = 7s where m is odd. But then, if p is the maximum prime dividing 3m and we write ( 3m p ) ( p ) = 7s

INTEGERS: 1 (01) 13 we must have p = s or ( 3m )/( p ) = s, both of which equations are impossible by [1, Lemma 4] and the case g = above. Now let n be odd and we may assume it is not prime. Let p = P (n) = 7 and suppose also that 7 n. Then by Lemma we can write ( 8 n ) ( 8 p ) 7(8 7 ) 7 = rs so 8 n 7(8 7 ) = s or 87 7 = s. Now the left-hand side of the latter equation is 17 337 and if we recast the former as the Thue equation x 7(8 7 )y = 1, which has no integer solutions, we see that this case yields no solutions. If p = P (n) 7 or 7 n then again by Lemma we have ( 8 n ) 8 p, 8p = 1, 7 and since ( 8 n ) ( 8 p ) 8 p = rs 7 we must have at least one of the following. 8 n 8 p = s, If (8 n )/(8 p ) = s then writing (8 p ) n p 8 p 8 p 7 = s = s. and consulting Lemma 4 we see there are no solutions in this case. If 8 p = 7s then, following the case a = 1 we see there are no solutions. Now let a = 3. The equation 3(8 n ) = 7rs is impossible because 1 3 (mod 4). If a = then (8 n ) = 7rs. If r = we have 8 n = 7rs, the same as the case a = 1, so we assume r. This gives rise to a rather large number of diophantine equations as follows. First assume n = m is even. Then splitting as before we must have one of the cases (i)-(iv) as set out below. Case (i) If 8 m + 1 = s then 3m = (x + 1)(x ) for some odd x > 1 so m = 1 giving au n = 4, which is not perfect. Case (ii) If 8 m + 1 = s, a check with Magma [1], using the Thue equation x y = 1, shows there are no solutions if m is odd. If m = l is even write 1 = x 8 l = ( x + 8 l )( x 8 l )

INTEGERS: 1 (01) 14 and note that x+8 l is a unit in the ring R = O Q( ). In this ring the fundamental unit is η := (1 + )/ with norm -1 so there exists an odd integer s such that ±η s = x + 8 l. But this implies ( 1 + ) s ( 1 ) s + = ± 8 l. By Lemma 16 the left-hand side is either odd or congruent to 4 modulo 8, so 8 m + 1 = s, with m even, has no solution. Case (iii) Consider 8 m = 7s. That this is impossible unless s = 1 follows from the calculations done in case a = 1 above. Case (iv) If 8 m = 3s, a check with Magma, using the Thue equation x 3y = 1, shows there are no solutions if m is odd. If m is even, m = l, then either 8 l = 3s and 8 l + 1 = s, so x 3y = which has no solutions, or 8 l = 7s and 8 l + 1 = s so x 7y =, which again has no solutions. If n is odd, p = P (n) = 7 and p n, by Lemma the GCD ( 8 n ) ( 8 p ) 8 p = 7, 7 we must have at least one of three cases given below. Either 8 7 = 7 s or 8 7 = 7 s, both of which are false. If 8 7m = 7(8 7 )s, a check with Magma using the Thue equation x 7(8 7 )y = 1 shows there are no solutions in this case. If 8 7m = 3(8 7 )s, a check with Magma using the Thue equation x 3(8 7 )y = 1 shows there are no solutions in this case. If p 7 then the GCD is 1 so we must have at least one of the three cases given below. If 8 p = 7s this is impossible by Case (iii) above. If 8 p = 3s there are no solutions, by Case (iv). If 8 n = (8 p )s, this is impossible since by Lemma 4 x n/p x = s has no solution with x = 8 p unless n/p, but n is odd and composite. If 8 n = (8 p )s, this is impossible since 8 n implies 4 n, but n is odd. Let a = 7. Then the equation 8 n = rs is impossible since 3 1 (mod 4). Using the same approach as for Lemma 1, but working in the unique factorization domain which is the ring of integers of Q( 7) we obtain the following.

INTEGERS: 1 (01) 1 Lemma 19. The diophantine equation 3 m + 1 = 7s has just one solution m = 3, s = 4. Lemma 0. There are no odd perfect repdigits to base 9. Proof. If a = 1 then 9 n = 8rs. We have U n 1 (mod 4) and n 1 (mod 4), n = 4m + 1. Then ( 3 4m+1 ) ( + 1 3 4m+1 ) = rs 4 and the GCD of the two factors on the left is 1, so either 3 4m+1 + 1 = 4s or 3 4m+1 = s. By Lemma 4 the only solution to the latter equation is m = 1 or n = and U is not perfect. The former is Catalan s equation [10, 14, 13], so this has no solution for all m. Let a = 3. If 3(9 n ) = 8rs then since r 1 (mod 4) we have 3 s so 9 n = 4rs which is not possible since 3 1. If a = then (9 n ) = 8rs. We have U n 1 (mod 4) and n 1 (mod 4). If r =, 3 n = s which, by Lemma 4 again is impossible, so assume r >. Then ( 3 4m+1 ) ( + 1 3 4m+1 ) = rs 4 and the factors on the left are coprime so we must have at least one of 3 4m+1 + 1 = s, 3 4m+1 + 1 = s, 3 4m+1 = s, 3 4m+1 = 10s. The second and fourth are impossible, since 3 4m+1 ± 1 is never a multiple of. The first is impossible since it is Catalan s equation. The only solution to the third is m = 1, but U = 3690 is not perfect. If a = 7 then 7(9 n ) = 8rs. We have U n 3 (mod 4) and n 1 (mod 4). Then 7U n = rs implies ( 3 n ) ( + 1 3 n ) = 7rs 4 so we must have at least one of 3 n = s, 3 n = 14s, 3 n + 1 = s, 3 n + 1 = 7s. The first is impossible since 3 n )/(3 ) = s implies, by Lemma 4, n = or n, but 7U, 7U, 7U 1 are not perfect. The second gives 3 n 1 (mod 7), but 6 is the multiplicative order of 3 modulo 7 so 6 n and n must be even, n = m. Then (3 m + 1)(3 m ) = 14s so 4 divides the left-hand side, but the right-hand side is twice an odd number. The third is Catalan s equation and has no solution. By Lemma 19 the fourth has just one solution with n = 3, but 7U 3 = 637 is not perfect. The proof of Theorem 1, using Lemmas 8, 10, 11, 13, 14, 1, 18, and 0 is now complete.

INTEGERS: 1 (01) 16. Conjectures Following the result of Pollack, this study, the theorem of Luca [7], that no member of a Lucas sequence with odd parameters (P, Q) is multiperfect, and the theorem of Luca and Pollack [9] that no odd repdigit to base 10 is multiperfect, it is natural to induce there should be no odd perfect repdigits to any base g. This of course is too difficult since it implies there is no odd perfect number. Conjecture U: There is no odd repunit which is perfect. Conjecture R: There exists an infinite set of bases G such that for each g G no odd repdigit to base g is multiperfect. Acknowledgement We gratefully acknowledge the helpful comments made by Florian Luca following his consideration of an earlier draft of this paper. References [1] Bosma, W., Cannon, J. and Playoust, C., The Magma algebra system I. The User Language, J. Symbolic Comput. 4 (1997), 3 6. [] Broughan, K. A., Gonzáles, M. J., Lewis, R. H., Luca, F., Huguet V., and Togbé, A. There are no multiply perfect Fibonacci numbers, Integers, 11A (011), #A7. [3] Bugeaud, Y. and Mignotte, M., On integers with identical digits, Mathematika 46 (1999), 411 417. [4] Laurent, M, Mignotte, M. and Nesterenko, Yu., Formes Linearires en deux logarihmes et déterminants d interpolation, J. Number Theory (199), 8 31. [] Ljunggren, W., Equations in prime powers, Pacific J. Math. 118 (198), 39 367. [6] Luca, F., Perfect Fibonacci and Lucas numbers, Rend. Circ. Mat. Palermo () 49 (000), 313 318. [7] Luca, F., Multiply perfect numbers in Lucas sequences with odd parameters, Publ. Math. Debrecen, 8 (001), 11 1. [8] Luca, F., The antisocial Fermat number, Amer. Math. Monthly 107 (000), 171 173. [9] Luca, F. and Pollack P., Multiperfect numbers with identical digits, J. Number Theory 131 (011), 60 84. [10] Mihâilescu, P., Primary Cyclotomic Units and a Proof of Catalan s Conjecture, J. Reine angew. Math. 7 (004), 167-19. [11] Oblath, R., Une propriété des puissances parfaites, Mathesis 6 (196), 36 364. [1] P. Pollack, Perfect Repdigits, Integers, 11A (011), #A18. [13] P. Ribenboim, Catalan s Conjecture, Academic Press, 1994. [14] Tijdeman, R., On the equation of Catalan, Acta Arith. 9 (1976), 197 09.