Minimal multipliers for consecutive Fibonacci numbers

Size: px
Start display at page:

Download "Minimal multipliers for consecutive Fibonacci numbers"

Transcription

1 ACTA ARITHMETICA LXXV3 (1996) Minimal multipliers for consecutive Fibonacci numbers by K R Matthews (Brisbane) 1 Introduction The Fibonacci and Lucas numbers F n, L n (see [2]) are defined by Since F 1 = F 2 = 1, F n+2 = F n+1 + F n, n 1; L 1 = 1, L 2 = 3, L n+2 = L n+1 + L n, n 1 (1) F n 1 F n F n 2 F n+1 = ( 1) n, it follows that gcd (F n, F n+1,, F n+m 1 ) = 1 for all m 2 Consequently, integers x 1,, x m exist satisfying x 1 F n + x 2 F n x m F n+m 1 = 1 We call (x 1,, x m ) a multiplier vector By equation (1), one such vector is (2) M n = (( 1) n F n 1, ( 1) n+1 F n 2, 0,, 0) The problem of finding all multiplier vectors reduces to finding a Z-basis for the lattice Λ of integer vectors (x 1,, x m ) satisfying x 1 F n + x 2 F n x m F n+m 1 = 0 It is easy to prove by induction on m that such a lattice basis is given by M n+2, L 1,, L, where (3) L 1 = (1, 1, 1, 0,, 0), L 2 = (0, 1, 1, 1, 0,, 0), L = (0,, 0, 1, 1, 1) Hence the general multiplier vector has the form M n + y 1 L y L + y m 1 M n+2, where y 1,, y m 1 are integers [205]

2 206 K R Matthews Table 1 Least multipliers, m = 4, 5, 2 n 20 n Least multipliers, m = n Least multipliers, m = A recent paper by the author and collaborators [1] contains an algorithm for finding small multipliers based on the LLL lattice basis reduction algorithm Starting with a short multiplier, we then use the Fincke Pohst algorithm to determine the shortest multipliers When applied to the Fibonacci sequence, this experimentally always locates a unique multiplier of least length if n > 1 For m = 2, it is well known that the extended Euclid s algorithm, applied to coprime positive integers a, b, where b does not divide a, produces a multiplier vector (x 1, x 2 ) satisfying x 1 b/2, x 2 a/2, which is consequently the unique least multiplier With a = F n+1, b = F n, n 3, this gives the multiplier vector M n However, for m 3, the smallest multiplier problem for F n,, F n+m 1 seems to have escaped attention (Table 1 gives the least multipliers for m = 4 and 5, 2 n 20) In this paper, we prove that there is a unique multiplier vector of least length if n 2, namely W n,m, where (4) W n,m = ( 1) n V n,m = ( 1) n (W n,1,m, W n,2,m,, W n,m,m ), which is defined as follows, using the greatest integer function: Let (5) (6) P n = (F n 1, F n 2, 0,, 0), V n,m = P n G n,1,m L 1 + G n,2,m L 2 + ( 1) m G n,,m L, where the nonnegative integers G n,1,m,, G n,,m are defined as follows:

3 Let Minimal multipliers 207 Fm r (F n 2 + F r ) H n,r,m =, 1 r m Then for m even, Hn,r,m if 2 r m 2, r even, (7) G n,r,m = if 1 r m 3, r odd, H n 1,r+1,m while for m odd, Hn,r,m 1 = G (8) G n,r,m = n,r,m 1 if 2 r m 3, r even, H n 1,r+1,m+1 = G n,r,m+1 if 1 r m 2, r odd The definition of G n,r,m extends naturally to r = 1, 0, m 1, m: G n, 1,m = F n 3, G n,0,m = F n 2, G n,m 1,m = G n,m,m = 0 Then equations (4) (6) give (9) W n,r,m = G n,r 2,m + G n,r 1,m G n,r,m It was not difficult to identify these multipliers for 2 n 2m + 2 (see Table 2) It was also not difficult to identify them for m even, n arbitrary, though the initial form of the answer was not elegant However, it did take some effort to identify the case of m odd, n arbitrary This was done with the help of the GNUBC 103 programming language, which enables one to write simple exact arithmetic number theory programs quickly To prove minimality of length, we use the slightly modified lattice basis for Λ, L 1,, L, W n+2,m, which is the one always produced by our LLL-based extended gcd algorithm We then have to prove that if n > 1, x 1 L x L + x m 1 W n+2,m W n,m 2 W n,m 2 for all integers x 1,, x m 1, with equality only if x 1 = = x m 1 = 0 The proof divides naturally into two cases If x m 1 is nonzero, the coefficient of x 2 m 1 dominates For this we need Lemmas 5 and 11 If x m 1 = 0, the argument is more delicate and divides into several subcases, again using Lemma 5 The other lemmas play a supporting role for the derivation of Lemmas 5 and 11 In particular, Lemma 2 is important, as congruence properties in Lemma 4 reduce the calculation of the discrepancies for general n to the case n 2m + 2, where everything is quite explicit 2 Explicit expressions for W n,r,m For later use in the proof of Lemma 11, we need the following simpler form for W n,1,m in terms of the least integer function:

4 208 K R Matthews Lemma 1 Fn+m 3 F F W n,1,m = m Fn if m is even, if m is odd P r o o f The identity F n+m 3 = F n 1 F F n 3 follows from the well known identity F a+b = F a F b+2 F a 2 F b, with a = m and b = n 3 Consequently, if m is even, F (F n 3 + 1) W n,1,m = F n 1 G n,1,m = F n 1 Fn+m 3 + F Fn+m 3 F = =, and similarly if m is odd The W n,r,m with m even and 3 n 2m + 2 have an especially simple description in terms of Lucas numbers and play a central role in the proof of Lemma 5: Lemma 2 (See Table 2, which summarizes (a) and (c)) (a) Let 3 n m + 2, m even If n is odd, Ln r 2 if r n 3, W n,r,m = 1 if r = n 2, n 1, 0 if r n If n is even, L n r 2 if r n 4, 2 if r = n 3, W n,r,m = 1 if r = n 2, 0 if r n 1 (b) Let 3 n m + 2, m odd Then W n,r,m = W n,r,m 1, 1 r m 1, W n,m,m = 0 (c) Let 3 + m n 2m + 2 Then Ln r 2 if r 2m n + 3, W n,r,m = L n r if r = 2m n + 3 These formulae follow from explicit expressions below for G n,r,m in terms of the Fibonacci numbers, when m is even: Lemma 3 (a) Let 3 n m + 2 If r is even, Fn r 2 if r n 2, G n,r,m = 0 if r n 1

5 Minimal multipliers 209 Table 2 The W n,r,m, 1 n 2m + 2, m even n W n,1,m W n,2,m W n,3,m W n,4,m W n,5,m L L L L 2 L 1 L L 3 L 2 L L L 4 L 3 L 2 L 1 L 0 1 m 1 L m 4 L m 5 m L m 3 L m 4 m + 1 L L m 3 m + 2 L m 1 L m + 3 L m L m 1 m + 4 L m+1 L m m + 5 L m+2 L m+1 m + 6 L m+3 L m+2 2m L 2m 3 L 2m 4 L 2m m + 1 L 2 L 2m L 2m 4 2m + 2 L 2m L 2 L 2m 3 Table 2 (cont) n W n,6,m W n,m 3,m W n,,m W n,m 1,m W n,m,m m 1 L m L L m + 1 L 2 L 1 L m + 2 L 3 L 2 L L 0 1 m + 3 L 4 L 3 L 2 L m + 4 L 5 L 4 L L 2 m + 5 L 6 L L 4 L 3 m + 6 L L 6 L 5 L 4 2m L m+1 L m L m 1 L 2m + 1 L m+2 L m+1 L m L m 1 2m + 2 L m+3 L m+2 L m+1 L m

