AC MGFs Q&A 1: 0 bits in 00-free bit strings Q. What is the - - PowerPoint PPT Presentation

ac mgfs q a 1 0 bits in 00 free bit strings
SMART_READER_LITE
LIVE PREVIEW

AC MGFs Q&A 1: 0 bits in 00-free bit strings Q. What is the - - PowerPoint PPT Presentation

AC MGFs Q&A 1: 0 bits in 00-free bit strings Q. What is the average number of 0 bits in a random bit string of length n containing no 00? 0 1 a 0 = 0 a 1 = 1/2 1 AC MGFs Q&A 1: 0 bits in 00-free bit strings Q. What is the average number


slide-1
SLIDE 1

AC MGFs Q&A 1: 0 bits in 00-free bit strings

1

  • Q. What is the average number of 0 bits in a random bit string of length n containing no 00?

a0 = 0 a1 = 1/2 1

slide-2
SLIDE 2

AC MGFs Q&A 1: 0 bits in 00-free bit strings

1

  • Q. What is the average number of 0 bits in a random bit string of length n containing no 00?

a0 = 0 a1 = 1/2 a2 = 2/3 0 1 1 0 1 1 1

slide-3
SLIDE 3

AC MGFs Q&A 1: 0 bits in 00-free bit strings

1

  • Q. What is the average number of 0 bits in a random bit string of length n containing no 00?

a0 = 0 a1 = 1/2 a3 = 1 0 1 1 0 1 0 1 0 1 1 1 0 1 1 1 a2 = 2/3 0 1 1 0 1 1 1

slide-4
SLIDE 4

AC MGFs Q&A 1: 0 bits in 00-free bit strings

1

  • Q. What is the average number of 0 bits in a random bit string of length n containing no 00?

a0 = 0 a1 = 1/2 a3 = 1 0 1 1 0 1 0 1 0 1 1 1 0 1 1 1 a4 = 10/8 0 1 0 1 0 1 1 0 0 1 1 1 1 0 1 1 1 0 1 0 1 1 0 1 1 1 1 0 1 1 1 1 a2 = 2/3 0 1 1 0 1 1 1

slide-5
SLIDE 5

AC MGFs Q&A 1: 0 bits in 00-free bit strings

1

  • Q. What is the average number of 0 bits in a random bit string of length n containing no 00?

a0 = 0 a1 = 1/2 a3 = 1 0 1 1 0 1 0 1 0 1 1 1 0 1 1 1 a4 = 10/8 0 1 0 1 0 1 1 0 0 1 1 1 1 0 1 1 1 0 1 0 1 1 0 1 1 1 1 0 1 1 1 1 a2 = 2/3 0 1 1 0 1 1 1 a5 =20/13 0 1 0 1 1 0 1 0 1 0 0 1 1 0 1 0 1 1 1 0 0 1 1 1 1 1 0 1 0 1 1 0 1 1 0 1 0 1 1 1 1 1 0 1 1 1 1 0 1 0 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1

slide-6
SLIDE 6

AC MGFs Q&A 1: 0 bits in 00-free bit strings

2

construction OGF equation OGF enumeration

  • Q. Recalling the derivation at left, fill in the boxes at right to prove that the

average number of 0 bits in a random bit string of length n containing no 00 is

BGF equation BGF cumulated cost solution

B = E + Z0 + (Z1 + Z0 × Z1) × B B(z) = 1 + z + (z + z2)B(z) B(z, u) = B(z) = 1 + z 1 − z − z2 [zn]Bu(z, 1) = [zn] f(z) (1 − z/ρ)α ∼ f(ρ) Γ(α)ρ−nnα−1 [zn]B(z) ∼ 1 + 1/φ 1 − ˆ φ/φ φn = φn+2 √ 5 ∼ n φ √ 5 ∼ n φ √ 5 [zn]Bu(z, 1) [zn]B(z)

slide-7
SLIDE 7

AC MGFs Q&A 1: 0 bits in 00-free bit strings

2

construction OGF equation OGF enumeration

  • Q. Recalling the derivation at left, fill in the boxes at right to prove that the

average number of 0 bits in a random bit string of length n containing no 00 is

BGF equation BGF cumulated cost solution

B = E + Z0 + (Z1 + Z0 × Z1) × B B(z) = 1 + z + (z + z2)B(z) B(z, u) = 1 + uz + (z + uz2)B(z, u) B(z) = 1 + z 1 − z − z2 [zn]Bu(z, 1) = [zn] f(z) (1 − z/ρ)α ∼ f(ρ) Γ(α)ρ−nnα−1 [zn]B(z) ∼ 1 + 1/φ 1 − ˆ φ/φ φn = φn+2 √ 5 ∼ n φ √ 5 ∼ n φ √ 5 [zn]Bu(z, 1) [zn]B(z)

slide-8
SLIDE 8

AC MGFs Q&A 1: 0 bits in 00-free bit strings

2

construction OGF equation OGF enumeration

  • Q. Recalling the derivation at left, fill in the boxes at right to prove that the

