When an index entry refers to a page containing a relevant exercise, the answer to that exercise (in Appendix A ) might divulge further information; an answer page is not indexed here unless it refers to a topic that isn’t included in the statement of the relevant exercise. Some notations not indexed here (like x n , Image x Image , and Image ) are listed on pages x and xi , just before the table of contents.

( Graffiti have been indexed too.)

0 0 , 162

Image (≈ 1.41421 ), 100

Image (≈ 1.73205 ), 378

ℑ: imaginary part, 64

Image : logarithmico-exponential functions, 442 – 443

ℜ: real part, 64 , 212 , 451

γ (≈ 0.57722 ), see Euler’s constant

Γ , see Gamma function

δ , 47 – 56

Δ : difference operator, 47 – 55 , 241 , 470 – 471

Image p ( n ) : largest power of p dividing n , 112 – 114 , 146

ζ , see zeta function

ϑ, 219 – 221 , 310 , 347

Θ : Big Theta notation, 448

κ m , see cumulants

μ , see Möbius function

ν , see nu function

π (≈ 3.14159 ), 26 , 70 , 146 , 244 , 485 , 564 , 596

π ( x ) , see pi function

σ : standard deviation, 388 ; see also Stirling’s constant

σ n ( x ) , see Stirling polynomials

ϕ (≈ 1.61803 ): golden ratio, 70 , 97 , 299 – 301 , 310 , 553

φ , see phi function

Φ : sum of φ , 138 – 139 , 462 – 463

Ω : Big Omega notation, 448

∑-notation, 22 – 25 , 245

∏-notation, 64 , 106

∧-notation, 65

⇔: if and only if, 68

⇒: implies, 71

\: divides, 102

\\: exactly divides, 146

⊥: is relatively prime to, 115

≺ : grows slower than, 440 – 443

≻ : grows faster than, 440 – 443

≍ : grows as fast as, 442 – 443

∽ : is asymptotic to, 8 , 110 , 439 – 443 , 448 – 449

≈: approximates, 23

≡: is congruent to, 123 – 126

#: cardinality, 39

! : factorial, 111 – 115

¡: subfactorial, 194 – 200

.. : interval notation, 73 – 74

... : ellipsis, 21 , 50 , 108 , ...

Aaronson, Bette Jane, ix

Abel, Niels Henrik, 604 , 634

Abramowitz, Milton, 42 , 604

absolute convergence, 60 – 62 , 64

absolute error, 452 , 455

absolute value of complex number, 64

absorption identities, 157 – 158 , 261

Acton, John Emerich Edward Dalberg, Baron, 66

Adams, William Wells, 604 , 635

Addison–Wesley, ix

addition formula for Image , 158 – 159

analog for Image , 268

analogs for Image and Image , 259 , 261

dual, 530

Aho, Alfred Vaino, 604 , 633

Ahrens, Wilhelm Ernst Martin Georg, 8 , 604

Akhiezer, Naum Il’ich, 604

Alfred [Brousseau], Brother Ulbertus, 607 , 633

algebraic integers, 106 , 147

algorithms,

analysis of, 138 , 413 – 426

divide and conquer, 79

Euclid’s, 103 – 104 , 123 , 303 – 304

Fibonacci’s, 95 , 101

Gosper’s, 224 – 227

Gosper–Zeilberger, 229 – 241 , 254 – 255 , 319 , 547

greedy, 101 , 295

self-certifying, 104

Alice, 31 , 408 – 410 , 427 , 430 , 607

Allardice, Robert Edgar, 2 , 604

ambiguous notation, 245

American Mathematical Society, viii

AMS Euler, ix , 657

analysis of algorithms, 138 , 413 – 426

analytic functions, 196

ancestor, 117 , 291

André, Antoine Désiré, 604 , 635

Andrews, George W. Eyre, 215 , 330 , 530 , 575 , 605 , 634 , 635

answers, notes on, viii , 497 , 637

anti-derivative operator, 48 , 470 – 471

anti-difference operator, 48 , 54 , 470 – 471

Apéry, Roger, 238 , 605 , 630 , 634

numbers, 238 – 239 , 255 , 615

approximation, see asymptotics

of sums by integrals, 45 , 276 – 277 , 469 – 475

Archibald, Raymond Clare, 608

Archimedes of Syracuse, 6

argument of hypergeometric, 205

arithmetic progression, 30 , 376

floored, 89 – 94

sum of, 6 , 26 , 30 – 31

Armageddon, 85

Armstrong, Daniel Louis (= Satchmo), 80

art and science, 234

ascents, 267 – 268 , 270

Askey, Richard Allen, 634

associative law, 561

asymptotics, 439 – 496

from convergent series, 451

of Bernoulli numbers, 286 , 452

of binomial coefficients, 248 , 251 , 495 , 598

of discrepancies, 492 , 495

of factorials, 112 , 452 , 481 – 482 , 491

of harmonic numbers, 276 – 278 , 452 , 480 – 481 , 491

of hashing, 426

of n th prime, 110 – 111 , 456 – 457 , 490

of Stirling numbers, 495 , 602

of sums, using Euler’s summation formula, 469 – 489

of sums, using tail-exchange, 466 – 469 , 486 – 489

of sums of powers, 491

of wheel winners, 76 , 453 – 454

table of expansions, 452

usefulness of, 76 , 439

Atkinson, Michael David, 605 , 633 , 635

Austin, Alan Keith, 607

automaton, 405

automorphic numbers, 520

average, 384

of a reciprocal, 432

variance, 423 – 425

B n , see Bernoulli numbers

Bachmann, Paul Gustav Heinrich, 443 , 462 , 605

Bailey, Wilfrid Norman, 223 , 548 , 605 , 634

Balasubramanian, Ramachandran, 525 , 605 .

Ball, Walter William Rouse, 605 , 633

ballot problem, 362

Banach, Stefan, 433

Barlow, Peter, 605 , 634

Barton, David Elliott, 602 , 609

base term, 240

baseball, 73 , 148 , 195 , 519 , 622 , 648 , 653

BASIC, 173 , 446

basic fractions, 134 , 138

basis of induction, 3 , 10 – 11 , 320 – 321

Bateman, Harry, 626

Baum, Lyman Frank, 581

Beatty, Samuel, 605 , 633

bee trees, 291

Beeton, Barbara Ann Neuhaus Friend Smith, viii

Bell, Eric Temple, 332 , 606 , 635

numbers, 373 , 493 , 603

Bender, Edward Anton, 606 , 636

Bernoulli, Daniel, 299

Bernoulli, Jakob (= Jacobi = Jacques = James), 283 , 470 , 606

numbers, see Bernoulli numbers

polynomials, 367 – 368 , 470 – 475

polynomials, graphs of, 473

trials, 402 ; see also coins , flipping

Bernoulli, Johann (= Jean), 622

Bernoulli numbers, 283 – 290 , 432

asymptotics of, 286 , 452

calculation of, 288 , 620

denominators of, 315 , 551 , 574

generalized, see Stirling polynomials

generating function for, 285 , 351 , 365

numerators of, 555

relation to tangent numbers, 287

table of, 284 , 620

Bernshte Image n (= Bernstein), Serge Image Natanovich, 636

Bertrand, Joseph Louis François, 145 , 606 , 633

postulate, 145 , 500 , 550

Bessel, Friedrich Wilhelm, functions, 206 , 527

Beyer, William Hyman, 606

biased coin, 401

bicycles, 260 , 500

Bieberbach, Ludwig, 617

Bienaymé, Irénée Jules, 606

Big Ell notation, 444

Big Oh notation, 76 , 443 – 449

Big Omega notation, 448

Big Theta notation, 448

bijection, 39

Bill, 408 – 410 , 427 , 430

binary logarithm, 70 , 449

binary notation (radix 2 ), 11 – 13 , 15 – 16 , 70 , 113 – 114

binary partitions, 377

binary search, 121 – 123 , 183

binary trees, 117

Binet, Jacques Philippe Marie, 299 , 303 , 606 , 633

binomial coefficients, 153 – 242

addition formula, 158 – 159

asymptotics of, 248 , 251 , 495 , 598

combinatorial interpretation, 153 , 158 , 160 , 169 – 170

definition, 154 , 211

dual, 530

fractional, 250

generalized, 211 , 318 , 530

indices of, 154

middle, 187 , 255 – 256 , 495

reciprocal of, 188 – 189 , 246 , 254

top ten identities of, 174

wraparound, 250 (exercise 75), 315

binomial convolution, 365 , 367

binomial distribution, 401 – 402 , 415 , 428 , 432

negative, 402 – 403 , 428

binomial series, generalized, 200 – 204 , 243 , 252 , 363

binomial theorem, 162 – 163

as hypergeometric series, 206 , 221

discovered mechanically, 230 – 233

for factorial powers, 245

special cases, 163 , 199

Blom, Carl Gunnar, 606 , 636

bloopergeometric series, 243

Boas, Ralph Philip, Jr., viii , 600 , 606 , 636

Boggs, Wade Anthony, 195

Bohl, Piers Paul Felix (= Bol’, Pirs Georgievich), 87 , 606

Böhmer, Paul Eugen, 604

Bois-Reymond, Paul David Gustav du, 440 , 610 , 617

Boncompagni, Prince Baldassarre, 613

bootstrapping, 463 – 466

to estimate n th prime, 456 – 457

Borchardt, Carl Wilhelm, 617

Borel, Félix Édouard Justin Émile, 606 , 636