6 210 K R Matthews If r is odd, G n,r,m = Fn r 4 if r n 3, 0 if r n 2 (b) Let m + 3 n 2m + 2 If r is even, Fn r 2 if r 2m n + 2, G n,r,m = F n r 2 F n 2m+r 2 if r 2m n + 3 If r is odd, G n,r,m = Fn r 4 if r 2m n + 1, F n r 4 F n 2m+r 2 if r 2m n + 2 (c) If n = 1 or 2, G n,r,m = 0 for 1 r m P r o o f We assume r and m are even, as the case of odd r depends trivially on this case We start from the following identity, valid for a even: (10) F a r F b F a F b r = ( 1) r F b a F r Then Hence (11) and (12) (13) r F n 2 F n r 2 = F n F r r (F n 2 + F r ) = F n r 2 + ( r F n )F r = F n r 2 + ( r + ( 1) n n+2 )F r Fm r (F n 2 + F r ) (Fm r F n )F r G n,r,m = = F n r 2 + (Fm r + ( 1) n n+2 )F r = F n r 2 + (a) Assume 3 n m + 2 First suppose r n 2 Then m r m n and hence and Hence 0 n+2 r 0 r + ( 1) n n+2 2 r 0 ( r + ( 1) n n+2 )F r 2 rf r < 1, as 2 r F r < if 2 r m 2 Hence (Fm r + ( 1) n n+2 )F r = 0 and equation (13) gives G n,r,m = F n r 2

7 Next suppose r n 1 Then Minimal multipliers r(f n 2 + F r ) r(f r 1 + F r ) = rf r+1 < 1, where we have used the inequality F a F b < F a+b 1 if 2 a, 1 b Hence G n,r,m = 0 (b) Assume m + 3 n 2m + 2 First assume r 2m n + 2 Then m r n m 2 0 and r F n 0 and as seen before, the second integer part is zero in formula (12) and G n,r,m = F n r 2 Next assume r 2m n+3 Again we use a special case of equation (10): F n F r F n 2m+r 2 = ( 1) n r F 2m n+2 This, together with equation (12), gives Fm r (F r + ( 1) n+1 F 2m n+2 ) G n,r,m = F n r 2 F n 2m+r 2 + But r 2m n + 3 implies F r F 2m n+2 0 and as before, the integer part vanishes and we have G n,r,m = F n r 2 F n 2m+r 2 3 The discrepancies D n,r,m and E n,r,m Lemma 4 Let D n,r,m = W n,r 2,m W n,r 1,m W n,r,m, 3 r m (a) If n = t + 2Nm, m even, F n = F t + F Nm L Nm+t and D n,r,m = D t,r,m (b) If m is odd, then Dn,r,m 1 if r is even, D n,r,m = if r is odd D n,r,m+1 P r o o f (a) Let n = t + 2Nm, m even Then F n F t = F t+2nm F t = F Nm+t+Nm F Nm+t Nm = F Nm L Nm+t, as Nm is even Noting that F Nm 0 (mod ), we have from equation (7) and the definition of H n,r,m : G t,r,m + rf Nm L Nm+t if 2 r m 2, r even, F (14) G n,r,m = m G t,r,n + r 1F Nm L Nm+t if 1 r m 3, r odd

8 212 K R Matthews Hence, noting that Z = (F Nm L Nm+t )/ is an integer, we verify that with r even, equations (7) and (9) give Hence W n,r,m = W t,r,m + r+2 Z, W n,r 1,m = W t,r,m r Z + 2 r+2 Z, W n,r 2,m = W t,r,m + r+4 Z D n,r,m D t,r,m = ( r+4 ( r + 2 r+2 ) r+2 )Z = ( r + r+4 3 r+2 )Z = ( r + r+3 2 r+2 )Z = ( r + r+1 r+2 )Z = 0 Similarly for r odd (b) Let m be odd Then if r is even, equations (8) and (9) give and consequently W n,r,m = G n,r 2,m 1 + G n,r 1,m+1 G n,r,m 1, W n,r 1,m = G n,r 3,m+1 + G n,r 2,m 1 G n,r 1,m+1, W n,r 2,m = G n,r 4,m 1 + G n,r 3,m+1 G n,r 2,m 1, D n,r,m = 3G n,r 2,m 1 G n,r,m 1 G n,r 4,m 1 = D n,r,m 1 Similarly when r is odd, we find D n,r,m = D n,r,m+1 Lemma 5 For each n, we have W n,r 2,m = W n,r 1,m + W n,r,m, with at most three exceptional r, which satisfy D n,r,m = 1 P r o o f If m is even, Lemma 4(a) reduces the problem to the range 1 n 2m, where it is evidently true, by virtue of the explicit formulae for W n,r,m given in Lemma 2 We also observe that if m is even, then for n even, there are at most 2 odd r and one even r for which D n,r,m = 1 Then Lemma 4(b) gives the result when n is even Similarly for n odd As a corollary, we have Lemma 6 For fixed n > 1 and m 3, W n,r 1,m W n,r,m if 2 r m P r o o f This is clear when n m + 2, while for n m + 3, it is a consequence of the inequalities W n,m,m 1, W n,m 1,m W n,m,m and W n,r 2,m W n,r 1,m + W n,r,m 1, 3 r m We will need an alternative Z-basis for the lattice Λ Lemma 7 The vectors L 1,, L, W n+2,m form a Z-basis for Λ

9 Minimal multipliers 213 P r o o f This is a consequence of the identity W n+2,m = M n+2 + ( 1) n ( 1) i G n+2,i,m L i, which follows from equations (4) (6) Lemma 8 Let E n,r,m = G n+2,r,m G n+1,r,m G n,r,m, where m is even (a) If n t (mod 2m), then E n,r,m = E t,r,m (b) If n = 1, 2, m + 1 or m + 2, then E n,r,m = 0 for 1 r m If 3 n m and n is even, 1 if r = n 3, E n,r,m = 0 otherwise If 3 n m and n is odd, If m + 3 n 2m + 2, E n,r,m = E n,r,m = 1 if r = n 1, 0 otherwise 1 if r = n 2 m, 0 otherwise P r o o f (a) follows from equation (14), while (b) follows from the explicit form of G n,r,m given in Lemma 3 Lemma 9 Let E n,m = W n+2,m + W n+1,m W n,m Then (15) E n,m = (0,, 0) or ± L i for some i P r o o f By equations (4) (6), E n,m = ( 1) n (V n+2,m V n+1,m V n,m ) = ( 1) n ( 1) r E n,r,m L r r=1 If m is even, Lemma 8 gives the result directly, while if m is odd, we see from equation (8) that En,r,m 1 if 2 r m 3, r even, E n,r,m = if 1 r m 2, r is odd E n 1,r+1,m+1 Then Lemma 8, with m replaced by m 1 and m + 1, respectively, gives the result As a corollary, we have Lemma 10 For fixed r and m, W n+1,r,m W n,r,m

