Cookie Monster Meets the Fibonacci Numbers. Mmmmmm Theorems!

Size: px
Start display at page:

Download "Cookie Monster Meets the Fibonacci Numbers. Mmmmmm Theorems!"

Transcription

1 Cookie Monster Meets the Fibonacci Numbers. Mmmmmm Theorems! Steven J. Miller (MC 96) Yale University, April 14, 2014

2 Introduction

3 Goals of the Talk You can join in: minimal background needed! Ask questions: lots of natural problems ignored. Look for right perspective: generating fns, partial fractions. End with open problems. Joint with Olivia Beckwith, Amanda Bower, Louis Gaudet, Rachel Insoft, Shiyu Li, Philip Tosteson.

4 Pre-requisites: Probability Review Let X be random variable with density p(x): p(x) 0; p(x)dx = 1; Prob(a X b) = b a p(x)dx. Mean: µ = xp(x)dx. Variance: σ 2 = (x µ)2 p(x)dx. Gaussian: Density (2πσ 2 ) 1/2 exp( (x µ) 2 /2σ 2 ).

5 5 Intro Gaussianity Gaps (Bulk) Longest Gap Future / Refs Pre-requisites: Combinatorics Review n!: number of ways to order n people, order matters. n! k!(n k)! = nck = ( n k) : number of ways to choose k from n, order doesn t matter. Stirling s Formula: n! n n e n 2πn.

6 Previous Results Fibonacci Numbers: F n+1 = F n + F n 1 ;

7 7 Intro Gaussianity Gaps (Bulk) Longest Gap Future / Refs Previous Results Fibonacci Numbers: F n+1 = F n + F n 1 ; F 1 = 1, F 2 = 2, F 3 = 3, F 4 = 5,...

8 Previous Results Fibonacci Numbers: F n+1 = F n + F n 1 ; F 1 = 1, F 2 = 2, F 3 = 3, F 4 = 5,... Zeckendorf s Theorem Every positive integer can be written uniquely as a sum of non-consecutive Fibonacci numbers.

9 Previous Results Fibonacci Numbers: F n+1 = F n + F n 1 ; F 1 = 1, F 2 = 2, F 3 = 3, F 4 = 5,... Zeckendorf s Theorem Every positive integer can be written uniquely as a sum of non-consecutive Fibonacci numbers. Example: 2012 = = F 16 + F 13 + F 8 + F 3 + F 1.

10 Previous Results Fibonacci Numbers: F n+1 = F n + F n 1 ; F 1 = 1, F 2 = 2, F 3 = 3, F 4 = 5,... Zeckendorf s Theorem Every positive integer can be written uniquely as a sum of non-consecutive Fibonacci numbers. Example: 2012 = = F 16 + F 13 + F 8 + F 3 + F 1. Lekkerkerker s Theorem (1952) The average number of summands in the Zeckendorf n decomposition for integers in [F n, F n+1 ) tends to ϕ n, where ϕ = is the golden mean.

11 Old Results Central Limit Type Theorem As n distribution of number of summands in Zeckendorf decomposition for m [F n, F n+1 ) is Gaussian (normal) Figure: Number of summands in [F 2010, F 2011 ); F

12 New Results: Bulk Gaps: m [F n, F n+1 ) and φ = m = k(m)=n j=1 F ij, ν m;n (x) = k(m) 1 δ ( x (i j i j 1 ) ). k(m) 1 j=2 Theorem (Zeckendorf Gap Distribution) Gap measures ν m;n converge almost surely to average gap measure where P(k) = 1/φ k for k Figure: Distribution of gaps in [F 1000, F 1001 ); F

13 New Results: Longest Gap Theorem (Longest Gap) As n, the probability that m [F n, F n+1 ) has longest gap less than or equal to f(n) converges to Prob(L n (m) f(n)) e elog n f(n)/ logφ. Immediate Corollary: If f(n) grows slower or faster than log n/ logφ, then Prob(L n (m) f(n)) goes to 0 or 1, respectively.

14 Preliminaries: The Cookie Problem The Cookie Problem The number of ways of dividing C identical cookies among P distinct people is ( ) C+P 1 P 1.

15 Preliminaries: The Cookie Problem The Cookie Problem The number of ways of dividing C identical cookies among P distinct people is ( ) C+P 1 P 1. Proof : Consider C + P 1 cookies in a line. Cookie Monster eats P 1 cookies: ( C+P 1) P 1 ways to do. Divides the cookies into P sets.

16 Preliminaries: The Cookie Problem The Cookie Problem The number of ways of dividing C identical cookies among P distinct people is ( ) C+P 1 P 1. Proof : Consider C + P 1 cookies in a line. Cookie Monster eats P 1 cookies: ( C+P 1) P 1 ways to do. Divides the cookies into P sets. Example: 8 cookies and 5 people (C = 8, P = 5):

17 Preliminaries: The Cookie Problem The Cookie Problem The number of ways of dividing C identical cookies among P distinct people is ( ) C+P 1 P 1. Proof : Consider C + P 1 cookies in a line. Cookie Monster eats P 1 cookies: ( C+P 1) P 1 ways to do. Divides the cookies into P sets. Example: 8 cookies and 5 people (C = 8, P = 5):

18 Preliminaries: The Cookie Problem The Cookie Problem The number of ways of dividing C identical cookies among P distinct people is ( ) C+P 1 P 1. Proof : Consider C + P 1 cookies in a line. Cookie Monster eats P 1 cookies: ( C+P 1) P 1 ways to do. Divides the cookies into P sets. Example: 8 cookies and 5 people (C = 8, P = 5):