Borwein, Jonathan Michael, 606 , 635

Borwein, Peter Benjamin, 606 , 635

bound variables, 22

boundary conditions on sums,

can be difficult, 75 , 86

made easier, 24 – 25 , 159

Bousch, Thierry Nicolas Louis, 501

bowling, 6

box principle, 95 , 130 , 512

Boyd, David William, 564

bracket notation,

for coefficients, 197 , 331

for true/false values, 24 – 25

Brahma, Tower of, 1 , 4 , 278

Branges de Bourcia, Louis de, 617

Brent, Richard Peirce, 306 , 525 , 564 , 606

bricks, 313 , 374

Brillhart, John David, 607 , 633

Brocot, Achille, 116 , 607

Broder, Andrei Zary, ix , 632

Brooke, Maxey, 607 , 635

Brousseau, Brother Alfred, 607 , 633

Brown, Mark Robbin, 632

Brown, Morton, 501 , 607

Brown, Roy Howard, ix

Brown, Thomas Craig, 607 , 633

Brown, Trivial, 607

Brown, William Gordon, 607

Brown University, ix

Browning, Elizabeth Barrett, 320

Bruijn, Nicolaas Govert de, 444 , 447 , 500 , 609 , 635 , 636

cycle, 500

bubblesort, 448

Buckholtz, Thomas Joel, 620

Bulwer-Lytton, Edward George Earle Lytton, Baron, v

Burma-Shave, 541

Burr, Stefan Andrus, 607 , 635

calculators, 67 , 77 , 459

failure of, 344

calculus, vi , 33

finite and infinite, 47 – 56

candy, 36

Canfield, Earl Rodney, 602 , 607 , 636

cards,

shuffling, 437

stacking, 273 – 274 , 278 , 309

Carlitz, Leonard, 607 , 635

Carroll, Lewis (= Dodgson, Rev. Charles Lutwidge), 31 , 293 , 607 , 608 , 630

carries,

across the decimal point, 70

in divisibility of Image , 245 , 536

in Fibonacci number system, 297 , 561

Cassini, Gian (= Giovanni = Jean) Domenico (= Dominique), 292 , 607

identity, 292 – 293 , 300

identity, converse, 314

identity, generalized, 303 , 310

Catalan, Eugène Charles, 203 , 361 , 607

Catalan numbers, 203 , 257

combinatorial interpretations, 358 – 360 , 565 , 568

generalized, 361

in sums, 181 , 203 , 317

table of, 203

Cauchy, Augustin Louis, 607 , 633

Č ech, Eduard, vi

ceiling function, 67 – 69

converted to floor, 68 , 96

graph of, 68

center of gravity, 273 – 274 , 309

certificate of correctness, 104

Chace, Arnold Buffum, 608 , 633

Chaimovich, Mark, 608

chain rule, 54 , 483

change, 327 – 330 , 374

large amounts of, 344 – 346 , 492

changing the index of summation, 30 – 31 , 39

changing the tails of a sum, 466 – 469 , 486 – 489

cheating, viii , 195 , 388 , 401

not, 158 , 323

Chebyshev, Pafnuti Image L’vovich, 38 , 145 , 608 , 633

inequality, 390 – 391 , 428 , 430

monotonic inequalities, 38 , 576

cheese slicing, 19

Chen, Pang-Chieh, 632

Chinese Remainder Theorem, 126 , 146

Chu Shih-Chieh (= Zh ū Shìjié), 169

Chung, Fan-Rong King, ix , 608 , 635

Clausen, Thomas, 608 , 634 , 635

product identities, 253

clearly, clarified, 417 – 418 , 581

clichés, 166 , 324 , 357

closed form, 3 , 7 , 321 , 331

for generating functions, 317

not, 108 , 573

pretty good, 346

closed interval, 73 – 74

Cobb, Tyrus Raymond, 195

coefficient extraction, 197 , 331

Coffin, Joseph George, 273 , 608

Cohen, Henri José, 238

coins, 327 – 330

biased, 401

fair, 401 , 430

flipping, 401 – 410 , 430 – 432 , 437 – 438

spinning, 401

Collingwood, Stuart Dodgson, 608

Collins, John, 624

Colombo, Cristoforo (= Columbus, Christopher), 74

coloring, 496

Columbia University, ix

combinations, 153

combinatorial number system, 245

common logarithm, 449

commutative law, 30 , 61 , 64

failure of, 322 , 502 , 551

relaxed, 31

complete graph, 368

complex factorial powers, 211

complex numbers, 64

roots of unity, 149 , 204 , 375 , 553 , 574 , 598

composite numbers, 105 , 518

composition of generating functions, 428

computer algebra, 42 , 254 , 501 , 539

Comtet, Louis, 609 , 636

Concrete Math Club, 74 , 453

concrete mathematics, defined, vi

conditional convergence, 59

conditional probability, 416 – 419 , 424 – 425

confluent hypergeometric series, 206 , 245

congruences, 123 – 126

Connection Machine, 131

contiguous hypergeometrics, 529

continuants, 301 – 309 , 501

and matrices, 318 – 319

Euler’s identity for, 303 , 312

zero parameters in, 314

continued fractions, 301 , 304 – 309 , 319

large partial quotients of, 553 , 563 , 564 , 602

convergence,

absolute, 60 – 62 , 64

conditional, 59

of power series, 206 , 331 – 332 , 348 , 451 , 532

convex regions, 5 , 20 , 497

convolution, 197 , 246 , 333 , 353 – 364

binomial, 365 , 367

identities for, 202 , 272 , 373

polynomials, 373

Stirling, 272 , 290

Vandermonde, see Vandermonde convolution

Conway, John Horton, 410 , 609

cotangent function, 286 , 317

counting,

combinations, 153

cycle arrangements, 259 – 262

derangements, 193 – 196 , 199 – 200

integers in intervals, 73 – 74

necklaces, 139 – 141

parenthesized formulas, 357 – 359

permutations, 111

permutations by ascents, 267 – 268

permutations by cycles, 262

set partitions, 258 – 259

spanning trees, 348 – 350 , 356 , 368 – 369 , 374

with generating functions, 320 – 330

coupon collecting, 583

Cover, Thomas Merrill, 636

Coxeter, Harold Scott MacDonald, 605

Cramér, Carl Harald, 525 , 609 , 634

Cray X-MP, 109

Crelle, August Leopold, 609 , 633

cribbage, 65

Crispin, Mark Reed, 628

Crowe, Donald Warren, 609 , 633

crudification, 447

Csirik, János András, 590 , 609

cubes, sum of consecutive, 51 , 63 , 283 , 289 , 367

cumulants, 397 – 401

infinite, 576

of binomial distribution, 432

of discrete distribution, 438

of Poisson distribution, 428 – 429

third and fourth, 429 , 579 , 589

CUNY (= City University of New York), ix

Curtiss, David Raymond, 609 , 634

cycles,

de Bruijn, 500

of beads, 139 – 140

of permutations, 259 – 262

cyclic shift, 12 , 359 , 362

cyclotomic polynomials, 149

D , see derivative operator

Dating Game, 506

David, Florence Nightingale, 602 , 609

Davis, Philip Jacob, 609

Davison, John Leslie, 307 , 604 , 609 , 635

de Branges de Bourcia, Louis, 617

de Bruijn, Nicolaas Govert, 444 , 447 , 500 , 609 , 635 , 636

cycle, 500

de Finetti, Bruno, 24 , 613

de Lagny, Thomas Fantet, 304 , 621

de Moivre, Abraham, 297 , 481 , 609

Dedekind, Julius Wilhelm Richard, 136 – 137 , 609

definite sums, analogous to definite integrals, 49 – 50

deg, 227 , 232

degenerate hypergeometric series, 209 – 210 , 216 , 222 , 247

derangements, 194 – 196 , 250

generating function, 199 – 200

derivative operator, 47 – 49

converting between D and Δ , 470 – 471

converting between D and Image , 310

with generating functions, 33 , 333 , 364 – 365

with hypergeometric series, 219 – 221

descents, see ascents

dgf: Dirichlet generating function, 370

dice, 381 – 384

fair, 382 , 417 , 429

loaded, 382 , 429 , 431

nonstandard, 431

pgf for, 399 – 400

probability of doubles, 427

supposedly fair, 392

Dickson, Leonard Eugene, 510 , 609

Dieudonné, Jean Alexandre, 523

difference operator, 47 – 55 , 241

converting between D and Δ , 470 – 471

n th difference, 187 – 192 , 280 – 281

n th difference of product, 571

differentiably finite power series, 374 , 380

differential operators, see derivative operator , theta operator

difficulty measure for summation, 181

Dijkstra, Edsger Wybe, 173 , 609 , 635

dimers and dimes, 320 , see dominoes and change

diphages, 434 , 438

Dirichlet, Johann Peter Gustav Lejeune, 370 , 610 , 633

box principle, 95 , 130 , 512

generating functions, 370 – 371 , 373 , 432 , 451

probability generating functions, 432

discrepancy, 88 – 89 , 97

and continued fractions, 319 , 492 , 602

asymptotics of, 492 , 495

discrete probability, 381 – 438

defined, 381

distribution,

of fractional parts, 87

of primes, 111

of probabilities, see probability distributions

of things into groups, 83 – 85

distributive law, 30 , 35 , 60 , 64

for gcd and lcm, 145

for mod, 83

divergent sums, 57 , 60

considered useful, 346 – 348 , 451

illegitimate, 504 , 532

divide and conquer, 79