10 214 K R Matthews P r o o f If n m, the result follows from Lemma 2 If n m + 1, m even, or n m + 2, m odd, we have W n,r,m 1 and equation (15) gives W n+2,r,m W n+1,r,m + W n,r,m 1, which gives the desired result The remaining cases are simple exercises 4 A size estimate for W n+2,m Lemma 11 If n 5, (16) W n+2,m 2 > 2W n+2,m W n,m + 18 P r o o f W n+2,m W n,m W n+1,m = 0 or τ i L i, where τ i = ±1 Hence W n+2,m 2 2W n+2,m W n,m + W n,m 2 W n+1,m 2 2W n+1,m L i + L i 2 W n+1,m 2 3 Hence the desired inequality will follow if we can prove (17) W n+1 2 > W n But W n+1,r,m W n,r,m 0 and from Lemma 1, it is easy to prove that W n+1,1,m > W n,1,m + 3 if n 7 Then because W n,1,m 2 if n 4, inequality (17) follows if n 7 Cases n = 5 and 6 of inequality (16) can be verified using the following identities: W 5,m = ( 3, 1, 1, 1, 0, 0, ), W 6,m = (4, 3, 2, 1, 0, 0, ), W 7,m = ( 7, 4, 3, 1, 1, 1, ), W 8,m = (11, 7, 4, 3, 2, 1, ), if m 6 Also W 5,5 = ( 3, 1, 1, 1, 0), W 6,5 = (4, 3, 2, 1, 0), W 7,5 = ( 7, 4, 3, 2, 0), W 8,5 = (11, 7, 4, 4, 1), W 5,4 = ( 3, 1, 1, 1), W 7,4 = ( 7, 4, 3, 2), W 6,4 = (4, 3, 2, 1), W 8,4 = (11, 7, 5, 3), W 5,3 = ( 3, 2, 0), W 6,3 = (4, 4, 1), W 7,3 = ( 7, 6, 1), W 8,3 = (11, 10, 2) 5 The proof of minimality Theorem For all integers x 1,, x m 1, (18) x 1 L x L + x m 1 W n+2,m W n,m 2 W n,m 2, with equality only if x 1 = = x m 1 = 0

11 P r o o f Inequality (18) is equivalent to Minimal multipliers 215 (19) x 1 L x L + W n+2,m x m L i W n,m x i 2W n+2 W n,m x m 1 0 The left hand side of this inequality expands to L i L j x i x j + W n+2,m 2 x 2 m L i W n+2,m x i x m 1 j=1 Now ε i = L i W n,m = ( 1) n D n,i+2,m But by Lemma 5, D n,r,m = 0 for 3 r m, with at most three exceptional r, in which case D n,r,m = ±1 Also η i = L i W n+2,m = 0, with at most three exceptions Also 3 if i = j, 0 if j = i + 1, L i L j = 1 if j = i + 2, 0 if j i + 3 Substituting all this in the expanded form of inequality (19) gives the equivalent inequality (20) Q = Q 1 + Ax 2 m 1 2Bx m η i x i x m 1 2 ε i x i 0, where A = W n+2,m 2, B = W n+2,m W n,m and m 4 Q 1 = 3 x 2 i 2 x i x i+2 Now let x 1,, x be integers, not all zero We prove Q > 0 C a s e 1: x m 1 nonzero The coefficient of x 2 m 1 dominates For completing the square gives the equivalent inequality (21) ( Q = Q 2 + A + η 2 i (x i ε i + η i x m 1 ) 2 ) ( x 2 m 1 2 B ε i η i )x m 1 ε 2 i 0, where Q 2 0 Here 2x 2 1 if m = 3, 2x Q 2 = x 2 2 if m = 4, (x 1 x 3 ) 2 + x x x 2 3 if m = 5, T + x x x 2 m 3 + x 2 if m 6,

12 216 K R Matthews where m 4 (22) T = (x i x i+2 ) 2 But ε 2 i 3, η 2 i 3, ε i η i 6 Hence inequality (21) holds with strict inequality, if we can prove (A 3)x 2 m 1 3 > 2(B + 6) x m 1 This will be true if A > 2B + 18 and this follows from Lemma 11 if n 5 Finally, only the case n = 4 needs any thought and this is straightforward, as W 2,m = (2, 1, 0, 0,, 0), W 4,m = (4, 3, 2, 1,, 0), if m 4 C a s e 2: x m 1 = 0 The argument is more delicate We start by assuming m 6 Then Q = T + S 0 U, where and S 0 = 2x x x x 2 m 4 + 2x 2 m 3 + 2x 2 U = 2 ε i x i In what follows, we make use of the inequalities x(x ± 1) 0, x(x ± 2) 1 if x Z Clearly we need only consider T 3 C a s e 2(a): T = 0 Then Q = S 0 U and x 1 = x 3 =, x 2 = x 4 = Hence one of x 1, x 2 must be nonzero and one of x m 3, x must be nonzero Then a consideration of the possible terms in U shows that Q = S 0 U = 2x x x x 2 m 4 + 2x 2 m 3 + 2x 2 U 1 C a s e 2(b): T = 1 Then Q = 1 + S 0 U and there exists i such that x i x i+2 = 1, while x j = x j+2 if j i A consideration of the possible terms in U shows that S 0 U 0 and hence Q = 1 + S 0 U 1 C a s e 2(c): T = 2 Then Q = 2 + S 0 U If one of x 1, x 2, x m 3, x is nonzero, then S 0 2 and Q 1 Suppose x 1 = x 2 = x m 3 = x = 0 Then S 0 = x x 2 m 4 If at least two of the variables are nonzero, then S 0 2 and Q = 2 + S 0 U 1 If precisely one variable x k has nonzero coefficient, then

13 Minimal multipliers 217 S 0 = x 2 k If x k 2, we are done However, if x k = 1, then nonzero terms in U can contribute at most x 2 k ± 2x k 1 to S 0 U and we have Q = 2 + S 0 U 1 C a s e 2(d) T = 3 Then Q = 3 + S 0 U 0 Moreover, Q = 0 implies S 0 U = 3 and there exist indices I, J, K satisfying 3 I < J < K m 4 with x I = ε I = ±1, x J = ε J = ±1, x K = ε K = ±1, while x i = 0 if i I, J, K A consideration of cases shows this would in turn imply T 4 Finally, there remain the cases m = 3, 4, 5 m = 3: Here x 2 1 > 0 and Q = 3x 2 1 2ε 1 x 1 = x 2 1 2x 1 (x 1 ε 1 ) > 0 m = 4: Here x x 2 2 > 0 and Q = 3x x 2 2 2ε 1 x 1 2ε 2 x 2 = x x x 1 (x 1 ε 1 ) + 2x 2 (x 2 ε 2 ) > 0 m = 5: Here x x x 2 3 > 0 and Q = (x 1 x 3 ) 2 + 2x x x 2 3 2ε 1 x 1 2ε 2 x 2 2ε 3 x 3 = (x 1 x 3 ) 2 + x x 1 (x 1 ε 1 ) + 2x 2 (x 2 ε 2 ) + 2x 3 (x 3 ε 3 ) 0 Moreover, equality implies x 1 = x 3 = ε 1 = ε 3 and x 2 = 0 Then 0 = ε 1 ε 3 = (L 1 L 3 ) W n,5 = (1, 1, 2, 1, 1) W n,5 = ( 1) n (W n,1,5 W n,2,5 + 2W n,3,5 + W n,4,5 W n,1,5 ) But Lemma 6 implies W n,r 1,5 W n,r,5 if n > 1, r 2 Also Lemma 10 gives W n,3,5 W 5,3,5 = 1 if n 5 Hence we get a contradiction if n 5 Also we cannot have n < 5, as (ε 1, ε 3 ) = (1, 0), (0, 0), (1, 0) for n = 2, 3, 4, respectively Acknowledgements In conclusion, the author wishes to thank Dr George Havas for suggesting that the LLL-based extended gcd algorithm be applied to the Fibonacci numbers Calculations were performed using the GNUBC 103 exact arithmetic calculator program, together with a number theory calculator program called CALC, written by the author The author is grateful to the referee for painstaking efforts and for suggesting that the paper be revised to improve its readability