average number of 0 bits in a random bit string of length n containing no 00 is

BGF equation BGF cumulated cost solution

B = E + Z0 + (Z1 + Z0 × Z1) × B B(z) = 1 + z + (z + z2)B(z) B(z, u) = 1 + uz + (z + uz2)B(z, u) B(z) = 1 + z 1 − z − z2 B(z, u) = 1 + uz 1 − z − uz2 [zn]Bu(z, 1) = [zn] f(z) (1 − z/ρ)α ∼ f(ρ) Γ(α)ρ−nnα−1 [zn]B(z) ∼ 1 + 1/φ 1 − ˆ φ/φ φn = φn+2 √ 5 ∼ n φ √ 5 ∼ n φ √ 5 [zn]Bu(z, 1) [zn]B(z)

slide-9
SLIDE 9

AC MGFs Q&A 1: 0 bits in 00-free bit strings

2

construction OGF equation OGF enumeration

  • Q. Recalling the derivation at left, fill in the boxes at right to prove that the

average number of 0 bits in a random bit string of length n containing no 00 is

BGF equation BGF cumulated cost solution

B = E + Z0 + (Z1 + Z0 × Z1) × B B(z) = 1 + z + (z + z2)B(z) B(z, u) = 1 + uz + (z + uz2)B(z, u) B(z) = 1 + z 1 − z − z2 B(z, u) = 1 + uz 1 − z − uz2 [zn]Bu(z, 1) = [zn] f(z) (1 − z/ρ)α ∼ f(ρ) Γ(α)ρ−nnα−1 [zn]B(z) ∼ 1 + 1/φ 1 − ˆ φ/φ φn = φn+2 √ 5 [zn] z (1 − z − z2)2 ∼ n φ √ 5 ∼ n φ √ 5 [zn]Bu(z, 1) [zn]B(z)

slide-10
SLIDE 10

AC MGFs Q&A 1: 0 bits in 00-free bit strings

2

construction OGF equation OGF enumeration

  • Q. Recalling the derivation at left, fill in the boxes at right to prove that the

average number of 0 bits in a random bit string of length n containing no 00 is

BGF equation BGF cumulated cost solution

B = E + Z0 + (Z1 + Z0 × Z1) × B B(z) = 1 + z + (z + z2)B(z) B(z, u) = 1 + uz + (z + uz2)B(z, u) B(z) = 1 + z 1 − z − z2 B(z, u) = 1 + uz 1 − z − uz2 [zn]Bu(z, 1) = [zn] f(z) (1 − z/ρ)α ∼ f(ρ) Γ(α)ρ−nnα−1 [zn]B(z) ∼ 1 + 1/φ 1 − ˆ φ/φ φn = φn+2 √ 5 ∼ 1/φ (1 − ˆ φ/φ)2 nφn = nφn+1 5 [zn] z (1 − z − z2)2 ∼ n φ √ 5 ∼ n φ √ 5 [zn]Bu(z, 1) [zn]B(z)

slide-11
SLIDE 11

AC MGFs Q&A 2

3

  • Q. Which of the following is true of the average number of 0s in a random bit string
  • f length n excluding any fixed pattern p, as n grows?

Approaches 0 Approaches 1 Approaches cn for some fixed constant c Has periodic behavior Asymptotic order of growth depends on the pattern

slide-12
SLIDE 12

AC MGFs Q&A 2

3

  • Q. Which of the following is true of the average number of 0s in a random bit string
  • f length n excluding any fixed pattern p, as n grows?

Approaches 0 Approaches 1 Approaches cn for some fixed constant c Has periodic behavior Asymptotic order of growth depends on the pattern

F

slide-13
SLIDE 13

AC MGFs Q&A 2

3

  • Q. Which of the following is true of the average number of 0s in a random bit string
  • f length n excluding any fixed pattern p, as n grows?

Approaches 0 Approaches 1 Approaches cn for some fixed constant c Has periodic behavior Asymptotic order of growth depends on the pattern

F F

slide-14
SLIDE 14

AC MGFs Q&A 2

3

  • Q. Which of the following is true of the average number of 0s in a random bit string
  • f length n excluding any fixed pattern p, as n grows?

Approaches 0 Approaches 1 Approaches cn for some fixed constant c Has periodic behavior Asymptotic order of growth depends on the pattern

F F F

slide-15
SLIDE 15

AC MGFs Q&A 2

3

  • Q. Which of the following is true of the average number of 0s in a random bit string
  • f length n excluding any fixed pattern p, as n grows?

Approaches 0 Approaches 1 Approaches cn for some fixed constant c Has periodic behavior Asymptotic order of growth depends on the pattern

T F F F

slide-16
SLIDE 16

AC MGFs Q&A 2

3

  • Q. Which of the following is true of the average number of 0s in a random bit string
  • f length n excluding any fixed pattern p, as n grows?

Approaches 0 Approaches 1 Approaches cn for some fixed constant c Has periodic behavior Asymptotic order of growth depends on the pattern

T F F F F