divides exactly, 146

in binomial coefficients, 245

in factorials, 112 – 114 , 146

divisibility, 102 – 105

by 3 , 147

of polynomials, 225

Dixon, Alfred Cardew, 610 , 634

formula, 214

DNA, Martian, 377

Dodgson, Charles Lutwidge, see Carroll

domino tilings, 320 – 327 , 371 , 379

ordered pairs of, 375

Dorothy Gale, 581

double generating functions, see super generating functions

double sums, 34 – 41 , 246 , 249

considered useful, 46 , 183 – 185

faulty use of, 63 , 65

infinite, 61

over divisors, 105

telescoping, 255

doubloons, 436 – 437

doubly exponential recurrences, 97 , 100 , 101 , 109

doubly infinite sums, 59 , 98 , 482 – 483

Dougall, John, 171 , 610

downward generalization, 2 , 95 , 320 – 321

Doyle, Arthur Ignatius Conan, 162 , 228 – 229 , 405 , 610

drones, 291

Drysdale, Robert Lewis (Scot), III, 632

du Bois-Reymond, Paul David Gustav, 440 , 610 , 617

duality, 69

between Image and Image , 530

between factorial and Gamma functions, 211

between floors and ceilings, 68 – 69 , 96

between gcd and lcm, 107

between rising and falling powers, 63

between Stirling numbers of different kinds, 267

Dubner, Harvey, 610 , 631 , 633

Dudeney, Henry Ernest, 610 , 633

Dunkel, Otto, 614 , 633

Dunn, Angela Fox, 628 , 635

Dunnington, Guy Waldo, 610

duplication formulas, 186 , 244

Dupré, Lyn Oppenheim, ix

Durst, Lincoln Kearney, viii

Dyson, Freeman John, 172 , 239 , 610 , 615

e (≈ 2.718281828459045 ),

as canonical constant, 70 , 596

representations of, 122 , 150

e n , see Euclid numbers

E : expected value, 385 – 386

E : shift operator, 55 , 188 , 191 , 407 – 471

E n , see Euler numbers

Edwards, Anthony William Fairbank, 610

eeny-meeny-miny-mo, see Josephus problem

efficiency, different notions of, 24 , 133

egf: exponential generating function, 364

eggs, 158

Egyptian mathematics, 95 , 150

bibliography of, 608

Einstein, Albert, 72 , 307

Eisele, Carolyn, 625

Eisenstein, Ferdinand Gotthold Max, 202 , 610

Ekhad, Shalosh B, 546

elementary events, 381 – 382

Elkies, Noam David, 131 , 610

ellipsis (···), 21

advantage of, 21 , 25 , 50

disadvantage of, 25

elimination of, 108

empirical estimates, 391 – 393 , 427

empty case,

for spanning trees, 349 , 565

for Stirling numbers, 258

for tilings, 320 – 321

for Tower of Hanoi, 2

empty product, 48 , 106 , 111

empty sum, 24 , 48

entier function, see floor function

equality, one-way, 446 – 447 , 489 – 490

equivalence relation, 124

Eratosthenes, sieve of, 111

Erdélyi, Arthur, 629 , 636

Erd ő s, Pál (= Paul), 418 , 525 , 548 , 575 , 610 – 611 , 634 , 636

error function, 166

errors, absolute versus relative, 452 , 455

errors, locating our own, 183

Eswarathasan, Arulappah, 611 , 635

Euclid (= Image ), 107 – 108 , 147 , 611

algorithm, 103 – 104 , 123 , 303 – 304

numbers, 108 – 109 , 145 , 147 , 150 , 151

Euler, Leonhard, i , vii , ix , 48 , 122 , 132 – 134 , 202 , 205 , 207 , 210 , 267 , 277 , 278 , 286 , 301 – 303 , 469 , 471 , 513 , 529 , 551 , 575 , 603 , 605 , 609 , 611 – 613 , 629 , 630 , 633 – 636

constant (≈ 0.57722 ), 278 , 306 – 307 , 316 , 319 , 481 , 596

disproved conjecture, 131

identity for continuants, 303 , 312

identity for hypergeometrics, 244

numbers, 559 , 570 , 620 ; see also Eulerian numbers

polynomials, 574

pronunciation of name, 147

summation formula, 469 – 475

theorem, 133 , 142 , 147

totient function, see phi function

triangle, 268 , 316

Eulerian numbers, 267 – 271 , 310 , 316 , 378 , 574

combinatorial interpretations, 267 – 268 , 557

generalized, 313

generating function for, 351

second-order, 270 – 271

table of, 268

event, 382

eventually positive function, 442

exact cover, 376

exactly divides, 146

in binomial coefficients, 245

in factorials, 112 – 114 , 146

excedances, 316

exercises, levels of, viii , 72 – 73 , 95 , 511

exp: exponential function, 455

expectation, see expected value

expected value, 385 – 387

using a pgf, 395

exponential function, discrete analog of, 54

exponential generating functions, 364 – 369 , 421 – 422

exponential series, generalized, 200 – 202 , 242 , 364 , 369

exponents, laws of, 52 , 63

F , see hypergeometric series

F n , see Fibonacci numbers

factorial expansion of binomial coefficients, 156 , 211

factorial function, 111 – 115 , 346 – 348

approximation to, see Stirling’s approximation

duplication formula, 244

generalized to nonintegers, 192 , 210 – 211 , 213 – 214 , 316

factorial powers, see falling factorial powers , rising factorial powers

factorization into primes, 106 – 107 , 110

factorization of summation conditions, 36

fair coins, 401 , 430

fair dice, 382 , 386 , 392 , 417 , 429

falling factorial powers, 47

binomial theorem for, 245

complex, 211

difference of, 48 , 53 , 188

negative, 52 , 63 , 188

related to ordinary powers, 51 , 262 – 263 , 598

related to rising powers, 63 , 312

summation of, 50 – 53

fans, ix , 193 , 348

Farey, John, series, 118 – 119 , 617

consecutive elements of, 118 – 119 , 150

distribution of, 152

enumeration of, 134 , 137 – 139 , 462 – 463

Fasenmyer, Mary Celine, 230 , 631

Faulhaber, Johann, 288 , 613 , 620

Feder Bermann, Tomás, 635

Feigenbaum, Joan, 632

Feller, Willibald (= Vilim = Willy = William) Srećko, 381 , 613 , 636

Fermat, Pierre de, 130 , 131 , 613

numbers, 131 – 132 , 145 , 525

Fermat’s Last Theorem, 130 – 131 , 150 , 524 , 555

Fermat’s theorem (= Fermat’s Little Theorem), 131 – 133 , 141 – 143 , 149

converse of, 132 , 148

Fibonacci, Leonardo, of Pisa (= Leonardo filio Bonacii Pisano), 95 , 292 , 549 , 613 , 633 , 634

addition, 296 – 297 , 318

algorithm, 95 , 101

factorial, 492

multiplication, 561

number system, 296 – 297 , 301 , 307 , 310 , 318

odd and even, 307 – 308

Fibonacci numbers, 290 – 301 , 575

and continuants, 302

and sunflowers, 291

closed forms for, 299 – 300 , 331

combinatorial interpretations of, 291 – 292 , 302 , 321 , 549

egf for, 570

ordinary generating functions for, 297 – 300 , 337 – 340 , 351

second-order, 375

table of, 290 , 293

Fibonomial coefficients, 318 , 556

Fine, Henry Burchard, 625

Fine, Nathan Jacob, 603

Finetti, Bruno de, 24 , 613

finite calculus, 47 – 56

finite state language, 405

Finkel, Raphael Ari, 628

Fisher, Michael Ellis, 613 , 636

Fisher, Ronald Aylmer, 613 , 636

fixed points, 12 , 393 – 394

pgf for, 400 – 401 , 428

Flajolet, Philippe Patrick Michel, 564

flipping coins, 401 – 410 , 430 – 432 , 437 – 438

floor function, 67 – 69

converted to ceiling, 68 , 96

Floyd, Robert W, 635

food, see candy , cheese , eggs , pizza , sherry

football, 182

football victory problem, 193 – 196 , 199 – 200 , 428

generalized, 429

mean and variance, 393 – 394 , 400 – 401

Forcadel, Pierre, 613 , 634

Ford, Kevin Barry, 525

formal power series, 206 , 331 , 348 , 532

FORTRAN, 446

Fourier, Jean Baptiste Joseph, 22 , 613

series, 495

fractional parts, 70

in Euler’s summation formula, 470

in polynomials, 100

related to mod, 83

uniformly distributed, 87

fractions, 116 – 123

basic, 134 , 138

continued, 301 , 304 – 309 , 319 , 564

partial, see partial fraction expansions

unit, 95 , 101 , 150

unreduced, 134 – 135 , 151

Fraenkel, Aviezri Siegmund, 515 , 563 , 613 – 614 , 633

Frame, James Sutherland, 614 , 633

Francesca, Piero della, 614 , 635

Franel, Jérome, 549 , 614

Fraser, Alexander Yule, 2 , 604

Frazer, William Donald, 614 , 634

Fredman, Michael Lawrence, 513 , 614

free variables, 22

Fre Image man, Grigori Image Abelevich, 608

friendly monster, 545

frisbees, 434 – 435 , 437

Frye, Roger Edward, 131

Fundamental Theorem of Algebra, 207

Fundamental Theorem of Arithmetic, 106 – 107

Fundamental Theorem of Calculus, 48

Fuss, Nikola Image Ivanovich, 361 , 614