14 218 K R Matthews References [1] G Havas, B S Majewski and K R Matthews, Extended gcd algorithms, to appear [2] V E Hoggatt Jr, Fibonacci and Lucas Numbers, Houghton Mifflin, Boston, 1969 Department of Mathematics University of Queensland Brisbane, Australia Q krm@axiommathsuqozau Received on and in revised form on (2752)

Homework #2 Solutions Due: September 5, for all n N n 3 = n2 (n + 1) 2 4

Homework #2 Solutions Due: September 5, for all n N n 3 = n2 (n + 1) 2 4 Do the following exercises from the text: Chapter (Section 3):, 1, 17(a)-(b), 3 Prove that 1 3 + 3 + + n 3 n (n + 1) for all n N Proof The proof is by induction on n For n N, let S(n) be the statement

More information

Short multipliers for the extended gcd problem

Short multipliers for the extended gcd problem Short multipliers for the extended gcd problem Keith Matthews Abstract For given non zero integers s 1,, s m, the problem of finding integers a 1,, a m satisfying s = gcd (s 1,, s m ) = a 1 s 1 + + a m

More information

Math 324 Summer 2012 Elementary Number Theory Notes on Mathematical Induction

Math 324 Summer 2012 Elementary Number Theory Notes on Mathematical Induction Math 4 Summer 01 Elementary Number Theory Notes on Mathematical Induction Principle of Mathematical Induction Recall the following axiom for the set of integers. Well-Ordering Axiom for the Integers If

More information

MATH 324 Summer 2011 Elementary Number Theory. Notes on Mathematical Induction. Recall the following axiom for the set of integers.

MATH 324 Summer 2011 Elementary Number Theory. Notes on Mathematical Induction. Recall the following axiom for the set of integers. MATH 4 Summer 011 Elementary Number Theory Notes on Mathematical Induction Principle of Mathematical Induction Recall the following axiom for the set of integers. Well-Ordering Axiom for the Integers If

More information

Solution Sheet (i) q = 5, r = 15 (ii) q = 58, r = 15 (iii) q = 3, r = 7 (iv) q = 6, r = (i) gcd (97, 157) = 1 = ,

Solution Sheet (i) q = 5, r = 15 (ii) q = 58, r = 15 (iii) q = 3, r = 7 (iv) q = 6, r = (i) gcd (97, 157) = 1 = , Solution Sheet 2 1. (i) q = 5, r = 15 (ii) q = 58, r = 15 (iii) q = 3, r = 7 (iv) q = 6, r = 3. 2. (i) gcd (97, 157) = 1 = 34 97 21 157, (ii) gcd (527, 697) = 17 = 4 527 3 697, (iii) gcd (2323, 1679) =

More information

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

PUTNAM TRAINING NUMBER THEORY. Exercises 1. Show that the sum of two consecutive primes is never twice a prime. PUTNAM TRAINING NUMBER THEORY (Last updated: December 11, 2017) Remark. This is a list of exercises on Number Theory. Miguel A. Lerma Exercises 1. Show that the sum of two consecutive primes is never twice

More information

Algebra for error control codes

Algebra for error control codes Algebra for error control codes EE 387, Notes 5, Handout #7 EE 387 concentrates on block codes that are linear: Codewords components are linear combinations of message symbols. g 11 g 12 g 1n g 21 g 22

More information

1. multiplication is commutative and associative;

1. multiplication is commutative and associative; Chapter 4 The Arithmetic of Z In this chapter, we start by introducing the concept of congruences; these are used in our proof (going back to Gauss 1 ) that every integer has a unique prime factorization.

More information

Extended gcd and Hermite normal form algorithms via lattice basis reduction

Extended gcd and Hermite normal form algorithms via lattice basis reduction Extended gcd and Hermite normal form algorithms via lattice basis reduction George Havas School of Information Technology The University of Queensland Queensland 4072, Australia URL: http://www.it.uq.edu.au/personal/havas/

More information

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

Divisibility in the Fibonacci Numbers. Stefan Erickson Colorado College January 27, 2006 Divisibility in the Fibonacci Numbers Stefan Erickson Colorado College January 27, 2006 Fibonacci Numbers F n+2 = F n+1 + F n n 1 2 3 4 6 7 8 9 10 11 12 F n 1 1 2 3 8 13 21 34 89 144 n 13 14 1 16 17 18

More information

The Fundamental Theorem of Arithmetic

The Fundamental Theorem of Arithmetic Chapter 1 The Fundamental Theorem of Arithmetic 1.1 Primes Definition 1.1. We say that p N is prime if it has just two factors in N, 1 and p itself. Number theory might be described as the study of the

More information

Properties of the Integers