19 Preliminaries: The Cookie Problem: Reinterpretation Reinterpreting the Cookie Problem The number ) of solutions to x 1 + +x P = C with x i 0 is. ( C+P 1 P 1

20 Preliminaries: The Cookie Problem: Reinterpretation Reinterpreting the Cookie Problem The number ) of solutions to x 1 + +x P = C with x i 0 is. ( C+P 1 P 1 Let p n,k = # {N [F n, F n+1 ): the Zeckendorf decomposition of N has exactly k summands}.

21 Preliminaries: The Cookie Problem: Reinterpretation Reinterpreting the Cookie Problem The number ) of solutions to x 1 + +x P = C with x i 0 is. ( C+P 1 P 1 Let p n,k = # {N [F n, F n+1 ): the Zeckendorf decomposition of N has exactly k summands}. For N [F n, F n+1 ), the largest summand is F n. N = F i1 + F i2 + +F ik 1 + F n, 1 i 1 < i 2 < < i k 1 < i k = n, i j i j 1 2.

22 Preliminaries: The Cookie Problem: Reinterpretation Reinterpreting the Cookie Problem The number ) of solutions to x 1 + +x P = C with x i 0 is. ( C+P 1 P 1 Let p n,k = # {N [F n, F n+1 ): the Zeckendorf decomposition of N has exactly k summands}. For N [F n, F n+1 ), the largest summand is F n. N = F i1 + F i2 + +F ik 1 + F n, 1 i 1 < i 2 < < i k 1 < i k = n, i j i j 1 2. d 1 := i 1 1, d j := i j i j 1 2 (j > 1). d 1 + d 2 + +d k = n 2k + 1, d j 0.

23 Preliminaries: The Cookie Problem: Reinterpretation Reinterpreting the Cookie Problem The number ) of solutions to x 1 + +x P = C with x i 0 is. ( C+P 1 P 1 Let p n,k = # {N [F n, F n+1 ): the Zeckendorf decomposition of N has exactly k summands}. For N [F n, F n+1 ), the largest summand is F n. N = F i1 + F i2 + +F ik 1 + F n, 1 i 1 < i 2 < < i k 1 < i k = n, i j i j 1 2. d 1 := i 1 1, d j := i j i j 1 2 (j > 1). d 1 + d 2 + +d k = n 2k + 1, d j 0. Cookie counting p n,k = ( n 2k+1 + k 1) ( k 1 = n k k 1).

24 Gaussian Behavior

25 Generalizing Lekkerkerker: Erdos-Kac type result Theorem (KKMW 2010) As n, the distribution of the number of summands in Zeckendorf s Theorem is a Gaussian. Sketch of proof: Use Stirling s formula, n! n n e n 2πn to approximates binomial coefficients, after a few pages of algebra find the probabilities are approximately Gaussian.

26 (Sketch of the) Proof of Gaussianity The probability density for the number of Fibonacci numbers that add up to an integer in [F n, F n+1 ) is ( ) f n(k) = n 1 k /F k n 1. Consider the density for the n + 1 case. Then we have, by Stirling f n+1 (k) = = ( ) n k 1 k F n (n k)! 1 = (n 2k)!k! F n 1 2π (n k) n k+ 1 2 k (k+ 1 2 ) (n 2k) n 2k F n plus a lower order correction term. Also we can write F n = 1 5 φ n+1 = φ 5 φ n for large n, whereφ is the golden ratio (we are using relabeled Fibonacci numbers where 1 = F 1 occurs once to help dealing with uniqueness and F 2 = 2). We can now split the terms that exponentially depend on n. Define f n+1 (k) = ( 1 2π (n k) k(n 2k) )( 5 φ n (n k) n k ) φ k k (n 2k) n 2k. N n = Thus, write the density function as 1 (n k) 5 n k 2π k(n 2k) φ, Sn = (n k) φ n k k (n 2k) n 2k. f n+1 (k) = N ns n where N n is the first term that is of order n 1/2 and S n is the second term with exponential dependence on n.

27 (Sketch of the) Proof of Gaussianity Model the distribution as centered around the mean by the change of variable k = µ + xσ whereµ and σ are the mean and the standard deviation, and depend on n. The discrete weights of f n(k) will become continuous. This requires us to use the change of variable formula to compensate for the change of scales: Using the change of variable, we can write N n as f n(k)dk = f n(µ + σx)σdx. N n = = = = 1 n k φ 2π k(n 2k) k/n 2πn 1 2πn 1 2πn (k/n)(1 2k/n) 5 φ 1 (µ + σx)/n 5 ((µ + σx)/n)(1 2(µ + σx)/n) φ 1 C y 5 (C + y)(1 2C 2y) φ where C = µ/n 1/(φ + 2) (note that φ 2 = φ + 1) and y = σx/n. But for large n, the y term vanishes since σ n and thus y n 1/2. Thus N n 1 1 C 5 2πn C(1 2C) φ = 1 (φ + 1)(φ + 2) 5 2πn φ φ = 1 5(φ + 2) 1 = 2πn φ 2πσ 2 since σ 2 φ = n 5(φ+2).

28 (Sketch of the) Proof of Gaussianity For the second term S n, take the logarithm and once again change variables by k = µ + xσ, ( ) log(s n) = log φ n (n k) (n k) k k (n 2k) (n 2k) = n log(φ) + (n k) log(n k) (k) log(k) (n 2k) log(n 2k) = n log(φ) + (n (µ + xσ)) log(n (µ + xσ)) (µ + xσ) log(µ + xσ) (n 2(µ + xσ)) log(n 2(µ + xσ)) = n log(φ) +(n (µ + xσ)) ( ( log(n µ) + log 1 xσ n µ ( ( (µ + xσ) log(µ) + log 1 + xσ )) µ )) ( ( (n 2(µ + xσ)) log(n 2µ) + log 1 xσ )) n 2µ = n log(φ) +(n (µ + xσ)) ( ( n log ( (µ + xσ) log 1 + xσ µ ) µ 1 ) ( + log 1 xσ )) n µ ( ( ) ( n (n 2(µ + xσ)) log µ 2 + log 1 xσ )). n 2µ

29 (Sketch of the) Proof of Gaussianity Note that, since n/µ = φ + 2 for large n, the constant terms vanish. We have log(s n) ( n = n log(φ) + (n k) log ( (µ + xσ) log 1 + xσ µ ) ( n µ 1 (n 2k) log ) (n 2(µ + xσ)) log ) µ 2 ( 1 xσ n 2µ = n log(φ) + (n k) log(φ + 1) (n 2k) log(φ) + (n (µ + xσ)) log ( + (n (µ + xσ)) log 1 xσ n µ ) ( 1 xσ ) n µ ( (µ + xσ) log 1 + xσ ) ( (n 2(µ + xσ)) log 1 xσ ) µ n 2µ ( = n( log(φ) + log φ 2) log(φ)) + k(log(φ 2 ) + 2 log(φ)) + (n (µ + xσ)) log ( (µ + xσ) log 1 + xσ ) ( (n 2(µ + xσ)) log µ ( = (n (µ + xσ)) log 1 xσ n µ ( (n 2(µ + xσ)) log xσ 1 2 n 2µ ) ( (µ + xσ) log 1 + xσ µ ). ) xσ 1 2 n 2µ ) ( 1 xσ ) n µ )

30 (Sketch of the) Proof of Gaussianity Finally, we expand the logarithms and collect powers of xσ/n. log(s n) = ( (n (µ + xσ)) xσ n µ 1 ( ) xσ ) 2 n µ ( xσ (µ + xσ) µ 1 ( ) xσ ) 2 µ ( xσ (n 2(µ + xσ)) 2 n 2µ 1 ( ) xσ ) 2 n 2µ 2 = (n (µ + xσ)) xσ n (φ+1) 1 xσ 2 n (φ+1) +... (φ+2) (φ+2) 2 (µ + xσ) xσ 1 xσ +... n 2 n φ+2 φ+2 2 (n 2(µ + xσ)) 2xσ n φ 1 2xσ 2 n φ +... φ+2 φ+2 = ( ( xσ n n 1 1 ) ( (φ + 2) φ + 2 (φ + 1) ) ) φ + 2 φ + 2 φ 1 ( ) xσ 2 n( 2 φ n φ φ + 2 ) (φ + 2) (φ + 2) + 4φ φ + 1 φ +O (n(xσ/n) 3)

31 (Sketch of the) Proof of Gaussianity log(s n) = ( xσ n n φ + 1 ) φ + 2 φ + 2 φ φ φ + 2 φ + 2 φ 1 ( ) xσ 2 n(φ + 2)( 1 2 n φ ) φ ( ( ) ) xσ 3 +O n n = 1 (xσ) 2 ( ) ( ( ) ) 3φ + 4 xσ 3 (φ + 2) 2 n φ(φ + 1) O n n = 1 (xσ) 2 ( ) ( ( ) ) 3φ φ + 1 xσ 3 (φ + 2) + O n 2 n φ(φ + 1) n = 1 2 x2 σ 2 ( 5(φ + 2) φn ) ( + O n(xσ/n) 3).

32 (Sketch of the) Proof of Gaussianity But recall that σ 2 = φn 5(φ + 2). ( ) ( Also, since σ n 1/2, n xσn 3 ( ) ) n 1/2. So for large n, the O n xσn 3 term vanishes. Thus we are left with log S n = 1 2 x2 S n = e 1 2 x2. Hence, as n gets large, the density converges to the normal distribution: f n(k)dk = N ns ndk = 1 2πσ 2 e 1 2 x2 σdx = 1 2π e 1 2 x2 dx.

33 Generalizations Generalizing from Fibonacci numbers to linearly recursive sequences with arbitrary nonnegative coefficients. H n+1 = c 1 H n + c 2 H n 1 + +c L H n L+1, n L with H 1 = 1, H n+1 = c 1 H n + c 2 H n 1 + +c n H 1 + 1, n < L, coefficients c i 0; c 1, c L > 0 if L 2; c 1 > 1 if L = 1. Zeckendorf: Every positive integer can be written uniquely as a i H i with natural constraints on the a i s (e.g. cannot use the recurrence relation to remove any summand). Lekkerkerker Central Limit Type Theorem

34 Generalizing Lekkerkerker Generalized Lekkerkerker s Theorem The average number of summands in the generalized Zeckendorf decomposition for integers in [H n, H n+1 ) tends to Cn+d as n, where C > 0 and d are computable constants determined by the c i s. L 1 C = y (1) y(1) = m=0 (s m + s m+1 1)(s m+1 s m )y m (1) 2 L 1 m=0 (m+1)(s. m+1 s m )y m (1) s 0 = 0, s m = c 1 + c 2 + +c m. y(x) is the root of 1 L 1 sm+1 1 m=0 j=s m x j y m+1. y(1) is the root of 1 c 1 y c 2 y 2 c L y L.

35 Central Limit Type Theorem Central Limit Type Theorem As n, the distribution of the number of summands, i.e., a 1 + a 2 + +a m in the generalized Zeckendorf decomposition m i=1 a ih i for integers in [H n, H n+1 ) is Gaussian

36 Example: the Special Case of L = 1, c 1 = 10 H n+1 = 10H n, H 1 = 1, H n = 10 n 1. Legal decomposition is decimal expansion: m i=1 a ih i : a i {0, 1,...,9} (1 i < m), a m {1,...,9}. For N [H n, H n+1 ), m = n, i.e., first term is a n H n = a n 10 n 1. A i : the corresponding random variable of a i. The A i s are independent. For large n, the contribution of A n is immaterial. A i (1 i < n) are identically distributed random variables with mean 4.5 and variance Central Limit Theorem: A 2 + A A n Gaussian with mean 4.5n + O(1) and variance 8.25n + O(1).

37 Far-difference Representation Theorem (Alpert, 2009) (Analogue to Zeckendorf) Every integer can be written uniquely as a sum of the ±F n s, such that every two terms of the same (opposite) sign differ in index by at least 4 (3). Example: 1900 = F 17 F 14 F 10 + F 6 + F 2. K : # of positive terms, L: # of negative terms. Generalized Lekkerkerker s Theorem As n, E[K] and E[L] n/10. E[K] E[L] = ϕ/ Central Limit Type Theorem As n, K and L converges to a bivariate Gaussian. corr(k, L) = (21 2ϕ)/(29+2ϕ).551, ϕ =

38 Generating Function (Example: Binet s Formula) Binet s Formula F 1 = F 2 = 1; F n = 1 5 [( 1+ ) n ( ) n ] 5. 2

39 Generating Function (Example: Binet s Formula) Binet s Formula F 1 = F 2 = 1; F n = 1 5 [( 1+ ) n ( ) n ] 5. 2 Recurrence relation: F n+1 = F n + F n 1 (1)

40 Generating Function (Example: Binet s Formula) Binet s Formula F 1 = F 2 = 1; F n = 1 5 [( 1+ ) n ( ) n ] 5. 2 Recurrence relation: F n+1 = F n + F n 1 (1) Generating function: g(x) = n>0 F nx n.

41 Generating Function (Example: Binet s Formula) Binet s Formula F 1 = F 2 = 1; F n = 1 5 [( 1+ ) n ( ) n ] 5. 2 Recurrence relation: F n+1 = F n + F n 1 (1) Generating function: g(x) = n>0 F nx n. (1) n 2 F n+1 x n+1 = n 2 F n x n+1 + n 2 F n 1 x n+1

42 Generating Function (Example: Binet s Formula) Binet s Formula F 1 = F 2 = 1; F n = 1 5 [( 1+ ) n ( ) n ] 5. 2 Recurrence relation: F n+1 = F n + F n 1 (1) Generating function: g(x) = n>0 F nx n. (1) n 2 n 3 F n+1 x n+1 = n 2 F n x n = n 2 F n x n+1 + n 2 F n x n+1 + n 1 F n x n+2 F n 1 x n+1

43 Generating Function (Example: Binet s Formula) Binet s Formula F 1 = F 2 = 1; F n = 1 5 [( 1+ ) n ( ) n ] 5. 2 Recurrence relation: F n+1 = F n + F n 1 (1) Generating function: g(x) = n>0 F nx n. (1) n 2 n 3 n 3 F n+1 x n+1 = n 2 F n x n = n 2 F n x n = x n 2 F n x n+1 + n 2 F n x n+1 + n 1 F n x n + x 2 n 1 F n x n+2 F n 1 x n+1 F n x n

44 Generating Function (Example: Binet s Formula) Binet s Formula F 1 = F 2 = 1; F n = 1 5 [( 1+ ) n ( ) n ] 5. 2 Recurrence relation: F n+1 = F n + F n 1 (1) Generating function: g(x) = n>0 F nx n. (1) n 2 n 3 F n+1 x n+1 = n 2 F n x n = n 2 F n x n+1 + n 2 F n x n+1 + n 1 F n x n+2 F n 1 x n+1 F n x n = x F n x n + x 2 F n x n n 3 n 2 n 1 g(x) F 1 x F 2 x 2 = x(g(x) F 1 x)+x 2 g(x)

45 Generating Function (Example: Binet s Formula) Binet s Formula F 1 = F 2 = 1; F n = 1 5 [( 1+ ) n ( ) n ] 5. 2 Recurrence relation: F n+1 = F n + F n 1 (1) Generating function: g(x) = n>0 F nx n. (1) n 2 n 3 F n+1 x n+1 = n 2 F n x n = n 2 F n x n+1 + n 2 F n x n+1 + n 1 F n x n+2 F n 1 x n+1 n 3 F n x n = x n 2 F n x n + x 2 n 1 F n x n g(x) F 1 x F 2 x 2 = x(g(x) F 1 x)+x 2 g(x) g(x) = x/(1 x x 2 ).

46 Partial Fraction Expansion (Example: Binet s Formula) Generating function: g(x) = n>0 F nx n = x 1 x x 2.

47 Partial Fraction Expansion (Example: Binet s Formula) Generating function: g(x) = n>0 F nx n = x 1 x x 2. Partial fraction expansion:

48 Partial Fraction Expansion (Example: Binet s Formula) Generating function: g(x) = n>0 F nx n = x 1 x x 2. Partial fraction expansion: g(x) = ( x 1 x x = x ) x x x 2 2

49 Partial Fraction Expansion (Example: Binet s Formula) Generating function: g(x) = n>0 F nx n = x 1 x x 2. Partial fraction expansion: g(x) = ( x 1 x x = x ) x x x 2 2 Coefficient of x n (power series expansion): [( F n = 1 1+ ) n ( ) n ] 5 - Binet s Formula! 2 1 (using geometric series: = 1+r + r 2 + r 3 + ). 1 r

50 Differentiating Identities and Method of Moments Differentiating identities Example: Given a random variable X such that Pr(X = 1) = 1 2, Pr(X = 2) = 1 4, Pr(X = 3) = 1 8,... then what s the mean of X (i.e., E[X])? Solution: Let f(x) = 1x + 1x 2 + 1x 3 + = x/2 f (x) = x + 3 1x f (1) = = E[X] Method of moments: Random variables X 1, X 2,... If l th moments E[Xn l ] converges those of standard normal then X n converges to a Gaussian. Standard normal distribution: 2m th moment: (2m 1)!! = (2m 1)(2m 3) 1, (2m 1) th moment: 0.

51 New Approach: Case of Fibonacci Numbers p n,k = # {N [F n, F n+1 ): the Zeckendorf decomposition of N has exactly k summands}. Recurrence relation: N [F n+1, F n+2 ): N = F n+1 + F t +, t n 1. p n+1,k+1 = p n 1,k + p n 2,k +

52 New Approach: Case of Fibonacci Numbers p n,k = # {N [F n, F n+1 ): the Zeckendorf decomposition of N has exactly k summands}. Recurrence relation: N [F n+1, F n+2 ): N = F n+1 + F t +, t n 1. p n+1,k+1 = p n 1,k + p n 2,k + p n,k+1 = p n 2,k + p n 3,k +

53 New Approach: Case of Fibonacci Numbers p n,k = # {N [F n, F n+1 ): the Zeckendorf decomposition of N has exactly k summands}. Recurrence relation: N [F n+1, F n+2 ): N = F n+1 + F t +, t n 1. p n+1,k+1 = p n 1,k + p n 2,k + p n,k+1 = p n 2,k + p n 3,k + p n+1,k+1 = p n,k+1 + p n 1,k.

54 New Approach: Case of Fibonacci Numbers p n,k = # {N [F n, F n+1 ): the Zeckendorf decomposition of N has exactly k summands}. Recurrence relation: N [F n+1, F n+2 ): N = F n+1 + F t +, t n 1. p n+1,k+1 = p n 1,k + p n 2,k + p n,k+1 = p n 2,k + p n 3,k + p n+1,k+1 = p n,k+1 + p n 1,k. y 1 y xy 2. Generating function: n,k>0 p n,kx k y n = Partial fraction expansion: ( ) y 1 y xy = y 1 2 y 1 (x) y 2 (x) y y 1 (x) 1 y y 2 (x) where y 1 (x) and y 2 (x) are the roots of 1 y xy 2 = 0. Coefficient of y n : g(x) = k>0 p n,kx k.

55 New Approach: Case of Fibonacci Numbers (Continued) K n : the corresponding random variable associated with k. g(x) = k>0 p n,kx k. Differentiating identities: g(1) = k>0 p n,k = F n+1 F n, g (x) = k>0 kp n,kx k 1, g (1) = g(1)e[k n ], (xg (x)) = k>0 k 2 p n,k x k 1, (xg (x)) x=1 = g(1)e[k 2 n], ( x (xg (x)) ) x=1 = g(1)e[k 3 n], Similar results hold for the centralized K n : K n = K n E[K n ]. Method of moments (for normalized K n ): E[(K n )2m ]/(SD(K n ))2m (2m 1)!!, E[(K n) 2m 1 ]/(SD(K n)) 2m 1 0. K n Gaussian.

56 New Approach: General Case Let p n,k = # {N [H n, H n+1 ): the generalized Zeckendorf decomposition of N has exactly k summands}. Recurrence relation: Fibonacci: p n+1,k+1 = p n,k+1 + p n,k. sm+1 1 j=s m p n m,k j. General: p n+1,k = L 1 m=0 where s 0 = 0, s m = c 1 + c 2 + +c m. Generating function: Fibonacci: y 1 y xy 2. General: n L p n,kx k y n L 1 sm+1 1 m=0 1 L 1 m=0 j=s m x j y m+1 n<l m p n,kx k y n sm+1. 1 j=s m x j y m+1

57 New Approach: General Case (Continued) Partial fraction expansion: ( y Fibonacci: y 1 (x) y 2 (x) General: 1 sl 1 j=s L 1 x j L i=1 B(x, y) = L 1 p n,k x k y n n L 1 1 y y 1 (x) y y 2 (x) ). B(x, y) (y y i (x)) j i (y j(x) y i (x)). m=0 s m+1 1 j=s m x j y m+1 n<l m y i (x): root of 1 L 1 sm+1 1 m=0 j=s m x j y m+1 = 0. p n,k x k y n, 57 Coefficient of y n : g(x) = n,k>0 p n,kx k. Differentiating identities Method of moments: implies K n Gaussian.

58 Gaps in the Bulk

59 Distribution of Gaps For F i1 + F i2 + +F in, the gaps are the differences i n i n 1, i n 1 i n 2,...,i 2 i 1.

60 Distribution of Gaps For F i1 + F i2 + +F in, the gaps are the differences i n i n 1, i n 1 i n 2,...,i 2 i 1. Example: For F 1 + F 8 + F 18, the gaps are 7 and 10.

61 Distribution of Gaps For F i1 + F i2 + +F in, the gaps are the differences i n i n 1, i n 1 i n 2,...,i 2 i 1. Example: For F 1 + F 8 + F 18, the gaps are 7 and 10. Let P n (k) be the probability that a gap for a decomposition in [F n, F n+1 ) is of length k.

62 Distribution of Gaps For F i1 + F i2 + +F in, the gaps are the differences i n i n 1, i n 1 i n 2,...,i 2 i 1. Example: For F 1 + F 8 + F 18, the gaps are 7 and 10. Let P n (k) be the probability that a gap for a decomposition in [F n, F n+1 ) is of length k. What is P(k) = lim n P n (k)?

63 Distribution of Gaps For F i1 + F i2 + +F in, the gaps are the differences i n i n 1, i n 1 i n 2,...,i 2 i 1. Example: For F 1 + F 8 + F 18, the gaps are 7 and 10. Let P n (k) be the probability that a gap for a decomposition in [F n, F n+1 ) is of length k. What is P(k) = lim n P n (k)? Can ask similar questions about binary or other expansions: 2012 =

64 Main Results Theorem (Base B Gap Distribution) For base B decompositions, P(0) = (B 1)(B 2), and for B 2 k 1, P(k) = c B B k, with c B = (B 1)(3B 2). B 2 Theorem (Zeckendorf Gap Distribution) For Zeckendorf decompositions, P(k) = φ(φ 1) φ k for k 2, with φ = the golden mean.

65 Main Results Theorem Let H n+1 = c 1 H n + c 2 H n 1 + +c L H n+1 L be a positive linear recurrence of length L where c i 1 for all 1 i L. Then P(j) = 1 ( a 1 C Lek )(λ n+2 1 λ n λ a 1 1 3) j = 0 λ 1 1 ( 1 C Lek )(λ 1 (1 2a 1 )+a 1 ) j = 1 ( (λ 1 1) 2 ) a 1 C Lek λ j 1 j 2

66 Proof of Fibonacci Result Lekkerkerker total number of gaps F n 1 n. φ 2 +1

67 Proof of Fibonacci Result Lekkerkerker total number of gaps F n 1 n. φ 2 +1 Let X i,j = #{m [F n, F n+1 ): decomposition of m includes F i, F j, but not F q for i < q < j}.

68 Proof of Fibonacci Result Lekkerkerker total number of gaps F n 1 n. φ 2 +1 Let X i,j = #{m [F n, F n+1 ): decomposition of m includes F i, F j, but not F q for i < q < j}. n k P(k) = lim n i=1 X i,i+k n F n 1 φ 2 +1.

69 Calculating X i,i+k How many decompositions contain a gap from F i to F i+k?

70 Calculating X i,i+k How many decompositions contain a gap from F i to F i+k? Number of choices is F n k 2 i F i 1 :

71 Calculating X i,i+k How many decompositions contain a gap from F i to F i+k? Number of choices is F n k 2 i F i 1 : For the indices less than i: F i 1 choices. Why? Have F i, don t have F i 1. Follows by Zeckendorf: like the interval [F i, F i+1 ) as have F i, number elements is F i+1 F i = F i 1.

72 Calculating X i,i+k How many decompositions contain a gap from F i to F i+k? Number of choices is F n k 2 i F i 1 : For the indices less than i: F i 1 choices. Why? Have F i, don t have F i 1. Follows by Zeckendorf: like the interval [F i, F i+1 ) as have F i, number elements is F i+1 F i = F i 1. For the indices greater than i + k: F n k i 2 choices. Why? Have F n, don t have F i+k+1. Like Zeckendorf with potential summands F i+k+2,...,f n. Shifting, like summands F 1,...,F n k i 1, giving F n k i 2.

73 Determining P(k) n k X i,i+k = F n k 1 + i=1 n k 2 i=1 F i 1 F n k i 2 n k 3 i=0 F i F n k i 3 is the x n k 3 coefficient of (g(x)) 2, where g(x) is the generating function of the Fibonaccis. Alternatively, use Binet s formula and get sums of geometric series.

74 Determining P(k) n k X i,i+k = F n k 1 + i=1 n k 2 i=1 F i 1 F n k i 2 n k 3 i=0 F i F n k i 3 is the x n k 3 coefficient of (g(x)) 2, where g(x) is the generating function of the Fibonaccis. Alternatively, use Binet s formula and get sums of geometric series. P(k) = C/φ k for a constant C, so P(k) = 1/φ k.

75 75 Intro Gaussianity Gaps (Bulk) Longest Gap Future / Refs Proof sketch of almost sure convergence m = k(m) j=1 F i j, ν m;n (x) = 1 k(m) k(m) 1 j=2 δ(x (i j i j 1 )). µ m,n (t) = x t dν m;n (x). Show E m [µ m;n (t)] equals average gap moments, µ(t). Show E m [(µ m;n (t) µ(t)) 2 ] and E m [(µ m;n (t) µ(t)) 4 ] tend to zero. Key ideas: (1) Replace k(m) with average (Gaussianity); (2) use X i,i+g1,j,j+g 2.

76 Longest Gap

77 77 Intro Gaussianity Gaps (Bulk) Longest Gap Future / Refs Longest Gap For most recurrences, our central result is Theorem (Mean and Variance of Longest Gap) Let λ 1 be the largest eigenvalue of the recurrence, γ be Euler s constant, and K a constant that is a polynomial in λ 1. Then the mean and variance of the longeset gap are: µ n = log(nk) logλ 1 σ 2 n = π 2 6(logλ 1 ) 2 + o(1). + γ logλ o(1)

78 Strategy Our argument follows three main steps: Find a rational generating function S f (x) for the number of m (H n, H n+1 ] with longest gap less than f. Obtain an approximate formula for the CDF of the longest gap. Estimate the mean and variance using Partial Summation and the Euler Maclaurin Formula.

79 Fibonacci case For the fibonacci numbers, our generating function is From this we obtain S f (x) = x 1 x x 2 + x f. Theorem (Longest Gap Asymptotic CDF) As n, the probability that m [F n, F n+1 ) has longest gap less than or equal to f(n) converges to Prob(L n (m) f(n)) e elog n f(n)/ logφ.

80 Generating Function: I For k fixed the number of m [F n, F n+1 ) with k summands and longest gap less than f equals the coefficient of x n for in the expression 1 1 x f(n) 2 x j j=2 k 1.

81 Generating Function: II Why the n th coefficient of ( f(n) 1 ) k x j=2 x j?

82 Generating Function: II Why the n th coefficient of ( f(n) 1 ) k x j=2 x j? Let m = F n + F n g1 + F n g1 g 2 + +F n g1 g n 1. The gaps uniquely identify m because of Zeckendorf s Theorem! And we have the following:

83 Generating Function: II Why the n th coefficient of ( f(n) 1 ) k x j=2 x j? Let m = F n + F n g1 + F n g1 g 2 + +F n g1 g n 1. The gaps uniquely identify m because of Zeckendorf s Theorem! And we have the following: The sum of the gaps of x is n.

84 Generating Function: II Why the n th coefficient of ( f(n) 1 ) k x j=2 x j? Let m = F n + F n g1 + F n g1 g 2 + +F n g1 g n 1. The gaps uniquely identify m because of Zeckendorf s Theorem! And we have the following: The sum of the gaps of x is n. Each gap is 2.

85 Generating Function: II Why the n th coefficient of ( f(n) 1 ) k x j=2 x j? Let m = F n + F n g1 + F n g1 g 2 + +F n g1 g n 1. The gaps uniquely identify m because of Zeckendorf s Theorem! And we have the following: The sum of the gaps of x is n. Each gap is 2. Each gap is < f.

86 Generating Function: III If we sum over k we get the total number of m [F n, F n+1 ) with longest gap < f. It s the n th coefficient of F(x) = 1 1 x ( ) x 2 x f 2 k 1 = 1 x k=1 x 1 x x 2 + x f.

87 Obtaining the CDF We analyze asymptotic behavior of the coefficients of as n, f vary. S f (x) = x 1 x x 2 + x f Use a partial fraction decomposition. Problem: What happens to the roots of 1 x x 2 + x f as f varies? Solution: 1 x x 2 + x f has a unique smallest root α f which converges to 1/φ for large f. The contribution of α f dominates, allowing us to obtain an approximate CDF.

88 Numerical Results Convergence to mean is at best approximately n δ for some small δ > 0. Computing numerics is difficult: F n+1 = F n + F n 1 : Sampling 100 numbers from [F n, F n+1 ) with n = 1, 000, 000. Mean predicted : vs. observed: Variance predicted : 2.67 vs. observed: 2.44 a n+1 = 2a n + 4a n 1 : Sampling 100 numbers from [a n, a n+1 ) with n = 51, 200. Mean predicted : 9.95 vs. observed: 9.91 Variance predicted : 1.09 vs. observed: 1.22

89 Numerical Results pt 2 F n+1 = F n + F n 1 : Sampling 20 numbers from [F n, F n+1 ) with n = 10, 000, 000. Mean predicted : vs. observed: Variance predicted : 2.67 vs. observed: 2.33 a n+1 = 2a n + 4a n 1 : Sampling 100 numbers from [a n, a n+1 ) with n = 102, 400. Mean predicted : vs. observed: Variance predicted : 1.09 vs. observed: 1.10

90 Future Work and References

91 Future Research Future Research Generalizing results to all PLRS and signed decompositions. Other systems such as f-decompositions of Demontigny, Do, Miller and Varma.

92 References References Beckwith, Bower, Gaudet, Insoft, Li, Miller and Tosteson: The Average Gap Distribution for Generalized Zeckendorf Decompositions. The Fibonacci Quarterly 51 (2013), Bower, Insoft, Li, Miller and Tosteson: Distribution of gaps in generalized Zeckendorf decompositions, preprint Kologlu, Kopp, Miller and Wang: On the number of summands in Zeckendorf decompositions, Fibonacci Quarterly 49 (2011), no. 2, Miller and Wang: Gaussian Behavior in Generalized Zeckendorf Decompositions, to appear in the conference proceedings of the 2011 Combinatorial and Additive Number Theory Conference.

Cookie Monster Meets the Fibonacci Numbers. Mmmmmm Theorems!

Cookie Monster Meets the Fibonacci Numbers. Mmmmmm Theorems! Cookie Monster Meets the Fibonacci Numbers. Mmmmmm Theorems! Olivial Beckwith, Murat Koloğlu, Gene Kopp, Steven J. Miller and Yinghui Wang http://www.williams.edu/mathematics/sjmiller/public html Colby

More information

Cookie Monster Meets the Fibonacci Numbers. Mmmmmm Theorems!

Cookie Monster Meets the Fibonacci Numbers. Mmmmmm Theorems! Cookie Monster Meets the Fibonacci Numbers. Mmmmmm Theorems! Murat Koloğlu, Gene Kopp, Steven J. Miller and Yinghui Wang http://www.williams.edu/mathematics/sjmiller/public html Smith College, January

More information

Cookie Monster Meets the Fibonacci Numbers. Mmmmmm Theorems!

Cookie Monster Meets the Fibonacci Numbers. Mmmmmm Theorems! Cookie Monster Meets the Fibonacci Numbers. Mmmmmm Theorems! Murat Koloğlu, Gene Kopp, Steven J. Miller and Yinghui Wang http://www.williams.edu/mathematics/sjmiller/public html College of the Holy Cross,

More information

From Fibonacci Numbers to Central Limit Type Theorems

From Fibonacci Numbers to Central Limit Type Theorems From Fibonacci Numbers to Central Limit Type Theorems Murat Koloğlu, Gene Kopp, Steven J. Miller and Yinghui Wang Williams College, October 1st, 010 Introduction Previous Results Fibonacci Numbers: F n+1

More information

Springboards to Mathematics: From Zombies to Zeckendorf

Springboards to Mathematics: From Zombies to Zeckendorf Springboards to Mathematics: From Zombies to Zeckendorf Steven J. Miller http://www.williams.edu/mathematics/sjmiller/public_html Zombies General Advice: What are your tools and how can they be used? Zombine

More information

Distribution of summands in generalized Zeckendorf decompositions

Distribution of summands in generalized Zeckendorf decompositions Distribution of summands in generalized Zeckendorf decompositions Amanda Bower (UM-Dearborn), Louis Gaudet (Yale University), Rachel Insoft (Wellesley College), Shiyu Li (Berkeley), Steven J. Miller and

More information

Why Cookies And M&Ms Are Good For You (Mathematically)

Why Cookies And M&Ms Are Good For You (Mathematically) Why Cookies And M&Ms Are Good For You (Mathematically) Steven J. Miller, Williams College Steven.J.Miller@williams.edu http://web.williams.edu/mathematics/sjmiller/public_html/ Stuyvesant High School,

More information

From Fibonacci Quilts to Benford s Law through Zeckendorf Decompositions

From Fibonacci Quilts to Benford s Law through Zeckendorf Decompositions From Fibonacci Quilts to Benford s Law through Zeckendorf Decompositions Steven J. Miller (sjm1@williams.edu) http://www.williams.edu/mathematics/sjmiller/public_html AMS Special Session on Difference

More information

Math/Stat 341 and Math 433 Probability and Mathematical Modeling II: Continuous Systems

Math/Stat 341 and Math 433 Probability and Mathematical Modeling II: Continuous Systems Math/Stat 341 and Math 433 Probability and Mathematical Modeling II: Continuous Systems Steven J Miller Williams College sjm1@williams.edu http://www.williams.edu/mathematics/sjmiller/public_html/341 Lawrence

More information

Distribution of the Longest Gap in Positive Linear Recurrence Sequences

Distribution of the Longest Gap in Positive Linear Recurrence Sequences Distribution of the Longest Gap in Positive Linear Recurrence Sequences Shiyu Li 1, Philip Tosteson 2 Advisor: Steven J. Miller 2 1 University of California, Berkeley 2 Williams College http://www.williams.edu/mathematics/sjmiller/

More information

Cookie Monster Meets the Fibonacci Numbers. Mmmmmm Theorems!

Cookie Monster Meets the Fibonacci Numbers. Mmmmmm Theorems! Cookie Monster Meets the Fibonacci Numbers. Mmmmmm Theorems! Steven J Miller, Williams College Steven.J.Miller@williams.edu http://www.williams.edu/go/math/sjmiller CANT 2010, CUNY, May 29, 2010 Summary

More information

Convergence rates in generalized Zeckendorf decomposition problems

Convergence rates in generalized Zeckendorf decomposition problems Convergence rates in generalized Zeckendorf decomposition problems Ray Li (ryli@andrew.cmu.edu) 1 Steven J Miller (sjm1@williams.edu) 2 Zhao Pan (zhaop@andrew.cmu.edu) 3 Huanzhong Xu (huanzhox@andrew.cmu.edu)

More information

From Fibonacci Quilts to Benford s Law through Zeckendorf Decompositions

From Fibonacci Quilts to Benford s Law through Zeckendorf Decompositions From Fibonacci Quilts to Benford s Law through Zeckendorf Decompositions Steven J. Miller (sjm1@williams.edu) http://www.williams.edu/mathematics/sjmiller/ public_html CANT 2015 (May 19), Graduate Center

More information

FROM FIBONACCI NUMBERS TO CENTRAL LIMIT TYPE THEOREMS

FROM FIBONACCI NUMBERS TO CENTRAL LIMIT TYPE THEOREMS FROM FIBONACCI NUMBERS TO CENTRAL LIMIT TYPE THEOREMS STEVEN J. MILLER AND YINGHUI WANG Abstract A beautiful theorem of Zeckendorf states that every integer can be written uniquely as a sum of non-consecutive

More information

ON THE NUMBER OF SUMMANDS IN ZECKENDORF DECOMPOSITIONS

ON THE NUMBER OF SUMMANDS IN ZECKENDORF DECOMPOSITIONS ON THE NUMBER OF SUMMANDS IN ZECKENDORF DECOMPOSITIONS MURAT KOLOĞLU, GENE S. KOPP, STEVEN J. MILLER, AND YINGHUI WANG Abstract. Zecendorf proved that every positive integer has a unique representation

More information

A GENERALIZATION OF ZECKENDORF S THEOREM VIA CIRCUMSCRIBED m-gons

A GENERALIZATION OF ZECKENDORF S THEOREM VIA CIRCUMSCRIBED m-gons A GENERALIZATION OF ZECKENDORF S THEOREM VIA CIRCUMSCRIBED m-gons ROBERT DORWARD, PARI L. FORD, EVA FOURAKIS, PAMELA E. HARRIS, STEVEN J. MILLER, EYVI PALSSON, AND HANNAH PAUGH Abstract. Zeckendorf s theorem

More information

Partition of Integers into Distinct Summands with Upper Bounds. Partition of Integers into Even Summands. An Example

Partition of Integers into Distinct Summands with Upper Bounds. Partition of Integers into Even Summands. An Example Partition of Integers into Even Summands We ask for the number of partitions of m Z + into positive even integers The desired number is the coefficient of x m in + x + x 4 + ) + x 4 + x 8 + ) + x 6 + x

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