Fuss–Catalan numbers, 361

Fuss, Paul Heinrich von (= Fuss, Pavel Nikolaeich), 611 – 612

Gale, Dorothy, 581

games, see bowling , cards , cribbage , dice , Penney ante , sports

Gamma function, 210 – 214 , 609

duplication formula for, 528

Stirling’s approximation for, 482

gaps between primes, 150 – 151 , 525

Gardner, Martin, 614 , 634 , 636

Garfunkel, Jack, 614 , 636

Gasper, George, Jr., 223 , 614

Gauß (= Gauss), Johann Friderich Carl (= Carl Friedrich), vii , 6 , 7 , 123 , 205 , 207 , 212 , 501 , 510 , 529 , 610 , 615 , 633 , 634

hypergeometric series, 207

identity for hypergeometrics, 222 , 247 , 539

trick, 6 , 30 , 112 , 313

gcd, 103 , see greatest common divisor

generalization, 11 , 13 , 16

downward, 2 , 95 , 320 – 321

generalized binomial coefficients, 211 , 318 , 530

generalized binomial series, 200 – 204 , 243 , 252 , 363

generalized exponential series, 200 – 202 , 242 , 364 , 369

generalized factorial function, 192 , 210 – 211 , 213 – 214 , 316

generalized harmonic numbers, 277 , 283 , 286 , 370

generalized Stirling numbers, 271 – 272 , 311 , 316 , 319 , 598

generating functions, 196 – 204 , 297 – 300 , 320 – 380

composition of, 428

Dirichlet, 370 – 371 , 373 , 432 , 451

exponential, 364 – 369 , 421 – 422

for Bernoulli numbers, 285 , 351 , 365

for convolutions, 197 , 333 – 334 , 353 – 364 , 369 , 421

for Eulerian numbers, 351 , 353

for Fibonacci numbers, 297 – 300 , 337 – 340 , 351 , 570

for harmonic numbers, 351 – 352

for minima, 377

for probabilities, 394 – 401

for simple sequences, 335

for special numbers, 351 – 353

for spectra, 307 , 319

for Stirling numbers, 351 – 352 , 559

Newtonian, 378

of generating functions, 351 , 353 , 421

super, 353 , 421

table of manipulations, 334

Genocchi, Angelo, 615

numbers, 551 , 574

geometric progression, 32

floored, 114

generalized, 205 – 206

sum of, 32 – 33 , 54

Gessel, Ira Martin, 270 , 615 , 634

Gibbs, Josiah Willard, 630

Gilbert, William Schwenck, 444

Ginsburg, Jekuthiel, 615

Glaisher, James Whitbread Lee, 615 , 636

constant (≈ 1.28243 ), 595

God, 1 , 307 , 521

Goldbach, Christian, 611 – 612

theorem, 66

golden ratio, 299 , see phi

golf, 431

Golomb, Solomon Wolf, 460 , 507 , 615 , 633

digit-count sum, 460 – 462 , 490 (exercise 22), 494

self-describing sequence, 66 , 495 , 630

Good, Irving John, 615 , 634

Goodfellow, Geoffrey Scott, 628

Gopinath, Bhaskarpillai, 501 , 621

Gordon, Peter Stuart, ix

Gosper, Ralph William, Jr., 224 , 564 , 615 , 634

algorithm, 224 – 227

algorithm, examples, 227 – 229 , 245 , 247 – 248 , 253 – 254 , 530 , 534

Gosper–Zeilberger algorithm, 229 – 241 , 319

examples, 254 – 255 , 547

summary, 233

goto, considered harmful, 173

Gottschalk, Walter Helbig, vii

graffiti, vii , ix , 59 , 637

Graham, Cheryl (= Ché), ix

Graham, Ronald Lewis, iii , iv , vi , ix , 102 , 506 , 605 , 608 – 609 , 611 , 615 – 616 , 629 , 632 , 633 , 635

Grandi, Luigi Guido, 58 , 616

Granville, Andrew James, 548

graph theory, see spanning trees

graphs of functions,

1/x , 276 – 277

e – x 2 /10 , 483

Bernoulli polynomials, 473

floor and ceiling, 68

hyperbola, 440

partial sums of a sequence, 359 – 360

Graves, William Henson, 632

gravity, center of, 273 – 274 , 309

Gray, Frank, code, 497

greatest common divisor, 92 , 103 – 104 , 107 , 145

greatest integer function, see floor function

greatest lower bound, 65

greed, 74 , 387 – 388 ; see also rewards

greedy algorithm, 101 , 295

Green, Ben Joseph, 525

Green, Research Sink, 607

Greene, Daniel Hill, 616

Greitzer, Samuel Louis, 616 , 633

Gross, Oliver Alfred, 616 , 635

Grünbaum, Branko, 498 , 616

Grundy, Patrick Michael, 627 , 633

Guibas, Leonidas Ioannis (= Leo John), 590 , 616 , 632 , 636

Guy, Richard Kenneth, 523 , 525 , 616

H n , see harmonic numbers

Haar, Alfréd, vii

Hacker’s Dictionary, 124 , 628

Haiman, Mark, 632

Håland Knutson, Inger Johanne, 616 , 633

half-open interval, 73 – 74

Hall, Marshall, Jr., 616

Halmos, Paul Richard, v , vi , 616 – 617

Halphen, Georges Henri, 305 , 617

halving, 79 , 186 – 187

Hamburger, Hans Ludwig, 591 , 617

Hammersley, John Michael, v , 617 , 636

Hanoi, Tower of, 1 – 4 , 26 – 27 , 109 , 146

variations on, 17 – 20

Hansen, Eldon Robert, 42 , 617

Hardy, Godfrey Harold, 111 , 442 – 443 , 617 , 633 , 636

harmonic numbers, 29 , 272 – 282

analogous to logarithms, 53

asymptotics of, 276 – 278 , 452 , 480 – 481 , 491

complex, 311 , 316

divisibility of, 311 , 314 , 319

generalized, 277 , 283 , 286 , 370

generating function for, 351 – 352

second-order, 277 , 280 , 311 , 550 – 552

sums of, 41 , 313 , 316 , 354 – 355

sums using summation by parts, 56 , 279 – 282 , 312

table of, 273

harmonic series, divergence of, 62 , 275 – 276

Harry, Matthew Arnold, double sum, 249

hashing, 411 – 426 , 430

hat-check problem, see football victory problem

hcf, 103 , see greatest common divisor

Heath-Brown, David Rodney, 629

Heiberg, Johan Ludvig, 611

Heisenberg, Werner Karl, 481

Helmbold, David Paul, 632

Henrici, Peter Karl Eugen, 332 , 545 , 602 , 617 , 634 , 636

Hermite, Charles, 538 , 555 , 617 , 629 , 634

herring, red, 497

Herstein, Israel Nathan, 8 , 618

hexagon property, 155 – 156 , 242 , 251

highest common factor, see greatest common divisor

Hillman, Abraham P, 618 , 634

Hoare, Charles Antony Richard, 28 , 73 , 618 , 620

Hofstadter, Douglas Richard, 633

Hoggatt, Verner Emil, Jr., 618 , 623 , 634

Holden, Edward Singleton, 625

Holmboe, Berndt Michael, 604

Holmes, Thomas Sherlock Scott, 162 , 228 – 229

holomorphic functions, 196

homogeneous linear equations, 239 , 543

horses, 17 , 18 , 468 , 503

Hsu, Lee-Tsch (= Lietz = Leetch) Ching-Siur, 618 , 634

Hurwitz, Adolf, 635

hyperbola, 440

hyperbolic functions, 285 – 286

hyperfactorial, 243 , 491

hypergeometric series, 204 – 223

confluent, 206 , 245

contiguous, 529

degenerate, 209 – 210 , 216 , 222 , 247

differential equation for, 219 – 221

Gaussian, 207

partial sums of, 165 – 166 , 223 – 230 , 245

transformations of, 216 – 223 , 247 , 253

hypergeometric terms, 224 , 243 , 245 , 527 , 575

similar, 541

i , 22

implicit recurrences, 136 – 139 , 193 – 195 , 284

indefinite summation, 48 – 49

by parts, 54 – 56

of binomial coefficients, 161 , 223 – 224 , 246 , 248 , 313

of hypergeometric terms, 224 – 229

independent random variables, 384 , 427

pairwise, 437

products of, 386

sums of, 386 , 396 – 398

index set, 22 , 30 , 61

index variable, 22 , 34 , 60

induction, 3 , 7 , 10 – 11 , 43

backwards, 18

basis of, 3 , 320 – 321

failure of, 17 , 575

important lesson about, 508 , 549

inductive leap, 4 , 43

infinite sums, 56 – 62 , 64

doubly, 59 , 98 , 482 – 483

information retrieval, 411 – 413

INT function, 67

insurance agents, 391

integer part, 70

integration, 45 – 46 , 48

by parts, 54 , 472

of generating functions, 333 , 365

interchanging the order of summation, 34 – 41 , 105 , 136 , 183 , 185 , 546

interpolation, 191 – 192

intervals, 73 – 74

invariant relation, 117

inverse modulo m , 125 , 132 , 147

inversion formulas, 193

for binomial coefficients, 192 – 196

for Stirling numbers, 264 , 310

for sums over divisors, 136 – 139

irrational numbers, 238

continued fraction representations, 306

rational approximations to, 122 – 123

spectra of, 77 , 96 , 514

Stern–Brocot representations, 122 – 123