Properties of the Integers Properties of the Integers The set of all integers is the set and the subset of Z given by Z = {, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, }, N = {0, 1, 2, 3, 4, }, is the set of nonnegative integers (also called

More information

a + b = b + a and a b = b a. (a + b) + c = a + (b + c) and (a b) c = a (b c). a (b + c) = a b + a c and (a + b) c = a c + b c.

a + b = b + a and a b = b a. (a + b) + c = a + (b + c) and (a b) c = a (b c). a (b + c) = a b + a c and (a + b) c = a c + b c. Properties of the Integers The set of all integers is the set and the subset of Z given by Z = {, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, }, N = {0, 1, 2, 3, 4, }, is the set of nonnegative integers (also called

More information

3.2 Solving linear congruences. v3

3.2 Solving linear congruences. v3 3.2 Solving linear congruences. v3 Solving equations of the form ax b (mod m), where x is an unknown integer. Example (i) Find an integer x for which 56x 1 mod 93. Solution We have already solved this

More information

Math 109 HW 9 Solutions

Math 109 HW 9 Solutions Math 109 HW 9 Solutions Problems IV 18. Solve the linear diophantine equation 6m + 10n + 15p = 1 Solution: Let y = 10n + 15p. Since (10, 15) is 5, we must have that y = 5x for some integer x, and (as we

More information

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?

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? Chapter 3: Theory of Modular Arithmetic 25 SECTION C Solving Linear Congruences By the end of this section you will be able to solve congruence equations determine the number of solutions find the multiplicative

More information

Solutions to Assignment 1

Solutions to Assignment 1 Solutions to Assignment 1 Question 1. [Exercises 1.1, # 6] Use the division algorithm to prove that every odd integer is either of the form 4k + 1 or of the form 4k + 3 for some integer k. For each positive

More information

NOTES ON SIMPLE NUMBER THEORY

NOTES ON SIMPLE NUMBER THEORY NOTES ON SIMPLE NUMBER THEORY DAMIEN PITMAN 1. Definitions & Theorems Definition: We say d divides m iff d is positive integer and m is an integer and there is an integer q such that m = dq. In this case,

More information

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?

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? Chapter 3: Theory of Modular Arithmetic 25 SECTION C Solving Linear Congruences By the end of this section you will be able to solve congruence equations determine the number of solutions find the multiplicative

More information

CS 5319 Advanced Discrete Structure. Lecture 9: Introduction to Number Theory II

CS 5319 Advanced Discrete Structure. Lecture 9: Introduction to Number Theory II CS 5319 Advanced Discrete Structure Lecture 9: Introduction to Number Theory II Divisibility Outline Greatest Common Divisor Fundamental Theorem of Arithmetic Modular Arithmetic Euler Phi Function RSA

More information

SOME FORMULAE FOR THE FIBONACCI NUMBERS

SOME FORMULAE FOR THE FIBONACCI NUMBERS SOME FORMULAE FOR THE FIBONACCI NUMBERS Brian Curtin Department of Mathematics, University of South Florida, 4202 E Fowler Ave PHY4, Tampa, FL 33620 e-mail: bcurtin@mathusfedu Ena Salter Department of

More information

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

Florian Luca Instituto de Matemáticas, Universidad Nacional Autonoma de México, C.P , Morelia, Michoacán, México Florian Luca Instituto de Matemáticas, Universidad Nacional Autonoma de México, C.P. 8180, Morelia, Michoacán, México e-mail: fluca@matmor.unam.mx Laszlo Szalay Department of Mathematics and Statistics,

More information

ALGEBRA. 1. Some elementary number theory 1.1. Primes and divisibility. We denote the collection of integers

ALGEBRA. 1. Some elementary number theory 1.1. Primes and divisibility. We denote the collection of integers ALGEBRA CHRISTIAN REMLING 1. Some elementary number theory 1.1. Primes and divisibility. We denote the collection of integers by Z = {..., 2, 1, 0, 1,...}. Given a, b Z, we write a b if b = ac for some

More information

3 Finite continued fractions

3 Finite continued fractions MTH628 Number Theory Notes 3 Spring 209 3 Finite continued fractions 3. Introduction Let us return to the calculation of gcd(225, 57) from the preceding chapter. 225 = 57 + 68 57 = 68 2 + 2 68 = 2 3 +

More information

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

NUMBER SYSTEMS. Number theory is the study of the integers. We denote the set of integers by Z: NUMBER SYSTEMS Number theory is the study of the integers. We denote the set of integers by Z: Z = {..., 3, 2, 1, 0, 1, 2, 3,... }. The integers have two operations defined on them, addition and multiplication,

More information

Notes on Systems of Linear Congruences

Notes on Systems of Linear Congruences MATH 324 Summer 2012 Elementary Number Theory Notes on Systems of Linear Congruences In this note we will discuss systems of linear congruences where the moduli are all different. Definition. Given the

More information

FIBONACCI NUMBERS AND DECIMATION OF BINARY SEQUENCES

FIBONACCI NUMBERS AND DECIMATION OF BINARY SEQUENCES FIBONACCI NUMBERS AND DECIMATION OF BINARY SEQUENCES Jovan Dj. Golić Security Innovation, Telecom Italia Via Reiss Romoli 274, 10148 Turin, Italy (Submitted August 2004-Final Revision April 200) ABSTRACT

More information

DISTRIBUTION OF FIBONACCI AND LUCAS NUMBERS MODULO 3 k

DISTRIBUTION OF FIBONACCI AND LUCAS NUMBERS MODULO 3 k DISTRIBUTION OF FIBONACCI AND LUCAS NUMBERS MODULO 3 k RALF BUNDSCHUH AND PETER BUNDSCHUH Dedicated to Peter Shiue on the occasion of his 70th birthday Abstract. Let F 0 = 0,F 1 = 1, and F n = F n 1 +F

More information

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

#A2 INTEGERS 12A (2012): John Selfridge Memorial Issue ON A CONJECTURE REGARDING BALANCING WITH POWERS OF FIBONACCI NUMBERS #A2 INTEGERS 2A (202): John Selfridge Memorial Issue ON A CONJECTURE REGARDING BALANCING WITH POWERS OF FIBONACCI NUMBERS Saúl Díaz Alvarado Facultad de Ciencias, Universidad Autónoma del Estado de México,

More information

Part V. Chapter 19. Congruence of integers

Part V. Chapter 19. Congruence of integers Part V. Chapter 19. Congruence of integers Congruence modulo m Let m be a positive integer. Definition. Integers a and b are congruent modulo m if and only if a b is divisible by m. For example, 1. 277

More information

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

Definition 6.1 (p.277) A positive integer n is prime when n > 1 and the only positive divisors are 1 and n. Alternatively 6 Prime Numbers Part VI of PJE 6.1 Fundamental Results Definition 6.1 (p.277) A positive integer n is prime when n > 1 and the only positive divisors are 1 and n. Alternatively D (p) = { p 1 1 p}. Otherwise

More information

Homework #2 solutions Due: June 15, 2012

Homework #2 solutions Due: June 15, 2012 All of the following exercises are based on the material in the handout on integers found on the class website. 1. Find d = gcd(475, 385) and express it as a linear combination of 475 and 385. That is

More information

Number Theory Proof Portfolio

Number Theory Proof Portfolio Number Theory Proof Portfolio Jordan Rock May 12, 2015 This portfolio is a collection of Number Theory proofs and problems done by Jordan Rock in the Spring of 2014. The problems are organized first by

More information

Know the Well-ordering principle: Any set of positive integers which has at least one element contains a smallest element.

Know the Well-ordering principle: Any set of positive integers which has at least one element contains a smallest element. The first exam will be on Monday, June 8, 202. The syllabus will be sections. and.2 in Lax, and the number theory handout found on the class web site, plus the handout on the method of successive squaring

More information

Elementary Properties of the Integers

Elementary Properties of the Integers Elementary Properties of the Integers 1 1. Basis Representation Theorem (Thm 1-3) 2. Euclid s Division Lemma (Thm 2-1) 3. Greatest Common Divisor 4. Properties of Prime Numbers 5. Fundamental Theorem of

More information

Cullen Numbers in Binary Recurrent Sequences

Cullen Numbers in Binary Recurrent Sequences Cullen Numbers in Binary Recurrent Sequences Florian Luca 1 and Pantelimon Stănică 2 1 IMATE-UNAM, Ap. Postal 61-3 (Xangari), CP 58 089 Morelia, Michoacán, Mexico; e-mail: fluca@matmor.unam.mx 2 Auburn

More information

Course MA2C02, Hilary Term 2013 Section 9: Introduction to Number Theory and Cryptography

Course MA2C02, Hilary Term 2013 Section 9: Introduction to Number Theory and Cryptography Course MA2C02, Hilary Term 2013 Section 9: Introduction to Number Theory and Cryptography David R. Wilkins Copyright c David R. Wilkins 2000 2013 Contents 9 Introduction to Number Theory 63 9.1 Subgroups

More information

4 Linear Recurrence Relations & the Fibonacci Sequence

4 Linear Recurrence Relations & the Fibonacci Sequence 4 Linear Recurrence Relations & the Fibonacci Sequence Recall the classic example of the Fibonacci sequence (F n ) n=1 the relations: F n+ = F n+1 + F n F 1 = F = 1 = (1, 1,, 3, 5, 8, 13, 1,...), defined

More information

MATH FINAL EXAM REVIEW HINTS

MATH FINAL EXAM REVIEW HINTS MATH 109 - FINAL EXAM REVIEW HINTS Answer: Answer: 1. Cardinality (1) Let a < b be two real numbers and define f : (0, 1) (a, b) by f(t) = (1 t)a + tb. (a) Prove that f is a bijection. (b) Prove that any

More information

MAS114: Solutions to Exercises

MAS114: Solutions to Exercises MAS114: s to Exercises Up to week 8 Note that the challenge problems are intended to be difficult! Doing any of them is an achievement. Please hand them in on a separate piece of paper if you attempt them.

More information

2 Arithmetic. 2.1 Greatest common divisors. This chapter is about properties of the integers Z = {..., 2, 1, 0, 1, 2,...}.

2 Arithmetic. 2.1 Greatest common divisors. This chapter is about properties of the integers Z = {..., 2, 1, 0, 1, 2,...}. 2 Arithmetic This chapter is about properties of the integers Z = {..., 2, 1, 0, 1, 2,...}. (See [Houston, Chapters 27 & 28]) 2.1 Greatest common divisors Definition 2.16. If a, b are integers, we say

More information

17 Advancement Operator Equations

17 Advancement Operator Equations November 14, 2017 17 Advancement Operator Equations William T. Trotter trotter@math.gatech.edu Review of Recurrence Equations (1) Problem Let r(n) denote the number of regions determined by n lines that

More information

7. Prime Numbers Part VI of PJE

7. Prime Numbers Part VI of PJE 7. Prime Numbers Part VI of PJE 7.1 Definition (p.277) A positive integer n is prime when n > 1 and the only divisors are ±1 and +n. That is D (n) = { n 1 1 n}. Otherwise n > 1 is said to be composite.

More information

arxiv: v2 [math.nt] 29 Jul 2017

arxiv: v2 [math.nt] 29 Jul 2017 Fibonacci and Lucas Numbers Associated with Brocard-Ramanujan Equation arxiv:1509.07898v2 [math.nt] 29 Jul 2017 Prapanpong Pongsriiam Department of Mathematics, Faculty of Science Silpakorn University

More information

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

Covering Subsets of the Integers and a Result on Digits of Fibonacci Numbers University of South Carolina Scholar Commons Theses and Dissertations 2017 Covering Subsets of the Integers and a Result on Digits of Fibonacci Numbers Wilson Andrew Harvey University of South Carolina

More information

MATH 55 - HOMEWORK 6 SOLUTIONS. 1. Section = 1 = (n + 1) 3 = 2. + (n + 1) 3. + (n + 1) 3 = n2 (n + 1) 2.

MATH 55 - HOMEWORK 6 SOLUTIONS. 1. Section = 1 = (n + 1) 3 = 2. + (n + 1) 3. + (n + 1) 3 = n2 (n + 1) 2. MATH 55 - HOMEWORK 6 SOLUTIONS Exercise Section 5 Proof (a) P () is the statement ( ) 3 (b) P () is true since ( ) 3 (c) The inductive hypothesis is P (n): ( ) n(n + ) 3 + 3 + + n 3 (d) Assuming the inductive

More information

A Readable Introduction to Real Mathematics

A Readable Introduction to Real Mathematics Solutions to selected problems in the book A Readable Introduction to Real Mathematics D. Rosenthal, D. Rosenthal, P. Rosenthal Chapter 7: The Euclidean Algorithm and Applications 1. Find the greatest

More information

Summation of certain infinite Fibonacci related series

Summation of certain infinite Fibonacci related series arxiv:52.09033v (30 Dec 205) Summation of certain infinite Fibonacci related series Bakir Farhi Laboratoire de Mathématiques appliquées Faculté des Sciences Exactes Université de Bejaia 06000 Bejaia Algeria

More information

Math 118: Advanced Number Theory. Samit Dasgupta and Gary Kirby

Math 118: Advanced Number Theory. Samit Dasgupta and Gary Kirby Math 8: Advanced Number Theory Samit Dasgupta and Gary Kirby April, 05 Contents Basics of Number Theory. The Fundamental Theorem of Arithmetic......................... The Euclidean Algorithm and Unique

More information

arxiv: v1 [math.co] 27 Aug 2015

arxiv: v1 [math.co] 27 Aug 2015 P-positions in Modular Extensions to Nim arxiv:1508.07054v1 [math.co] 7 Aug 015 Tanya Khovanova August 31, 015 Abstract Karan Sarkar In this paper, we consider a modular extension to the game of Nim, which

More information

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,

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, SOLUTIONS TO PROBLEM SET 1 Section 1.3 Exercise 4. We see that 1 1 2 = 1 2, 1 1 2 + 1 2 3 = 2 3, 1 1 2 + 1 2 3 + 1 3 4 = 3 4, and is reasonable to conjecture n k=1 We will prove this formula by induction.

More information

2301 Assignment 1 Due Friday 19th March, 2 pm

2301 Assignment 1 Due Friday 19th March, 2 pm Show all your work. Justify your solutions. Answers without justification will not receive full marks. Only hand in the problems on page 2. Practice Problems Question 1. Prove that if a b and a 3c then

More information

PELLANS SEQUENCE AND ITS DIOPHANTINE TRIPLES. Nurettin Irmak and Murat Alp

PELLANS SEQUENCE AND ITS DIOPHANTINE TRIPLES. Nurettin Irmak and Murat Alp PUBLICATIONS DE L INSTITUT MATHÉMATIQUE Nouvelle série, tome 100114 016, 59 69 DOI: 10.98/PIM161459I PELLANS SEQUENCE AND ITS DIOPHANTINE TRIPLES Nurettin Irmak and Murat Alp Abstract. We introduce a novel

More information

Chapter 2. Divisibility. 2.1 Common Divisors

Chapter 2. Divisibility. 2.1 Common Divisors Chapter 2 Divisibility 2.1 Common Divisors Definition 2.1.1. Let a and b be integers. A common divisor of a and b is any integer that divides both a and b. Suppose that a and b are not both zero. By Proposition

More information

4 Powers of an Element; Cyclic Groups

4 Powers of an Element; Cyclic Groups 4 Powers of an Element; Cyclic Groups Notation When considering an abstract group (G, ), we will often simplify notation as follows x y will be expressed as xy (x y) z will be expressed as xyz x (y z)

More information

Chris Smyth School of Mathematics and Maxwell Institute for Mathematical Sciences, University of Edinburgh, Edinburgh EH9 3JZ, UK.

Chris Smyth School of Mathematics and Maxwell Institute for Mathematical Sciences, University of Edinburgh, Edinburgh EH9 3JZ, UK. THE DIVISIBILITY OF a n b n BY POWERS OF n Kálmán Győry Institute of Mathematics, University of Debrecen, Debrecen H-4010, Hungary. gyory@math.klte.hu Chris Smyth School of Mathematics and Maxwell Institute

More information

On the counting function for the generalized Niven numbers

On the counting function for the generalized Niven numbers On the counting function for the generalized Niven numbers Ryan Daileda, Jessica Jou, Robert Lemke-Oliver, Elizabeth Rossolimo, Enrique Treviño Abstract Given an integer base q 2 and a completely q-additive

More information

CHAPTER 3. Congruences. Congruence: definitions and properties

CHAPTER 3. Congruences. Congruence: definitions and properties CHAPTER 3 Congruences Part V of PJE Congruence: definitions and properties Definition. (PJE definition 19.1.1) Let m > 0 be an integer. Integers a and b are congruent modulo m if m divides a b. We write

More information

12x + 18y = 50. 2x + v = 12. (x, v) = (6 + k, 2k), k Z.

12x + 18y = 50. 2x + v = 12. (x, v) = (6 + k, 2k), k Z. Math 3, Fall 010 Assignment 3 Solutions Exercise 1. Find all the integral solutions of the following linear diophantine equations. Be sure to justify your answers. (i) 3x + y = 7. (ii) 1x + 18y = 50. (iii)

More information

Arithmetic Algorithms, Part 1

Arithmetic Algorithms, Part 1 Arithmetic Algorithms, Part 1 DPV Chapter 1 Jim Royer EECS January 18, 2019 Royer Arithmetic Algorithms, Part 1 1/ 15 Multiplication à la Français function multiply(a, b) // input: two n-bit integers a

More information

Squares in products with terms in an arithmetic progression

Squares in products with terms in an arithmetic progression ACTA ARITHMETICA LXXXVI. (998) Squares in products with terms in an arithmetic progression by N. Saradha (Mumbai). Introduction. Let d, k 2, l 2, n, y be integers with gcd(n, d) =. Erdős [4] and Rigge

More information

PRACTICE PROBLEMS: SET 1

PRACTICE PROBLEMS: SET 1 PRACTICE PROBLEMS: SET MATH 437/537: PROF. DRAGOS GHIOCA. Problems Problem. Let a, b N. Show that if gcd(a, b) = lcm[a, b], then a = b. Problem. Let n, k N with n. Prove that (n ) (n k ) if and only if

More information

Introduction to Abstract Mathematics

Introduction to Abstract Mathematics Introduction to Abstract Mathematics Notation: Z + or Z >0 denotes the set {1, 2, 3,...} of positive integers, Z 0 is the set {0, 1, 2,...} of nonnegative integers, Z is the set {..., 1, 0, 1, 2,...} of

More information

On the counting function for the generalized. Niven numbers

On the counting function for the generalized. Niven numbers On the counting function for the generalized Niven numbers R. C. Daileda, Jessica Jou, Robert Lemke-Oliver, Elizabeth Rossolimo, Enrique Treviño Introduction Let q 2 be a fied integer and let f be an arbitrary

More information

A LOWER BOUND FOR THE SIZE OF A MINKOWSKI SUM OF DILATES. 1. Introduction

A LOWER BOUND FOR THE SIZE OF A MINKOWSKI SUM OF DILATES. 1. Introduction A LOWER BOUND FOR THE SIZE OF A MINKOWSKI SUM OF DILATES Y. O. HAMIDOUNE AND J. RUÉ Abstract. Let A be a finite nonempty set of integers. An asymptotic estimate of several dilates sum size was obtained

More information

Modular Arithmetic Instructor: Marizza Bailey Name:

Modular Arithmetic Instructor: Marizza Bailey Name: Modular Arithmetic Instructor: Marizza Bailey Name: 1. Introduction to Modular Arithmetic If someone asks you what day it is 145 days from now, what would you answer? Would you count 145 days, or find

More information

Math Circle Beginners Group February 28, 2016 Euclid and Prime Numbers Solutions

Math Circle Beginners Group February 28, 2016 Euclid and Prime Numbers Solutions Math Circle Beginners Group February 28, 2016 Euclid and Prime Numbers Solutions Warm-up Problems 1. What is a prime number? Give an example of an even prime number and an odd prime number. A prime number

More information

Proof 1: Using only ch. 6 results. Since gcd(a, b) = 1, we have

Proof 1: Using only ch. 6 results. Since gcd(a, b) = 1, we have Exercise 13. Consider positive integers a, b, and c. (a) Suppose gcd(a, b) = 1. (i) Show that if a divides the product bc, then a must divide c. I give two proofs here, to illustrate the different methods.

More information

Fall 2015 Lecture 14: Modular congruences. cse 311: foundations of computing

Fall 2015 Lecture 14: Modular congruences. cse 311: foundations of computing Fall 2015 Lecture 14: Modular congruences cse 311: foundations of computing If a and b are positive integers, then gcd a, b = gcd (b, a mod b) Useful GCD Fact Proof: By definition a = a div b b + (a mod

More information

F. T. HOWARD AND CURTIS COOPER

F. T. HOWARD AND CURTIS COOPER SOME IDENTITIES FOR r-fibonacci NUMBERS F. T. HOWARD AND CURTIS COOPER Abstract. Let r 1 be an integer. The r-generalized Fibonacci sequence {G n} is defined as 0, if 0 n < r 1; G n = 1, if n = r 1; G

More information

Number theory. Myrto Arapinis School of Informatics University of Edinburgh. October 9, /29

Number theory. Myrto Arapinis School of Informatics University of Edinburgh. October 9, /29 Number theory Myrto Arapinis School of Informatics University of Edinburgh October 9, 2014 1/29 Division Definition If a and b are integers with a 6= 0, then a divides b if there exists an integer c such

More information

= 1 2x. x 2 a ) 0 (mod p n ), (x 2 + 2a + a2. x a ) 2

= 1 2x. x 2 a ) 0 (mod p n ), (x 2 + 2a + a2. x a ) 2 8. p-adic numbers 8.1. Motivation: Solving x 2 a (mod p n ). Take an odd prime p, and ( an) integer a coprime to p. Then, as we know, x 2 a (mod p) has a solution x Z iff = 1. In this case we can suppose

More information

Carmen s Core Concepts (Math 135)

Carmen s Core Concepts (Math 135) Carmen s Core Concepts (Math 135) Carmen Bruni University of Waterloo Week 4 1 Principle of Mathematical Induction 2 Example 3 Base Case 4 Inductive Hypothesis 5 Inductive Step When Induction Isn t Enough

More information

Chapter 3 Basic Number Theory

Chapter 3 Basic Number Theory Chapter 3 Basic Number Theory What is Number Theory? Well... What is Number Theory? Well... Number Theory The study of the natural numbers (Z + ), especially the relationship between different sorts of

More information

Ternary Modified Collatz Sequences And Jacobsthal Numbers

Ternary Modified Collatz Sequences And Jacobsthal Numbers 1 47 6 11 Journal of Integer Sequences, Vol. 19 (016), Article 16.7.5 Ternary Modified Collatz Sequences And Jacobsthal Numbers Ji Young Choi Department of Mathematics Shippensburg University of Pennsylvania

More information

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

On integer solutions to x 2 dy 2 = 1, z 2 2dy 2 = 1 ACTA ARITHMETICA LXXXII.1 (1997) On integer solutions to x 2 dy 2 = 1, z 2 2dy 2 = 1 by P. G. Walsh (Ottawa, Ont.) 1. Introduction. Let d denote a positive integer. In [7] Ono proves that if the number

More information

Irreducible Polynomials over Finite Fields

Irreducible Polynomials over Finite Fields Chapter 4 Irreducible Polynomials over Finite Fields 4.1 Construction of Finite Fields As we will see, modular arithmetic aids in testing the irreducibility of polynomials and even in completely factoring

More information

18 Divisibility. and 0 r < d. Lemma Let n,d Z with d 0. If n = qd+r = q d+r with 0 r,r < d, then q = q and r = r.

18 Divisibility. and 0 r < d. Lemma Let n,d Z with d 0. If n = qd+r = q d+r with 0 r,r < d, then q = q and r = r. 118 18. DIVISIBILITY 18 Divisibility Chapter V Theory of the Integers One of the oldest surviving mathematical texts is Euclid s Elements, a collection of 13 books. This book, dating back to several hundred

More information

Chapter 5: The Integers

Chapter 5: The Integers c Dr Oksana Shatalov, Fall 2014 1 Chapter 5: The Integers 5.1: Axioms and Basic Properties Operations on the set of integers, Z: addition and multiplication with the following properties: A1. Addition

More information

MATH31011/MATH41011/MATH61011: FOURIER ANALYSIS AND LEBESGUE INTEGRATION. Chapter 2: Countability and Cantor Sets

MATH31011/MATH41011/MATH61011: FOURIER ANALYSIS AND LEBESGUE INTEGRATION. Chapter 2: Countability and Cantor Sets MATH31011/MATH41011/MATH61011: FOURIER ANALYSIS AND LEBESGUE INTEGRATION Chapter 2: Countability and Cantor Sets Countable and Uncountable Sets The concept of countability will be important in this course

More information

MAS114: Exercises. October 26, 2018

MAS114: Exercises. October 26, 2018 MAS114: Exercises October 26, 2018 Note that the challenge problems are intended to be difficult! Doing any of them is an achievement. Please hand them in on a separate piece of paper if you attempt them.

More information

Journal of Number Theory

Journal of Number Theory Journal of Number Theory 130 (2010) 1737 1749 Contents lists available at ScienceDirect Journal of Number Theory www.elsevier.com/locate/jnt A binary linear recurrence sequence of composite numbers Artūras

More information

MATH10040 Chapter 1: Integers and divisibility

MATH10040 Chapter 1: Integers and divisibility MATH10040 Chapter 1: Integers and divisibility Recall the basic definition: 1. Divisibilty Definition 1.1. If a, b Z, we say that b divides a, or that a is a multiple of b and we write b a if there is

More information

5: The Integers (An introduction to Number Theory)

5: The Integers (An introduction to Number Theory) c Oksana Shatalov, Spring 2017 1 5: The Integers (An introduction to Number Theory) The Well Ordering Principle: Every nonempty subset on Z + has a smallest element; that is, if S is a nonempty subset

More information

8 Primes and Modular Arithmetic

8 Primes and Modular Arithmetic 8 Primes and Modular Arithmetic 8.1 Primes and Factors Over two millennia ago already, people all over the world were considering the properties of numbers. One of the simplest concepts is prime numbers.

More information

Contribution of Problems

Contribution of Problems Exam topics 1. Basic structures: sets, lists, functions (a) Sets { }: write all elements, or define by condition (b) Set operations: A B, A B, A\B, A c (c) Lists ( ): Cartesian product A B (d) Functions

More information

On a Generalization of the Coin Exchange Problem for Three Variables

On a Generalization of the Coin Exchange Problem for Three Variables 1 3 47 6 3 11 Journal of Integer Sequences, Vol. 9 (006), Article 06.4.6 On a Generalization of the Coin Exchange Problem for Three Variables Amitabha Tripathi Department of Mathematics Indian Institute

More information

Course 2BA1: Trinity 2006 Section 9: Introduction to Number Theory and Cryptography

Course 2BA1: Trinity 2006 Section 9: Introduction to Number Theory and Cryptography Course 2BA1: Trinity 2006 Section 9: Introduction to Number Theory and Cryptography David R. Wilkins Copyright c David R. Wilkins 2006 Contents 9 Introduction to Number Theory and Cryptography 1 9.1 Subgroups

More information

Definitions, Theorems and Exercises. Abstract Algebra Math 332. Ethan D. Bloch

Definitions, Theorems and Exercises. Abstract Algebra Math 332. Ethan D. Bloch Definitions, Theorems and Exercises Abstract Algebra Math 332 Ethan D. Bloch December 26, 2013 ii Contents 1 Binary Operations 3 1.1 Binary Operations............................... 4 1.2 Isomorphic Binary

More information

1 Overview and revision

1 Overview and revision MTH6128 Number Theory Notes 1 Spring 2018 1 Overview and revision In this section we will meet some of the concerns of Number Theory, and have a brief revision of some of the relevant material from Introduction

More information

Arkansas Tech University MATH 2924: Calculus II Dr. Marcel B. Finan

Arkansas Tech University MATH 2924: Calculus II Dr. Marcel B. Finan Arkansas Tech University MATH 2924: Calculus II Dr. Marcel B. Finan 8. Sequences We start this section by introducing the concept of a sequence and study its convergence. Convergence of Sequences. An infinite

More information

PROBLEMS ON CONGRUENCES AND DIVISIBILITY

PROBLEMS ON CONGRUENCES AND DIVISIBILITY PROBLEMS ON CONGRUENCES AND DIVISIBILITY 1. Do there exist 1,000,000 consecutive integers each of which contains a repeated prime factor? 2. A positive integer n is powerful if for every prime p dividing

More information

#A45 INTEGERS 9 (2009), BALANCED SUBSET SUMS IN DENSE SETS OF INTEGERS. Gyula Károlyi 1. H 1117, Hungary

#A45 INTEGERS 9 (2009), BALANCED SUBSET SUMS IN DENSE SETS OF INTEGERS. Gyula Károlyi 1. H 1117, Hungary #A45 INTEGERS 9 (2009, 591-603 BALANCED SUBSET SUMS IN DENSE SETS OF INTEGERS Gyula Károlyi 1 Institute of Mathematics, Eötvös University, Pázmány P. sétány 1/C, Budapest, H 1117, Hungary karolyi@cs.elte.hu

More information

EXTENDING A THEOREM OF PILLAI TO QUADRATIC SEQUENCES

EXTENDING A THEOREM OF PILLAI TO QUADRATIC SEQUENCES #A7 INTEGERS 15A (2015) EXTENDING A THEOREM OF PILLAI TO QUADRATIC SEQUENCES Joshua Harrington Department of Mathematics, Shippensburg University, Shippensburg, Pennsylvania JSHarrington@ship.edu Lenny

More information

1. (a) q = 4, r = 1. (b) q = 0, r = 0. (c) q = 5, r = (a) q = 9, r = 3. (b) q = 15, r = 17. (c) q = 117, r = 11.

1. (a) q = 4, r = 1. (b) q = 0, r = 0. (c) q = 5, r = (a) q = 9, r = 3. (b) q = 15, r = 17. (c) q = 117, r = 11. 000 Chapter 1 Arithmetic in 1.1 The Division Algorithm Revisited 1. (a) q = 4, r = 1. (b) q = 0, r = 0. (c) q = 5, r = 3. 2. (a) q = 9, r = 3. (b) q = 15, r = 17. (c) q = 117, r = 11. 3. (a) q = 6, r =

More information

Finite Fields: An introduction through exercises Jonathan Buss Spring 2014

Finite Fields: An introduction through exercises Jonathan Buss Spring 2014 Finite Fields: An introduction through exercises Jonathan Buss Spring 2014 A typical course in abstract algebra starts with groups, and then moves on to rings, vector spaces, fields, etc. This sequence

More information

INTEGERS. In this section we aim to show the following: Goal. Every natural number can be written uniquely as a product of primes.

INTEGERS. In this section we aim to show the following: Goal. Every natural number can be written uniquely as a product of primes. INTEGERS PETER MAYR (MATH 2001, CU BOULDER) In this section we aim to show the following: Goal. Every natural number can be written uniquely as a product of primes. 1. Divisibility Definition. Let a, b

More information

Lecture notes: Algorithms for integers, polynomials (Thorsten Theobald)

Lecture notes: Algorithms for integers, polynomials (Thorsten Theobald) Lecture notes: Algorithms for integers, polynomials (Thorsten Theobald) 1 Euclid s Algorithm Euclid s Algorithm for computing the greatest common divisor belongs to the oldest known computing procedures

More information

Chapter 14: Divisibility and factorization

Chapter 14: Divisibility and factorization Chapter 14: Divisibility and factorization Matthew Macauley Department of Mathematical Sciences Clemson University http://www.math.clemson.edu/~macaule/ Math 4120, Summer I 2014 M. Macauley (Clemson) Chapter

More information

Powers of 2 with five distinct summands

Powers of 2 with five distinct summands ACTA ARITHMETICA * (200*) Powers of 2 with five distinct summands by Vsevolod F. Lev (Haifa) 0. Summary. We show that every sufficiently large, finite set of positive integers of density larger than 1/3

More information