Chapter 11 - Sequences and Series

Chapter 11 - Sequences and Series Calculus and Analytic Geometry II Chapter - Sequences and Series. Sequences Definition. A sequence is a list of numbers written in a definite order, We call a n the general term of the sequence. {a, a

More information

From M&Ms to Mathematics, or, How I learned to answer questions and help my kids love math.

From M&Ms to Mathematics, or, How I learned to answer questions and help my kids love math. From M&Ms to Mathematics, or, How I learned to answer questions and help my kids love math. Steven J. Miller, Williams College sjm1@williams.edu, Steven.Miller.MC.96@aya.yale.edu (with Cameron and Kayla

More information

Notes on generating functions in automata theory

Notes on generating functions in automata theory Notes on generating functions in automata theory Benjamin Steinberg December 5, 2009 Contents Introduction: Calculus can count 2 Formal power series 5 3 Rational power series 9 3. Rational power series

More information

Algorithms: Background

Algorithms: Background Algorithms: Background Amotz Bar-Noy CUNY Amotz Bar-Noy (CUNY) Algorithms: Background 1 / 66 What is a Proof? Definition I: The cogency of evidence that compels acceptance by the mind of a truth or a fact.

More information

Eigenvalue Statistics for Toeplitz and Circulant Ensembles

Eigenvalue Statistics for Toeplitz and Circulant Ensembles Eigenvalue Statistics for Toeplitz and Circulant Ensembles Murat Koloğlu 1, Gene Kopp 2, Steven J. Miller 1, and Karen Shen 3 1 Williams College 2 University of Michigan 3 Stanford University http://www.williams.edu/mathematics/sjmiller/

More information

Subtraction games. Chapter The Bachet game

Subtraction games. Chapter The Bachet game Chapter 7 Subtraction games 7.1 The Bachet game Beginning with a positive integer, two players alternately subtract a positive integer < d. The player who gets down to 0 is the winner. There is a set of

More information

Distribution of Eigenvalues of Weighted, Structured Matrix Ensembles

Distribution of Eigenvalues of Weighted, Structured Matrix Ensembles Distribution of Eigenvalues of Weighted, Structured Matrix Ensembles Olivia Beckwith 1, Steven J. Miller 2, and Karen Shen 3 1 Harvey Mudd College 2 Williams College 3 Stanford University Joint Meetings

More information

Applications. More Counting Problems. Complexity of Algorithms

Applications. More Counting Problems. Complexity of Algorithms Recurrences Applications More Counting Problems Complexity of Algorithms Part I Recurrences and Binomial Coefficients Paths in a Triangle P(0, 0) P(1, 0) P(1,1) P(2, 0) P(2,1) P(2, 2) P(3, 0) P(3,1) P(3,

More information

Lecture 7: Sections 2.3 and 2.4 Rational and Exponential Functions. Recall that a power function has the form f(x) = x r where r is a real number.

Lecture 7: Sections 2.3 and 2.4 Rational and Exponential Functions. Recall that a power function has the form f(x) = x r where r is a real number. L7-1 Lecture 7: Sections 2.3 and 2.4 Rational and Exponential Functions Recall that a power function has the form f(x) = x r where r is a real number. f(x) = x 1/2 f(x) = x 1/3 ex. Sketch the graph of

More information

Part IA Probability. Theorems. Based on lectures by R. Weber Notes taken by Dexter Chua. Lent 2015

Part IA Probability. Theorems. Based on lectures by R. Weber Notes taken by Dexter Chua. Lent 2015 Part IA Probability Theorems Based on lectures by R. Weber Notes taken by Dexter Chua Lent 2015 These notes are not endorsed by the lecturers, and I have modified them (often significantly) after lectures.

More information

REPRESENTING POSITIVE INTEGERS AS A SUM OF LINEAR RECURRENCE SEQUENCES

REPRESENTING POSITIVE INTEGERS AS A SUM OF LINEAR RECURRENCE SEQUENCES REPRESENTING POSITIVE INTEGERS AS A SUM OF LINEAR RECURRENCE SEQUENCES NATHAN HAMLIN AND WILLIAM A. WEBB Abstract. The Zeckendorf representation, using sums of Fibonacci numbers, is widely known. Fraenkel

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

uniform distribution theory

uniform distribution theory uniform distribution theory DOI: 0.55/udt-207 0002 Unif. Distrib. Theory 2 (207), no., 27 36 INDIVIDUAL GAP MEASURES FROM GENERALIZED ZECKENDORF DECOMPOSITIONS Robert DorwardμPari L. FordμEva Fourakis

More information

Limits at Infinity. Horizontal Asymptotes. Definition (Limits at Infinity) Horizontal Asymptotes

Limits at Infinity. Horizontal Asymptotes. Definition (Limits at Infinity) Horizontal Asymptotes Limits at Infinity If a function f has a domain that is unbounded, that is, one of the endpoints of its domain is ±, we can determine the long term behavior of the function using a it at infinity. Definition

More information

From M&Ms to Mathematics, or, How I learned to answer questions and help my kids love math.

From M&Ms to Mathematics, or, How I learned to answer questions and help my kids love math. From M&Ms to Mathematics, or, How I learned to answer questions and help my kids love math. Steven J. Miller, Williams College Steven.J.Miller@williams.edu http://web.williams.edu/mathematics/sjmiller/public_html/

More information

1 + lim. n n+1. f(x) = x + 1, x 1. and we check that f is increasing, instead. Using the quotient rule, we easily find that. 1 (x + 1) 1 x (x + 1) 2 =

1 + lim. n n+1. f(x) = x + 1, x 1. and we check that f is increasing, instead. Using the quotient rule, we easily find that. 1 (x + 1) 1 x (x + 1) 2 = Chapter 5 Sequences and series 5. Sequences Definition 5. (Sequence). A sequence is a function which is defined on the set N of natural numbers. Since such a function is uniquely determined by its values

More information

Binomial Coefficient Identities/Complements

Binomial Coefficient Identities/Complements Binomial Coefficient Identities/Complements CSE21 Fall 2017, Day 4 Oct 6, 2017 https://sites.google.com/a/eng.ucsd.edu/cse21-fall-2017-miles-jones/ permutation P(n,r) = n(n-1) (n-2) (n-r+1) = Terminology

More information

Concrete Mathematics: A Portfolio of Problems

Concrete Mathematics: A Portfolio of Problems Texas A&M University - San Antonio Concrete Mathematics Concrete Mathematics: A Portfolio of Problems Author: Sean Zachary Roberson Supervisor: Prof. Donald Myers July, 204 Chapter : Recurrent Problems

More information

Number Theory and Probability

Number Theory and Probability Number Theory and Probability Nadine Amersi, Thealexa Becker, Olivia Beckwith, Alec Greaves-Tunnell, Geoffrey Iyer, Oleg Lazarev, Ryan Ronan, Karen Shen, Liyang Zhang Advisor Steven Miller (sjm1@williams.edu)

More information

Physics Sep Example A Spin System

Physics Sep Example A Spin System Physics 30 7-Sep-004 4- Example A Spin System In the last lecture, we discussed the binomial distribution. Now, I would like to add a little physical content by considering a spin system. Actually this

More information

Is Analysis Necessary?

Is Analysis Necessary? Is Analysis Necessary? Ira M. Gessel Brandeis University Waltham, MA gessel@brandeis.edu Special Session on Algebraic and Analytic Combinatorics AMS Fall Eastern Meeting University of Connecticut, Storrs

More information

Part II. Number Theory. Year

Part II. Number Theory. Year Part II Year 2017 2016 2015 2014 2013 2012 2011 2010 2009 2008 2007 2006 2005 2017 Paper 3, Section I 1G 70 Explain what is meant by an Euler pseudoprime and a strong pseudoprime. Show that 65 is an Euler

More information

Power series and Taylor series

Power series and Taylor series Power series and Taylor series D. DeTurck University of Pennsylvania March 29, 2018 D. DeTurck Math 104 002 2018A: Series 1 / 42 Series First... a review of what we have done so far: 1 We examined series

More information

The Fibonacci Quilt Sequence

The Fibonacci Quilt Sequence The Sequence Minerva Catral, Pari Ford*, Pamela Harris, Steven J. Miller, Dawn Nelson AMS Section Meeting Georgetown University March 7, 2015 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 Fibonacci sequence Theorem (

More information

Compare the growth rate of functions

Compare the growth rate of functions Compare the growth rate of functions We have two algorithms A 1 and A 2 for solving the same problem, with runtime functions T 1 (n) and T 2 (n), respectively. Which algorithm is more efficient? We compare

More information

PUTNAM PROBLEMS SEQUENCES, SERIES AND RECURRENCES. Notes

PUTNAM PROBLEMS SEQUENCES, SERIES AND RECURRENCES. Notes PUTNAM PROBLEMS SEQUENCES, SERIES AND RECURRENCES Notes. x n+ = ax n has the general solution x n = x a n. 2. x n+ = x n + b has the general solution x n = x + (n )b. 3. x n+ = ax n + b (with a ) can be

More information

Benford Behavior of Generalized Zeckendorf Decompositions

Benford Behavior of Generalized Zeckendorf Decompositions Benford Behavior of Generalized Zeckendorf Decompositions Andrew Best, Patrick Dynes, Xixi Edelsbrunner, Brian McDonald, Steven J. Miller, Kimsy Tor, Caroline Turnage-Butterbaugh and Madeleine Weinstein

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

Math Assignment 11

Math Assignment 11 Math 2280 - Assignment 11 Dylan Zwick Fall 2013 Section 8.1-2, 8, 13, 21, 25 Section 8.2-1, 7, 14, 17, 32 Section 8.3-1, 8, 15, 18, 24 1 Section 8.1 - Introduction and Review of Power Series 8.1.2 - Find

More information

Generating Functions

Generating Functions Generating Functions Karen Ge May, 07 Abstract Generating functions gives us a global perspective when we need to study a local property. We define generating functions and present its applications in

More information

arxiv: v1 [math.ho] 28 Jul 2017

arxiv: v1 [math.ho] 28 Jul 2017 Generalized Fibonacci Sequences and Binet-Fibonacci Curves arxiv:1707.09151v1 [math.ho] 8 Jul 017 Merve Özvatan and Oktay K. Pashaev Department of Mathematics Izmir Institute of Technology Izmir, 35430,

More information

Physics 6720 Introduction to Statistics April 4, 2017

Physics 6720 Introduction to Statistics April 4, 2017 Physics 6720 Introduction to Statistics April 4, 2017 1 Statistics of Counting Often an experiment yields a result that can be classified according to a set of discrete events, giving rise to an integer

More information

n! (k 1)!(n k)! = F (X) U(0, 1). (x, y) = n(n 1) ( F (y) F (x) ) n 2

n! (k 1)!(n k)! = F (X) U(0, 1). (x, y) = n(n 1) ( F (y) F (x) ) n 2 Order statistics Ex. 4. (*. Let independent variables X,..., X n have U(0, distribution. Show that for every x (0,, we have P ( X ( < x and P ( X (n > x as n. Ex. 4.2 (**. By using induction or otherwise,

More information

A PROBABILISTIC APPROACH TO GENERALIZED ZECKENDORF DECOMPOSITIONS

A PROBABILISTIC APPROACH TO GENERALIZED ZECKENDORF DECOMPOSITIONS SIAM J. DISCRETE MATH. Vol. 30, No. 2, pp. 302 332 c 206 Society for Industrial and Applied Mathematics A PROBABILISTIC APPROACH TO GENERALIZED ZECKENDORF DECOMPOSITIONS IDDO BEN-ARI AND STEVEN J. MILLER

More information

EXAMPLES OF PROOFS BY INDUCTION

EXAMPLES OF PROOFS BY INDUCTION EXAMPLES OF PROOFS BY INDUCTION KEITH CONRAD 1. Introduction In this handout we illustrate proofs by induction from several areas of mathematics: linear algebra, polynomial algebra, and calculus. Becoming

More information

On Summand Minimality of Generalized Zeckendorf Decompositions

On Summand Minimality of Generalized Zeckendorf Decompositions On Summand Minimality of Generalized Zeckendorf Decompositions Katherine Cordwell 1, Magda Hlavacek 2 SMALL REU, Williams College ktcordwell@gmail.com mhlavacek@hmc.edu 1 University of Maryland, College

More information

Binomial coefficients and k-regular sequences

Binomial coefficients and k-regular sequences Binomial coefficients and k-regular sequences Eric Rowland Hofstra University New York Combinatorics Seminar CUNY Graduate Center, 2017 12 22 Eric Rowland Binomial coefficients and k-regular sequences

More information

Part IA Probability. Definitions. Based on lectures by R. Weber Notes taken by Dexter Chua. Lent 2015

Part IA Probability. Definitions. Based on lectures by R. Weber Notes taken by Dexter Chua. Lent 2015 Part IA Probability Definitions Based on lectures by R. Weber Notes taken by Dexter Chua Lent 2015 These notes are not endorsed by the lecturers, and I have modified them (often significantly) after lectures.

More information

Combinatorial Enumeration. Jason Z. Gao Carleton University, Ottawa, Canada

Combinatorial Enumeration. Jason Z. Gao Carleton University, Ottawa, Canada Combinatorial Enumeration Jason Z. Gao Carleton University, Ottawa, Canada Counting Combinatorial Structures We are interested in counting combinatorial (discrete) structures of a given size. For example,

More information

LEGENDRE POLYNOMIALS AND APPLICATIONS. We construct Legendre polynomials and apply them to solve Dirichlet problems in spherical coordinates.

LEGENDRE POLYNOMIALS AND APPLICATIONS. We construct Legendre polynomials and apply them to solve Dirichlet problems in spherical coordinates. LEGENDRE POLYNOMIALS AND APPLICATIONS We construct Legendre polynomials and apply them to solve Dirichlet problems in spherical coordinates.. Legendre equation: series solutions The Legendre equation is

More information

Statistics 3657 : Moment Approximations

Statistics 3657 : Moment Approximations Statistics 3657 : Moment Approximations Preliminaries Suppose that we have a r.v. and that we wish to calculate the expectation of g) for some function g. Of course we could calculate it as Eg)) by the

More information

GENERATING FUNCTIONS AND CENTRAL LIMIT THEOREMS

GENERATING FUNCTIONS AND CENTRAL LIMIT THEOREMS GENERATING FUNCTIONS AND CENTRAL LIMIT THEOREMS Michael Drmota Institute of Discrete Mathematics and Geometry Vienna University of Technology A 1040 Wien, Austria michael.drmota@tuwien.ac.at http://www.dmg.tuwien.ac.at/drmota/

More information

Math 101 Study Session Spring 2016 Test 4 Chapter 10, Chapter 11 Chapter 12 Section 1, and Chapter 12 Section 2

Math 101 Study Session Spring 2016 Test 4 Chapter 10, Chapter 11 Chapter 12 Section 1, and Chapter 12 Section 2 Math 101 Study Session Spring 2016 Test 4 Chapter 10, Chapter 11 Chapter 12 Section 1, and Chapter 12 Section 2 April 11, 2016 Chapter 10 Section 1: Addition and Subtraction of Polynomials A monomial is

More information

Week 9-10: Recurrence Relations and Generating Functions

Week 9-10: Recurrence Relations and Generating Functions Week 9-10: Recurrence Relations and Generating Functions April 3, 2017 1 Some number sequences An infinite sequence (or just a sequence for short is an ordered array a 0, a 1, a 2,..., a n,... of countably

More information

MCS 256 Discrete Calculus and Probability Exam 5: Final Examination 22 May 2007

MCS 256 Discrete Calculus and Probability Exam 5: Final Examination 22 May 2007 MCS 256 Discrete Calculus and Probability SOLUTIONS Exam 5: Final Examination 22 May 2007 Instructions: This is a closed-book examination. You may, however, use one 8.5 -by-11 page of notes, your note

More information

k-protected VERTICES IN BINARY SEARCH TREES

k-protected VERTICES IN BINARY SEARCH TREES k-protected VERTICES IN BINARY SEARCH TREES MIKLÓS BÓNA Abstract. We show that for every k, the probability that a randomly selected vertex of a random binary search tree on n nodes is at distance k from

More information

Multiplying two generating functions

Multiplying two generating functions Generating Functions 3.3 3.6 111 Multiplying two generating functions Let A(x) = a k x k and B(x) = b k x k. k 0 k 0 What is the coefficient of x k in A(x)B(x)? Generating Functions 3.3 3.6 111 Multiplying

More information

Random Variables and Their Distributions

Random Variables and Their Distributions Chapter 3 Random Variables and Their Distributions A random variable (r.v.) is a function that assigns one and only one numerical value to each simple event in an experiment. We will denote r.vs by capital

More information

Convergence of sequences and series

Convergence of sequences and series Convergence of sequences and series A sequence f is a map from N the positive integers to a set. We often write the map outputs as f n rather than f(n). Often we just list the outputs in order and leave

More information

[POLS 8500] Review of Linear Algebra, Probability and Information Theory

[POLS 8500] Review of Linear Algebra, Probability and Information Theory [POLS 8500] Review of Linear Algebra, Probability and Information Theory Professor Jason Anastasopoulos ljanastas@uga.edu January 12, 2017 For today... Basic linear algebra. Basic probability. Programming

More information

Series Solution of Linear Ordinary Differential Equations

Series Solution of Linear Ordinary Differential Equations Series Solution of Linear Ordinary Differential Equations Department of Mathematics IIT Guwahati Aim: To study methods for determining series expansions for solutions to linear ODE with variable coefficients.

More information

Review session Midterm 1

Review session Midterm 1 AS.110.109: Calculus II (Eng) Review session Midterm 1 Yi Wang, Johns Hopkins University Fall 2018 7.1: Integration by parts Basic integration method: u-sub, integration table Integration By Parts formula

More information

Math 115 Spring 11 Written Homework 10 Solutions

Math 115 Spring 11 Written Homework 10 Solutions Math 5 Spring Written Homework 0 Solutions. For following its, state what indeterminate form the its are in and evaluate the its. (a) 3x 4x 4 x x 8 Solution: This is in indeterminate form 0. Algebraically,

More information

Relevant sections from AMATH 351 Course Notes (Wainwright): Relevant sections from AMATH 351 Course Notes (Poulin and Ingalls):

Relevant sections from AMATH 351 Course Notes (Wainwright): Relevant sections from AMATH 351 Course Notes (Poulin and Ingalls): Lecture 5 Series solutions to DEs Relevant sections from AMATH 35 Course Notes (Wainwright):.4. Relevant sections from AMATH 35 Course Notes (Poulin and Ingalls): 2.-2.3 As mentioned earlier in this course,

More information

q-counting hypercubes in Lucas cubes

q-counting hypercubes in Lucas cubes Turkish Journal of Mathematics http:// journals. tubitak. gov. tr/ math/ Research Article Turk J Math (2018) 42: 190 203 c TÜBİTAK doi:10.3906/mat-1605-2 q-counting hypercubes in Lucas cubes Elif SAYGI

More information

are the q-versions of n, n! and . The falling factorial is (x) k = x(x 1)(x 2)... (x k + 1).

are the q-versions of n, n! and . The falling factorial is (x) k = x(x 1)(x 2)... (x k + 1). Lecture A jacques@ucsd.edu Notation: N, R, Z, F, C naturals, reals, integers, a field, complex numbers. p(n), S n,, b(n), s n, partition numbers, Stirling of the second ind, Bell numbers, Stirling of the

More information

MATH 105: PRACTICE PROBLEMS FOR CHAPTER 3: SPRING 2010

MATH 105: PRACTICE PROBLEMS FOR CHAPTER 3: SPRING 2010 MATH 105: PRACTICE PROBLEMS FOR CHAPTER 3: SPRING 010 INSTRUCTOR: STEVEN MILLER (SJM1@WILLIAMS.EDU Question 1 : Compute the partial derivatives of order 1 order for: (1 f(x, y, z = e x+y cos(x sin(y. Solution:

More information

Advanced Counting Techniques. Chapter 8

Advanced Counting Techniques. Chapter 8 Advanced Counting Techniques Chapter 8 Chapter Summary Applications of Recurrence Relations Solving Linear Recurrence Relations Homogeneous Recurrence Relations Nonhomogeneous Recurrence Relations Divide-and-Conquer

More information

Diagonals: Combinatorics, Asymptotics and Computer Algebra

Diagonals: Combinatorics, Asymptotics and Computer Algebra Diagonals: Combinatorics, Asymptotics and Computer Algebra Bruno Salvy Inria & ENS de Lyon Families of Generating Functions (a n ) 7! A(z) := X n 0 a n z n counts the number of objects of size n captures

More information

DIFFERENTIATION RULES

DIFFERENTIATION RULES 3 DIFFERENTIATION RULES DIFFERENTIATION RULES We have: Seen how to interpret derivatives as slopes and rates of change Seen how to estimate derivatives of functions given by tables of values Learned how

More information

A = A U. U [n] P(A U ). n 1. 2 k(n k). k. k=1

A = A U. U [n] P(A U ). n 1. 2 k(n k). k. k=1 Lecture I jacques@ucsd.edu Notation: Throughout, P denotes probability and E denotes expectation. Denote (X) (r) = X(X 1)... (X r + 1) and let G n,p denote the Erdős-Rényi model of random graphs. 10 Random

More information

Mathematical Olympiad Training Polynomials

Mathematical Olympiad Training Polynomials Mathematical Olympiad Training Polynomials Definition A polynomial over a ring R(Z, Q, R, C) in x is an expression of the form p(x) = a n x n + a n 1 x n 1 + + a 1 x + a 0, a i R, for 0 i n. If a n 0,

More information

Networks: Lectures 9 & 10 Random graphs

Networks: Lectures 9 & 10 Random graphs Networks: Lectures 9 & 10 Random graphs Heather A Harrington Mathematical Institute University of Oxford HT 2017 What you re in for Week 1: Introduction and basic concepts Week 2: Small worlds Week 3:

More information

Some Thoughts on Benford s Law

Some Thoughts on Benford s Law Some Thoughts on Benford s Law Steven J. Miller ovember, 004 Abstract For many systems, there is a bias in the distribution of the first digits. For example, if one looks at the first digit of n in base

More information

MATH 56A: STOCHASTIC PROCESSES CHAPTER 2

MATH 56A: STOCHASTIC PROCESSES CHAPTER 2 MATH 56A: STOCHASTIC PROCESSES CHAPTER 2 2. Countable Markov Chains I started Chapter 2 which talks about Markov chains with a countably infinite number of states. I did my favorite example which is on

More information

Chapter 5. Random Variables (Continuous Case) 5.1 Basic definitions

Chapter 5. Random Variables (Continuous Case) 5.1 Basic definitions Chapter 5 andom Variables (Continuous Case) So far, we have purposely limited our consideration to random variables whose ranges are countable, or discrete. The reason for that is that distributions on

More information

P i [B k ] = lim. n=1 p(n) ii <. n=1. V i :=

P i [B k ] = lim. n=1 p(n) ii <. n=1. V i := 2.7. Recurrence and transience Consider a Markov chain {X n : n N 0 } on state space E with transition matrix P. Definition 2.7.1. A state i E is called recurrent if P i [X n = i for infinitely many n]

More information

Conditional distributions. Conditional expectation and conditional variance with respect to a variable.

Conditional distributions. Conditional expectation and conditional variance with respect to a variable. Conditional distributions Conditional expectation and conditional variance with respect to a variable Probability Theory and Stochastic Processes, summer semester 07/08 80408 Conditional distributions

More information

Introduction to Techniques for Counting

Introduction to Techniques for Counting Introduction to Techniques for Counting A generating function is a device somewhat similar to a bag. Instead of carrying many little objects detachedly, which could be embarrassing, we put them all in

More information

Continued Fraction Digit Averages and Maclaurin s Inequalities

Continued Fraction Digit Averages and Maclaurin s Inequalities Continued Fraction Digit Averages and Maclaurin s Inequalities Steven J. Miller, Williams College sjm1@williams.edu, Steven.Miller.MC.96@aya.yale.edu Joint with Francesco Cellarosi, Doug Hensley and Jake

More information

Distance between multinomial and multivariate normal models

Distance between multinomial and multivariate normal models Chapter 9 Distance between multinomial and multivariate normal models SECTION 1 introduces Andrew Carter s recursive procedure for bounding the Le Cam distance between a multinomialmodeland its approximating

More information

Notes on Continued Fractions for Math 4400

Notes on Continued Fractions for Math 4400 . Continued fractions. Notes on Continued Fractions for Math 4400 The continued fraction expansion converts a positive real number α into a sequence of natural numbers. Conversely, a sequence of natural

More information

Algorithmic Tools for the Asymptotics of Diagonals

Algorithmic Tools for the Asymptotics of Diagonals Algorithmic Tools for the Asymptotics of Diagonals Bruno Salvy Inria & ENS de Lyon Lattice walks at the Interface of Algebra, Analysis and Combinatorics September 19, 2017 Asymptotics & Univariate Generating

More information

Chapter Generating Functions

Chapter Generating Functions Chapter 8.1.1-8.1.2. Generating Functions Prof. Tesler Math 184A Fall 2017 Prof. Tesler Ch. 8. Generating Functions Math 184A / Fall 2017 1 / 63 Ordinary Generating Functions (OGF) Let a n (n = 0, 1,...)

More information

Section Example Determine the Maclaurin series of f (x) = e x and its the interval of convergence.

Section Example Determine the Maclaurin series of f (x) = e x and its the interval of convergence. Example Determine the Maclaurin series of f (x) = e x and its the interval of convergence. Example Determine the Maclaurin series of f (x) = e x and its the interval of convergence. f n (0)x n Recall from

More information

On the number of matchings of a tree.

On the number of matchings of a tree. On the number of matchings of a tree. Stephan G. Wagner Department of Mathematics, Graz University of Technology, Steyrergasse 30, A-800 Graz, Austria Abstract In a paper of Klazar, several counting examples

More information

n=0 xn /n!. That is almost what we have here; the difference is that the denominator is (n + 1)! in stead of n!. So we have x n+1 n=0

n=0 xn /n!. That is almost what we have here; the difference is that the denominator is (n + 1)! in stead of n!. So we have x n+1 n=0 DISCRETE MATHEMATICS HOMEWORK 8 SOL Undergraduate Course Chukechen Honors College Zhejiang University Fall-Winter 204 HOMEWORK 8 P496 6. Find a closed form for the generating function for the sequence

More information

Counting in number theory. Fibonacci integers. Carl Pomerance, Dartmouth College. Rademacher Lecture 3, University of Pennsylvania September, 2010

Counting in number theory. Fibonacci integers. Carl Pomerance, Dartmouth College. Rademacher Lecture 3, University of Pennsylvania September, 2010 Counting in number theory Fibonacci integers Carl Pomerance, Dartmouth College Rademacher Lecture 3, University of Pennsylvania September, 2010 Leonardo of Pisa (Fibonacci) (c. 1170 c. 1250) 1 We all know

More information

Math 0230 Calculus 2 Lectures

Math 0230 Calculus 2 Lectures Math 00 Calculus Lectures Chapter 8 Series Numeration of sections corresponds to the text James Stewart, Essential Calculus, Early Transcendentals, Second edition. Section 8. Sequences A sequence is a

More information

Measure-theoretic probability

Measure-theoretic probability Measure-theoretic probability Koltay L. VEGTMAM144B November 28, 2012 (VEGTMAM144B) Measure-theoretic probability November 28, 2012 1 / 27 The probability space De nition The (Ω, A, P) measure space is

More information

Solving Systems of Linear Equations. Classification by Number of Solutions

Solving Systems of Linear Equations. Classification by Number of Solutions Solving Systems of Linear Equations Case 1: One Solution Case : No Solution Case 3: Infinite Solutions Independent System Inconsistent System Dependent System x = 4 y = Classification by Number of Solutions

More information

Derangements with an additional restriction (and zigzags)

Derangements with an additional restriction (and zigzags) Derangements with an additional restriction (and zigzags) István Mező Nanjing University of Information Science and Technology 2017. 05. 27. This talk is about a class of generalized derangement numbers,

More information