Iverson, Kenneth Eugene, 24 , 67 , 618 , 633

convention, 24 – 25 , 31 , 34 , 68 , 75

Jacobi, Carl Gustav Jacob, 64 , 618

polynomials, 543 , 605

Janson, Carl Svante, 618

Jarden, Dov, 556 , 618

Jeopardy, 361

joint distribution, 384

Jonassen, Arne Tormod, 618

Jones, Bush, 618

Josephus, Flavius, 8 , 12 , 19 – 20 , 618

numbers, 81 , 97 , 100

problem, 8 – 17 , 79 – 81 , 95 , 100 , 144

recurrence, generalized, 13 – 16 , 79 – 81 , 498

subset, 20

Jouaillec, Louis Maurice, 632

Jungen, Reinwald, 618 , 635

K , see continuants

Kaplansky, Irving, 8 , 568 , 618

Karamata, Jovan, 257 , 618

Karlin, Anna Rochelle, 632

Kaucký, Josef, 619 , 635

Kauers, Manuel, 564

Keiper, Jerry Bruce, 619

Kellogg, Oliver Dimon, 609

Kent, Clark (= Kal-El), 372

Kepler, Johannes, 292 , 619

kernel functions, 370

Ketcham, Henry King, 148

kilometers, 301 , 310 , 550

Kilroy, James Joseph, vii

Kipling, Joseph Rudyard, 260

Kissinger, Henry Alfred, 379

Klamkin, Murray Seymour, 619 , 633 , 635

Klarner, David Anthony, 632

knockout tournament, 432 – 433

Knoebel, Robert Arthur, 619

Knopp, Konrad Hermann Theodor, 619 , 636

Knuth, Donald Ervin, iii – ix , 102 , 267 , 411 , 506 , 553 , 616 , 618 – 620 , 632 , 633 , 636 , 657

numbers, 78 , 97 , 100

Knuth, John Martin, 636

Knuth, Nancy Jill Carter, ix

Konyagin, Sergei Vladimirovich, 525

Kramp, Christian, 111 , 620

Kronecker, Leopold, 521 , 630

delta notation, 24

Kruk, John Martin, 519

Kummer, Ernst Eduard, 206 , 529 , 621 , 634

formula for hypergeometrics, 213 , 217 , 535

Kurshan, Robert Paul, 501 , 621

L n , see Lucas numbers

Lagny, Thomas Fantet de, 304 , 621

Lagrange, Joseph Louis (= De la Grange Tournier, Giuseppe Ludovico (= Luigi)), 470 , 621 , 635

identity, 64

Lah, Ivo, 621 , 635

Lambert, Johann Heinrich, 201 , 363 , 613 , 621

Landau, Edmund Georg Hermann, 443 , 448 , 621 – 622 , 634 , 636

Laplace, Pierre Simon, marquis de, 466 , 606 , 622

last but not least, 132 , 469

Law of Large Numbers, 391

lcm, 103 , see least common multiple

leading coefficient, 235

least common multiple, 103 , 107 , 145

of{ 1,...,n }, 251 , 319 , 500

least integer function, see ceiling function

least upper bound, 57 , 61

LeChiffre, Mark Well, 148

left-to-right maxima, 316

Legendre, Adrien Marie, 622 , 633

polynomials, 543 , 573 , 575

Lehmer, Derrick Henry, 526 , 622 , 633 , 635

Leibniz, Gottfried Wilhelm, Freiherr von, vii , 168 , 616 , 622

Lekkerkerker, Cornelis Gerrit, 622

Lengyel, Tamás Lóránt, 622 , 635

levels of problems, viii , 72 – 73 , 95 , 511

Levine, Eugene, 611 , 635

lexicographic order, 441

lg: binary logarithm, 70 , 449

L’Hospital, Guillaume François Antoine de, marquis de Sainte Mesme, rule, 340 , 396 , 542

L Image Shànlán (= Rénsh ū = Qi ū rèn), 269 , 622

Liang, Franklin Mark, 632

Lieb, Elliott Hershel, 622 , 636

lies, and statistics, 195

Lincoln, Abraham, 401

linear difference operators, 240

lines in the plane, 4 – 8 , 17 , 19

Liouville, Joseph, 136 – 137 , 622

little oh notation, 448

considered harmful, 448 – 449

Littlewood, John Edensor, 239

ln: natural logarithm, 276 , 449

discrete analog of, 53 – 54

sum of, 481 – 482

log: common logarithm, 449

Logan, Benjamin Franklin (= Tex), Jr., 287 , 622 – 623 , 634 – 635

logarithmico-exponential functions, 442 – 443

logarithms, 449

binary, 70

discrete analog of, 53 – 54

in O -notation, 449

natural, 276

Long, Calvin Thomas, 623 , 634

lottery, 387 – 388 , 436 – 437

Lóu, Shìtuó, 623

lower index of binomial coefficient, 154

complex valued, 211

lower parameters of hypergeometric series, 205

Loyd, Samuel, 560 , 623

Lucas, François Édouard Anatole, 1 , 292 , 623 , 633 – 635

numbers, 312 , 316 , 556

Łuczak, Tomasz Jan, 618

Lyness, Robert Cranston, 501 , 623

Maclaurin (= Mac Laurin), Colin, 469 , 623

MacMahon, Maj. Percy Alexander, 140 , 623

magic tricks, 293

Mallows, Colin Lingwood, 506

Markov, Andre Image Andreevich (the elder), processes, 405

Martian DNA, 377

Martzloff, Jean-Claude, 623

mathematical induction, 3 , 7 , 10 – 11 , 43

backwards, 18

basis of, 3 , 320 – 321

failure of, 17 , 575

important lesson about, 508 , 549

Mathews, Edwin Lee (= 41), 8 , 21 , 94 , 105 , 106 , 343

Image (= Matijasevich), Image (= Yuri) Vladimirovich, 294 , 623 , 635

Mauldin, Richard Daniel, 611

Maxfield, Margaret Waugh, 630 , 635

Maynard, James, 525

Mayr, Ernst, ix , 632 , 633

McEliece, Robert James, 71

McGrath, James Patrick, 632

McKellar, Archie Charles, 614 , 634

McLean, Andrew Stuart, 469

mean (average) of a probability distribution, 384 – 399

median, 384 , 385 , 437

mediant, 116

Melzak, Zdzislaw Alexander, vi , 623

Mendelsohn, Nathan Saul, 623 , 634

Merchant, Arif Abdulhussein, 632

merging, 79 , 175

Mersenne, Marin, 109 – 110 , 131 , 613 , 624

numbers, 109 – 110 , 151 , 292

primes, 109 – 110 , 127 , 522 – 523

Mertens, Franz Carl Joseph, 23 , 139 , 624

miles, 301 , 310 , 550

Mills, Stella, 624

Mills, William Harold, 624 , 634

minimum, 65 , 249 , 377

Minkowski, Hermann, 122

Mirsky, Leon Ilyich, 635

mixture of probability distributions, 428

mnemonics, 74 , 164

Möbius, August Ferdinand, 136 , 138 , 624

function, 136 – 139 , 145 , 149 , 370 – 371 , 462 – 463

mod: binary operation, 81 – 85

mod: congruence relation, 123 – 126

mod 0 , 82 – 83 , 515

mode, 384 , 385 , 437

modular arithmetic, 123 – 129

modulus, 82

Moessner, Alfred, 624 , 636

Moivre, Abraham de, 297 , 481 , 609

moments, 398 – 399

Montgomery, Hugh Lowell, 463 , 624

Montgomery, Peter Lawrence, 624 , 634

Moriarty, James, 162

Morse, Samuel Finley Breese, code, 302 – 303 , 324 , 551

Moser, Leo, 624 , 633

Motzkin, Theodor Samuel, 556 , 564 , 618 , 624

mountain ranges, 359 , 565

mu function, see Möbius function

multinomial coefficients, 168 , 171 – 172 , 569

recurrence for, 252

multinomial theorem, 149 , 168

multiple of a number, 102

multiple sums, 34 – 41 , 61 ; see also double sums

multiple-precision numbers, 127

multiplicative functions, 134 – 136 , 144 , 371

multisets, 77 , 270

mumble function, 83 , 84 , 88 , 507 , 513

Murdock, Phoebe James, viii

Murphy’s Law, 74

Myers, Basil Roland, 624 , 635

name and conquer, 2 , 32 , 88 , 139

National Science Foundation, ix

natural logarithm, 53 – 54 , 276 , 449 , 481 – 482

Naval Research, ix

navel research, 299

nearest integer, 95

rounding to, 195 , 300 , 344 , 491

unbiased, 507

necessary and sufficient conditions, 72

necklaces, 139 – 141 , 259

negating the upper index, 164 – 165

negative binomial distribution, 402 – 403 , 428

negative factorial powers, 52 , 63 , 188

Newman, James Roy, 631

Newman, Morris, 635

Newton, Isaac, 189 , 277 , 624

series, 189 – 192

Newtonian generating function, 378

Niven, Ivan Morton, 332 , 624 , 633

nonprime numbers, 105 , 518

nontransitive paradox, 410

normal distribution, 438

notation, x – xi , 2 , 637

extension of, 49 , 52 , 154 , 210 – 211 , 266 , 271 , 311 , 319

ghastly, 67 , 175

need for new, 83 , 115 , 267

nu function: sum of digits,

binary (radix 2 ), 12 , 114 , 250 , 525 , 557

other radices, 146 , 525 , 552

null case, for spanning trees, 349 , 565

for Stirling numbers, 258

for tilings, 320 – 321

for Tower of Hanoi, 2

number system, 107 , 119

combinatorial, 245

Fibonacci, 296 – 297 , 301 , 307 , 310 , 318

prime-exponent, 107 , 116

radix, see radix notation residue, 126 – 129 , 144

Stern–Brocot, see Stern–Brocot number system

number theory, 102 – 152

o , considered harmful, 448 – 449

O -notation, 76 , 443 – 449

abuse of, 447 – 448 , 489

one-way equalities with, 446 – 447 , 489 – 490

obvious, clarified, 417 , 526

odds, 410

Odlyzko, Andrew Michael, 81 , 564 , 590 , 616 , 624 , 636

Office of Naval Research, ix

one-way equalities, 446 – 447 , 489 – 490

open interval, 73 – 74 , 96

operators, 47

anti-derivative (∫), 48

anti-difference (∑), 48

derivative ( D ), 47 , 310

difference ( Δ ), 47

equations of, 188 , 191 , 241 , 310 , 471

shift ( E , K , N ), 55 , 240

theta (ϑ), 219 , 310

optical illusions, 292 , 293 , 560

organ-pipe order, 524

Oz, Wizard of, 581

Pacioli, Luca Bartolomeo de, 614

pairing law, 30 , 33 , 41 , 61 , 64

Palais, Richard Sheldon, viii

paradoxes,

chessboard, 293 , 317

coin flipping, 408 – 410

pair of boxes, 531 , 535 , 539

paradoxical sums, 57

parallel summation, 159 , 174 , 208 – 210

parentheses, 357 – 359

parenthesis conventions, xi

partial fraction expansions, 298 – 299 , 338 – 341

for easy summation and differentiation, 64 , 376 , 476 , 504 , 586

not always easiest, 374

of Image , 189

of 1/ ( z n − 1 ) , 558

powers of, 246 , 376

partial quotients, 306

and discrepancies, 319 , 598 – 599 , 602

large, 553 , 563 , 564 , 602

partial sums, see indefinite summation

required to be positive, 359 – 362

partition into nearly equal parts, 83 – 85

partitions, of the integers, 77 – 78 , 96 , 99 , 101

of a number, 330 , 377

of a set, 258 – 259 , 373

Pascal, Blaise, 155 , 156 , 624 – 625 , 633

Pascal’s triangle, 155

extended upward, 164

hexagon property, 155 – 156 , 242 , 251

row lcms, 251

row products, 243

row sums, 163 , 165 – 166

variant of, 250

Patashnik, Amy Markowitz, ix

Patashnik, Oren, iii , iv , vi , ix , 102 , 506 , 616 , 632

Patil, Ganapati Parashuram, 625 , 636

Paule, Peter, 537 , 546

Peirce, Charles Santiago Sanders, 151 , 525 , 625 , 634

Penney, Walter Francis, 408 , 625

Penney ante, 408 – 410 , 430 , 437 , 438

pentagon, 314 (exercise 46), 430 , 434

pentagonal numbers, 380

Percus, Jerome Kenneth, 625 , 636

perfect powers, 66

periodic recurrences, 20 , 179 , 498

permutations, 111 – 112

ascents in, 267 – 268 , 270

cycles in, 259 – 262

excedances in, 316

fixed points in, 193 – 196 , 393 – 394 , 400 – 401 , 428

left-to-right maxima in, 316

random, 393 – 394 , 400 – 401 , 428

up-down, 377

without fixed points, see derangements

personal computer, 109

perspiration, 234 – 235

perturbation method, 32 – 33 , 43 – 44 , 64 , 179 , 284 – 285

Petkovšek, Marko, 229 , 575 , 625 , 634

Pfaff, Johann Friedrich, 207 , 214 , 217 , 529 , 625 , 634

reflection law, 217 , 244 , 247 , 539

pgf: probability generating function, 394

phages, 434 , 438

phi (≈ 1.61803 ), 299 – 301

as canonical constant, 70

continued fraction for, 310

in fifth roots of unity, 553

in solutions to recurrences, 97 , 99 , 299 – 301

Stern–Brocot representation of, 550

phi function, 133 – 135

dgf for, 371

divisibility by, 151

Phi function: sum of φ , 138 – 139 , 462 – 463

Phidias, 299

philosophy, vii , 11 , 16 , 46 , 71 , 72 , 75 , 91 , 170 , 181 , 194 , 331 , 467 , 503 , 508 , 603

phyllotaxis, 291

pi (≈ 3.14159 ), 26 , 286

as canonical constant, 70 , 416 , 423

large partial quotients of, 564

Stern–Brocot representation of, 146

pi function, 110 – 111 , 452 , 593

preposterous expressions for, 516

Pig, Porky, 496

pigeonhole principle, 130

Pincherle, Salvatore, 617

Pisano, Leonardo filio Bonacii, 613 , see Fibonacci

Pittel, Boris Gershon, 576 , 618

pizza, 4 , 423

planes, cutting, 19

Plouffe, Simon, 628

pneumathics, 164

Pochhammer, Leo, 48 , 625

symbol, 48

pocket calculators, 67 , 77 , 459

failure of, 344

Poincaré, Jules Henri, 625 , 636

Poisson, Siméon Denis, 471 , 625

distribution, 428 – 429 , 579

summation formula, 602

Pollak, Henry Otto, 616 , 633

Pólya, George (= György), vi , 16 , 327 , 508 , 625 – 626 , 633 , 635 , 636

polygons, dissection of, 379

triangulation of, 374

Venn diagrams with, 20

polynomial argument, 158 , 163

for rational functions, 527

opposite of, 210

polynomially recursive sequence, 374

polynomials, 189

Bernoulli, 367 – 368 , 470 – 475

continuant, 301 – 309

convolution, 373

cyclotomic, 149

degree of, 158 , 226

divisibility of, 225

Euler, 574

Jacobi, 543 , 605

Legendre, 543 , 573 , 575

Newton series for, 189 – 191

reflected, 339

Stirling, 271 – 272 , 290 , 311 , 317 , 352

Poonen, Bjorn, 501 , 633

Poorten, Alfred Jacobus van der, 630

Porter, Thomas K, 632

Portland cement, see concrete (in another book)

power series, 196 , see generating functions formal, 206 , 331 , 348 , 532

Pr, 381 – 382

Pratt, Vaughan Ronald, 632

preferential arrangements, 378 (exercise 44)

primality testing, 110 , 148

impractical method, 133

prime algebraic integers, 106 , 147

prime numbers, 105 – 111

gaps between, 150 – 151 , 525

largest known, 109 – 110

Mersenne, 109 – 110 , 127 , 522 – 523

size of n th, 110 – 111 , 456 – 457

sum of reciprocals, 22 – 25

prime to, 115

prime-exponent representation, 107 , 116

Princeton University, ix , 427

probabilistic analysis of an algorithm, 413 – 426

probability, 195 , 381 – 438

conditional, 416 – 419 , 424 – 425

discrete, 381 – 438

generating functions, 394 – 401

spaces, 381

probability distributions, 381

binomial, 401 – 402 , 415 , 428 , 432

composition or mixture of, 428

joint, 384

negative binomial, 402 – 403 , 428

normal, 438

Poisson, 428 – 429 , 579

uniform, 395 – 396 , 418 – 421

problems, levels of, viii , 72 – 73 , 95 , 511

Prodinger, Helmut, 564

product notation, 64 , 106

product of consecutive odd numbers, 186 , 270

progression, see arithmetic progression , geometric progression

proof, 4 , 7

proper terms, 239 – 241 , 255 – 256

properties, 23 , 34 , 72 – 73

prove or disprove, 71 – 72

psi function, 551

pulling out the large part, 453 , 458

puns, ix , 220

Pythagoras of Samos, theorem, 510

quadratic domain, 147

quicksort, 28 – 29 , 54

quotation marks, xi

quotient, 81

rabbits, 310

radix notation, 11 – 13 , 15 – 16 , 109 , 195 , 526

length of, 70 , 460

related to prime factors, 113 – 114 , 146 – 148 , 245

Rado, Richard, 625 , 635

Rahman, Mizan, 223 , 614

Rainville, Earl David, 529 , 626

Ramanujan Iyengar, Srinivasa, 330

Ramaré, Olivier, 548

Ramshaw, Lyle Harold, 73 , 632 , 634 , 636

random constant, 399

random variables, 383 – 386 ; see also independent random variables

Raney, George Neal, 359 , 362 , 626 , 635

lemma, 359 – 360

lemma, generalized, 362 , 372

sequences, 360 – 361

Rao, Dekkata Rameswar, 626 , 633

rational functions, 207 – 208 , 224 – 226 , 338 , 527

rational generating functions, 338 – 346

expansion theorems for, 340 – 341

Rayleigh, John William Strutt, 3rd Baron, 77 , 626

Read, Ronald Cedric, 625

real part, 64 , 212 , 451

reciprocity law, 94

Recorde, Robert, 446 , 626

recurrences, 1 – 20

and sums, 25 – 29

doubly exponential, 97 , 100 , 101 , 109

floor/ceiling, 78 – 81

implicit, 136 – 139 , 193 – 195 , 284

periodic, 20 , 179 , 498

solving, 337 – 350

unfolding, 6 , 100 , 159 – 160 , 312

unfolding asymptotically, 456

referee, 175

reference books, 42 , 223 , 616 , 619

reflected light rays, 291 – 292

reflected polynomials, 339

reflection law for hypergeometrics, 217 , 247 , 539

regions, 4 – 8 , 17 , 19

regular expressions, 326

Reich, Simeon, 626 , 636

relative error, 452 , 455

relatively prime integers, 108 , 115 – 123

remainder after division, 81 – 82

remainder in Euler’s summation formula, 471 , 474 – 475 , 479 – 480

Rémy, Jean-Luc, 603

Renz, Peter Lewis, viii

repertoire method, 14 – 15 , 19 , 250

for Fibonacci-like recurrences, 312 , 314 , 372

for sums, 26 , 44 – 45 , 63

replicative function, 100

repunit primes, 516

residue calculus, 495

residue number system, 126 – 129 , 144

retrieving information, 411 – 413

rewards, monetary, ix , 256 , 497 , 525 , 575

Rham, Georges de, 626 , 635

Ribenboim, Paulo, 555 , 626 , 634

Rice, Stephan Oswald, 626

Rice University, ix

Riemann, Georg Friedrich Bernhard, 205 , 626 , 633

hypothesis, 526

Riemann’s zeta function, 65 , 595

as generalized harmonic number, 277 – 278 , 286

as infinite product, 371

as power series, 601

dgf’s involving, 370 – 371 , 373 , 463 , 566 , 569

evaluated at integers, 238 , 286 , 571 , 595 , 597

rising factorial powers, 48

binomial theorem for, 245

complex, 211

negative, 63

related to falling powers, 63 , 312

related to ordinary powers, 263 , 598

Roberts, Samuel, 626 , 633

rocky road, 36 , 37

Rødseth, Øystein Johan, 627 , 634

Rolletschek, Heinrich Franz, 514

roots of unity, 149 , 204 , 375 , 574 , 598

fifth, 553

modulo m , 128 – 129

Roscoe, Andrew William, 620

Rosser, John Barkley, 111 , 627

Rota, Gian-Carlo, 516 , 627

roulette wheel, 74 – 76 , 453

rounding to nearest integer, 95 , 195 , 300 , 344 , 491

unbiased, 507

Roy, Ranjan, 627 , 634

rubber band, 274 – 275 , 278 , 312 , 493

ruler function, 113 , 146 , 148

running time, 413 , 425 – 426

O -notation for, abused, 447 – 448

Ruzsa, Imre Zoltán, 611

Saalschütz, Louis, 214 , 627

identity, 214 – 215 , 234 – 235 , 529 , 531

Saltykov, Al’bert Ivanovich, 463 , 627

sample mean and variance, 391 – 393 , 427

sample third cumulant, 429

samplesort, 354

sandwiching, 157 , 165

Sárközy, András, 548 , 627

Sawyer, Walter Warwick, 207 , 627

Schäffer, Alejandro Alberto, 632

Schinzel, Andrzej, 525

Schlömilch, Oscar Xaver, 627

Schmidt, Asmus Lorenzen, 634

Schoenfeld, Lowell, 111 , 627

Schönheim, Johanen, 608

Schröder, Friedrich Wilhelm Karl Ernst, 627 , 635

Schrödinger, Erwin Rudolf Josef Alexander, 430

Schröter, Heinrich Eduard, 627 , 635

Schützenberger, Marcel Paul, 636

science and art, 234

Scorer, Richard Segar, 627 , 633

searching a table, 411 – 413

Seaver, George Thomas (= 41), 8, 21 , 94 , 105 , 106 , 343

secant numbers, 317 , 559 , 570 , 620

second-order Eulerian numbers, 270 – 271

second-order Fibonacci numbers, 375

second-order harmonic numbers, 277 , 280 , 311 , 550 – 552

Sedgewick, Robert, 632

Sedlá č ek, Ji ř í, 627 , 635

Seidel, Philipp Ludwig von, 605

self-certifying algorithms, 104

self-describing sequence, 66 , 495

self reference, 59 , 95 , 531 – 540 , 616 , 653

set inclusion in O -notation, 446 – 447 , 490

Shallit, Jeffrey Outlaw, 627 , 635

Sharkansky, Stefan Michael, 632

Sharp, Robert Thomas, 273 , 627

sherry, 433

shift operator, 55 , 240

binomial theorems for, 188 , 191

Shiloach, Joseph (= Yossi), 632

Shor, Peter Williston, 633

Sicherman, George Leprechaun, 636

sideways addition, 12 , 114 , 146 , 250 , 552

Sierpi ń ski, Wacław Franciszek, 87 , 627 – 628 , 634

sieve of Eratosthenes, 111

Sigma-notation, 22 – 25

ambiguity of, 245

signum function, 502

Silverman, David L, 628 , 635

similar hypergeometric terms, 541

skepticism, 71

Skiena, Steven Sol, 548

Sloane, Neil James Alexander, 42 , 341 , 464 , 604 , 628 , 633

Slowinski, David Allen, 109

small cases, 2 , 5 , 9 , 155 , 320 – 321 ; see also empty case

Smith, Cedric Austen Bardell, 627 , 633

Snowwalker, Luke, 435

Solov’ev, Aleksandr Dmitrievich, 408 , 628

solution, 3 , 337

sorting,

asymptotic efficiency of, 447 – 449

bubblesort, 448

merge sort, 79 , 175

possible outcomes, 378

quicksort, 28 – 29 , 54

samplesort, 354

Soundararajan, Kannan, 525 , 605 .

spanning trees,

of complete graphs, 368 – 369

of fans, 348 – 350 , 356

of wheels, 374

Spec, see spectra

special numbers, 257 – 319

spectra, 77 – 78 , 96 , 97 , 99 , 101

generating functions for, 307 , 319

spinning coins, 401

spiral function, 99

Spohn, William Gideon, Jr., 628

sports, see baseball , football , frisbees , golf , tennis

square pyramidal numbers, 42

square root,

of 1 (mod m ), 128 – 129

of 2 , 100

of 3 , 378

of − 1 , 22

squarefree, 145 , 151 , 373 , 525 , 548

squares, sum of consecutive, 41 – 46 , 51 , 180 , 245 , 269 , 284 , 288 , 367 , 444 , 470

stack size, 360 – 361

stacking bricks, 313 , 374

stacking cards, 273 – 274 , 278 , 309

Stallman, Richard Matthew, 628

standard deviation, 388 , 390 – 394

Stanford University, v , vii , ix , 427 , 458 , 632 , 634 , 657

Stanley, Richard Peter, 270 , 534 , 615 , 628 , 635 , 636

Staudt, Karl Georg Christian von, 628 , 635

Staver, Tor Bøhm, 628 , 634

Steele, Guy Lewis, Jr., 628

Stegun, Irene Anne, 42 , 604

Stein, Sherman Kopald, 633

Steiner, Jacob, 5 , 628 , 633

Steinhaus, Hugo Dyonizy, 636

Stengel, Charles Dillon (= Casey), 42

step functions, 87

Stern, Moritz Abraham, 116 , 629

Stern–Brocot number system, 119 – 123

related to continued fractions, 306

representation of Image , 572

representation of γ , 306

representation of π , 146

representation of ϕ , 550

representation of e , 122 , 150

simplest rational approximations from, 122 – 123 , 146 , 519

Stern–Brocot tree, 116 – 123 , 148 , 525

largest denominators in, 319

related to continued fractions, 305 – 306

Stern–Brocot wreath, 515

Stewart, Bonnie Madison, 614 , 633

Stickelberger, Ludwig, 629 , 633

Stieltjes, Thomas Jan, 617 , 629 , 633

constants, 595 , 601

Stirling, James, 192 , 195 , 210 , 257 , 258 , 297 , 481 , 629

approximation, 112 , 452 , 481 – 482 , 491 , 496

approximation, perturbed, 454 – 455

constant, 481 , 485 – 489

polynomials, 271 – 272 , 290 , 311 , 317 , 352

triangles, 258 , 259 , 267

Stirling numbers, 257 – 267

as sums of products, 570

asymptotics of, 495 , 602

combinatorial interpretations, 258 – 262

convolution formulas, 272 , 290

duality of, 267

generalized, 271 – 272 , 311 , 316 , 319 , 598

generating functions for, 351 – 352 , 559

identities for, 264 – 265 , 269 , 272 , 290 , 311 , 317 , 378

inversion formulas for, 310

of the first kind (cycle numbers), 259 – 267

of the second kind (set partition numbers), 258 – 267

related to Bernoulli numbers, 289 – 290 , 317 (exercise 76)

table of, 258 , 259 , 267

Stone, Marshall Harvey, vi

Straus, Ernst Gabor, 564 , 611 , 624

Strehl, Karl Ernst Volker, 549 , 629 , 634

Stueben, Michael A., 445

subfactorial, 194 – 196 , 250

summand, 22

summation, 21 – 66

asymptotic, 87 – 89 , 466 – 496

by parts, 54 – 56 , 63 , 279

changing the index of, 30 – 31 , 39

definite, 49 – 50 , 229 – 241

difficulty measure for, 181

factors, 27 – 29 , 64 , 236 , 248 , 275 , 543

in hypergeometric terms, 224 – 229

indefinite, see indefinite summation

infinite, 56 – 62 , 64

interchanging the order of, 34 – 41 , 105 , 136 , 183 , 185 , 546

mechanical, 229 – 241

on the upper index, 160 – 161 , 175 – 176

over divisors, 104 – 105 , 135 – 137 , 141 , 370

over triangular arrays, 36 – 41

parallel, 159 , 174 , 208 – 210

sums, 21 – 66 ; see also summation

absolutely convergent, 60 – 62 , 64

and recurrences, 25 – 29

approximation of, by integrals, 45 , 276 – 277 , 469 – 475

divergent, see divergent sums

double, see double sums

doubly infinite, 59 , 98 , 482 – 483

empty, 24 , 48

floor/ceiling, 86 – 94

formal, 321 ; see also formal power series

hypergeometric, see hypergeometric series

infinite, 56 – 62 , 64

multiple, 34 – 41 , 61 ; see also double sums

notations for, 21 – 25

of consecutive cubes, 51 , 63 , 283 , 289 , 367

of consecutive integers, 6 , 44 , 65

of consecutive m th powers, 42 , 283 – 285 , 288 – 290 , 366 – 368

of consecutive squares, 41 – 46 , 51 , 180 , 245 , 269 , 284 , 288 , 367 , 444 , 470

of harmonic numbers, 41 , 56 , 279 – 282 , 312 – 313 , 316 , 354 – 355

paradoxical, 57

tails of, 466 – 469 , 488 – 489 , 492

Sun Ts ŭ (= S ū nz Image , Master Sun), 126

sunflower, 291

super generating functions, 353 , 421

superfactorials, 149 , 243

Swanson, Ellen Esther, viii

Sweeney, Dura Warren, 629

Swinden, Benjamin Alfred, 633

Sylvester, James Joseph, 133 , 629 , 633

symmetry identities,

for binomial coefficients, 156 – 157 , 183

for continuants, 303

for Eulerian numbers, 268

Szegedy, Márió, 525 , 608 , 629

Szeg ő , Gábor, 626 , 636

T n , see tangent numbers

tail exchange, 466 – 469 , 486 – 489

tail inequalities, 428 , 430

tail of a sum, 466 – 469 , 488 – 489 , 492

tale of a sum, see squares

Tancke, Joachim, 619

tangent function, 287 , 317

tangent numbers, 287 , 312 , 317 , 570 , 620

Tanny, Stephen Michael, 629 , 635

Tao, Terence Chi-Shen, 525

Tartaglia, Nicolò, triangle, 155

Taylor, Brook, series, 163 , 191 , 287 , 396 , 470 – 471

telescoping, 50 , 232 , 236 , 255

tennis, 432 – 433

term, 21

hypergeometric, 224 , 243 , 245 , 527 , 575

term ratio, 207 – 209 , 211 – 212 , 224 – 225

TEX, 219 , 432 , 657

Thackeray, Henry St. John, 618

Theisinger, Ludwig, 629 , 634

theory of numbers, 102 – 152

theory of probability, 381 – 438

theta functions, 483 , 524

theta operator, 219 – 221 , 347

converting between D and Image , 310

Thiele, Thorvald Nicolai, 397 , 398 , 629

thinking, 503

big, 2 , 441 , 458 , 483 , 486

not at all, 56 , 230 , 503

small, see downward generalization , small cases

three-dots (···) notation, 21

advantage of, 21 , 25 , 50

disadvantage of, 25

elimination of, 108

tilings, see domino tilings

Titchmarsh, Edward Charles, 629 , 636

Todd, Horace, 501

Toledo, Ohio, 73

Tong, Christopher Hing, 632

Toscano, Letterio, 621

totient function, 133 – 135

dgf for, 371

divisibility by, 151

summation of, 137 – 144 , 150 , 462 – 463

Toto, 581

tournament, 432 – 433

Tower of Brahma, 1 , 4 , 278

Tower of Hanoi, 1 – 4 , 26 – 27 , 109 , 146

variations on, 17 – 20

Trabb Pardo, Luis Isidoro, 632

transitive law, 124

failure of, 410

traps, 154 , 157 , 183 , 222 , 542

trees,

2-3 trees, 636

binary, 117

of bees, 291

spanning, 348 – 350 , 356 , 368 – 369 , 374

Stern–Brocot, see Stern–Brocot tree

triangular array, summation over, 36 – 41

triangular numbers, 6 , 155 , 195 – 196 , 260 , 380

triangulation, 374

Tricomi, Francesco Giacomo Filippo, 629 , 636

tridiagonal matrix, 319

trigonometric functions,

related to Bernoulli numbers, 286 – 287 , 317

related to probabilities, 435 , 437

related to tilings, 379

trinomial coefficients, 168 , 171 , 255 , 571

middle, 490

trinomial theorem, 168

triphages, 434

trivial, clarified, 105 , 129 , 417 – 418 , 618

Turán, Paul, 636

Tweddle, Ian, 629

typefaces, viii – ix , 657

Uchimura, Keisuke, 605 , 635

umop-apısdn function, 193

unbiased estimate, 392 , 429

unbiased rounding, 507

uncertainty principle, 481

undetermined coefficients, 529

unexpected sum, 167 , 215 – 216 , 236 , 247

unfolding a recurrence, 6 , 100 , 159 – 160 , 312

asymptotically, 456

Ungar, Peter, 629

uniform distribution, 395 – 396 , 418 – 421

uniformity, deviation from, 152 ; see also discrepancy

unique factorization, 106 – 107 , 147

unit, 147

unit fractions, 95 , 101 , 150

unwinding a recurrence, see unfolding a recurrence

up-down permutations, 377

upper index of binomial coefficient, 154

upper negation, 164 – 165

upper parameters of hypergeometric series, 205

upper summation, 160 – 161 , 176

useless identity, 223 , 254

Uspensky, James Victor, 615 , 630 , 633

V : variance, 387 – 398 , 419 – 425

van der Poorten, Alfred Jacobus, 630

Vandermonde, Alexandre Théophile, 169 , 630 , 634

Vandermonde’s convolution, 169 – 170 , 610 , 627

as a hypergeometric series, 211 – 213

combinatorial interpretation, 169 – 170

derived mechanically, 234

derived from generating functions, 198

generalized, 201 – 202 , 218 – 219 , 248

with half-integers, 187

vanilla, 36

Vardi, Ilan, 525 , 548 , 603 , 620 , 630 , 633 , 636

variance of a probability distribution, 387 – 398 , 419 – 425

infinite, 428 , 587

Veech, William Austin, 514

Venn, John, 498 , 630 , 633

diagram, 17 , 20

venture capitalists, 493 – 494

violin string, 29

vocabulary, 75

Voltaire, de (= Arouet, François Marie), 450

von Seidel, Philipp Ludwig, 605

von Staudt, Karl Georg Christian, 628 , 635

Vyssotsky, Victor Alexander, 548

Wall, Charles Robert, 607 , 635

Wallis, John, 630 , 635

Wapner, Joseph Albert, 43

war, 8 , 16 , 85 , 434

Waring, Edward, 630 , 635

Wasteels, Joseph, 630 , 635

Waterhouse, William Charles, 630 , 635

Watson, John Hamish, 229 , 405

Waugh, Frederick Vail, 630 , 635

Weaver, Warren, 630

Weber, Heinrich, 630

Weisner, Louis, 516 , 630

Wermuth, Edgar Martin Emil, 603 , 630

Weyl, Claus Hugo Hermann, 87 , 630

Wham-O, 435 , 443

wheel, 74 , 374

big, 75

of Fortune, 453

Whidden, Samuel Blackwell, viii

Whipple, Francis John Welsh, 630 , 634

identity, 253

Whitehead, Alfred North, 91 , 503 , 603 , 631

Wiles, Andrew John, 131

Wilf, Herbert Saul, 81 , 240 , 241 , 514 , 549 , 575 , 620 , 624 , 631 , 634

Williams, Hugh Cowie, 631 , 633

Wilquin, Denys, 634

Wilson, George and Martha, 148

Wilson, John, theorem, 132 – 133 , 148 , 516 , 609

wine, 433

Witty, Carl Roger, 509

Wolstenholme, Joseph, 631 , 635

theorem, 554

Wood, Derick, 631 , 633

Woods, Donald Roy, 628

Woolf, William Blauvelt, viii

worm,

and apple, 430

on rubber band, 274 – 275 , 278 , 312 , 493

Worpitzky, Julius Daniel Theodor, 631

identity, 269

wraparound, 250 (exercise 75), 315

wreath, 515

Wrench, John William, Jr., 600 , 606 , 636

Wright, Edward Maitland, 111 , 617 , 631 , 633

Wythoff (= Wijthoff), Willem Abraham, 614

Yao, Andrew Chi-Chih, ix , 632

Yao, Frances Foong Chu, ix , 632

Yáo, Qí, 623

Youngman, Henry (= Henny), 175

zag, see zig

Zagier, Don Bernard, 238

Zapf, Hermann, viii , 620 , 657

Zave, Derek Alan, 631 , 635

Zeckendorf, Edouard, 631

theorem, 295 – 296 , 563

Zeilberger, Doron, ix , 229 – 231 , 238 , 240 , 241 , 631 , 634

zero, not considered harmful, 24 – 25 , 159

strongly, 24 – 25

zeta function, 65 , 595

and the Riemann hypothesis, 526

as generalized harmonic number, 277 – 278 , 286

as infinite product, 371

as power series, 601

dgf’s involving, 370 – 371 , 373 , 463 , 566 , 569

evaluated at integers, 238 , 286 , 571 , 595 , 597

Zhu Shijie, see Chu Shih-Chieh

zig, 7 – 8 , 19

zig-zag, 19

Zipf, George Kingsley, law, 419

Zudilin, Wadim Valentinovich, 549