WHAT LIES BETWEEN + and × (And Beyond)?

Total Page:16

File Type:pdf, Size:1020Kb

WHAT LIES BETWEEN + and × (And Beyond)? Working Paper LSEOR 10-119 ISSN 2041-4668 (Online) WHAT LIES BETWEEN + AND × (and beyond)? H.P.Williams London School of Economics [email protected] First published in Great Britain in 2010 by the Operational Research Group, Department of Management London School of Economics and Political Science Copyright © The London School of Economics and Political Science, 2010 The contributors have asserted their moral rights. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior permission in writing of the publisher, nor be circulated in any form of binding or cover other than that in which it is published. WHAT LIES BETWEEN + AND × (and beyond)? H.P.Williams London School of Economics [email protected] Abstract We attempt to create a continuum of functions between addition and multiplication (and beyond). Such a function could have practical applications. Addition, multiplication, exponentiation, tetration etc. are all particular cases of a generalisation of Ackermann’s function for successive integral values of one of the arguments. Intermediate functions can be viewed as results of a fractional value of this argument. Ways of seeking such functions with given properties are investigated. It is noted that some other integrally defined functions of mathematics can be extended to fractional arguments. Two possible approaches, which are considered here, are (i) to consider Gauss’s Arithmetic-Geometric mean and (ii) to consider solutions of the functional equation ff(x) = ex . Keywords: Ackermann’s function, tetration, Gauss’s mean, functional equations. 1. INTRODUCTION Multiplication can be regarded as successive addition, exponentiation as successive multiplication etc. The next operation (tetration) requires a stipulation about the order in which successive exponentiations are carried out (since exponentiation is not commutative). We therefore consider the hierarchy of functions a+b axb = a + a + … a (b times) ab = a x a x … x a (b times) .a .. ba = aa (b times) etc. The fourth operation is usually known as ‘tetration’ and sometimes written as indicated. The convention is adopted of assuming bracketing from the top.The name was coined by Goodstein [4]. It has received some attention (see the web site of Geisler [3]). In particular defining the function for fractional b presents a problem, as discussed below. The heirarchy of these functions has also been considered by Rubtsov and Romerio [5]. We could introduce the successor function a + 1 as the ‘zeroth’ function if we wished. In order to motivate the problem we will consider a numerical example. 2 + 3 = 5 2 x 3 = 6 23 = 8 3 2 = 16 Marked on the graph in figure 1 it can be seen that it is possible to draw a smooth curve though these values where r = 1, 2, 3, 4 for addition, multiplication, exponentiation, tetration respectively. In order to seek the value for an operation halfway between + and × we seek the value at the point indicated by the arrow. 2r3 16 15 13 14 12 11 10 9 8 7 6 5 r 123 4 Figure 1. Successive Arithmetic Operations Applied to 2 and 3 2. ACKERMANN’S FUNCTION A generalisation of Ackermann’s function [1] can be defined easily by the following recursion. f(a+1, b+1, c) = f(a, f(a+1,b,c), c) with initial conditions f(0, b, c) = b+1 f(1, 0, c) = c f(2, 0,c) = 0 f(a+1, 0, c) = 1 for a> 1 It is easy to verify that f(0, b, c) = b+1 the successor function f(1, b, c) = b+c addition f(2, b, c) = bxc multiplication f(3, b, c) = cb exponentiation f(4, b, c) = b c tetration 3 We seek f( / 2 , b, c). Ackermann’s function is usually expressed as a function of 2 arguments by fixing c at (say) 2. It is a doubly recursive function which grows faster than any primitive recursive function: eg. in order to evaluate f(a+1, . , .) we need to evaluate f(a+1, .,.) for smaller arguments and f(a, . , .) for much larger arguments. Its ‘explosive’ growth is demonstrated by f(0, 3, 2) = 4 f(1, 3, 2) = 5 f(2, 3, 2) = 6 f(3, 3, 2) = 8 f(4, 3, 2) = 16 f(5, 3, 2) = 65536 It is interesting to note that f(a, b, c) is not well defined for fractional b either. Eg. what is (½)2 ? ∞ 1 We can, however, define ( / ∞ ) 2 . It is √2 since 2 = 2 . 3. GAUSS’S ARITHMETIC-GEOMETRIC MEAN Let A(a, b) = (a+b)/2 the arithmetic mean G(a,b) = √(a x b) the geometric mean M(a, b) , Gauss’s Arithmetic-Geometric mean (see eg. Cox [2]) is ‘halfway between’ A(a, b) and G(a, b) and is defined, iteratively, by a1 = G(a, b), b1 = A(a, b) an+1= G(an , bn), bn+1 = A(an , bn) M(a, b) = Lt n -> ∞ an = Lt n -> ∞ bn .. For example g(2,128) = 16, A(2,128) = 65, M(2,128) = 36.26 . Since a + b = A(a, b) x 2 = A(a, b) 2 2 2 a x b = G(a, b) = G(a, b) 3 2 3 5 3 Let a /2 b = M(a, b) /2 2 = M(a, b) /2 M(a, b)) M(a, b) has an analytic solution in terms of elliptic integrals. But there is a difficulty. Consider the following values on a line. M(a,M(a,b)) M(a,b) b a M(M(a,b),b) While M(a,M(a,b)) is the mean of a and M(a,b) and M(M(a,b),b) is the mean of M(a,b) and b, M(a,b) ≠ M(M(a,M(a,b)), M(M(a,b),b)). 4. THE FUNCTIONAL EQUATION ff(x) = ex A ‘bridge’ between addition and multiplication is provided by the exponential function (or its inverse , the logarithmic function) since e(a+b) = ea x eb. Let ff(x) = ex . 3 We can define f(a /2 b) as f(a) x f(b). Therefore we seek solutions of ff(x) = ex. f(x) is a function ‘between’ x (ie the identity function) and ex. This functional equation has been examined by a number of authors. For example Hammersley [5] and subsequent correspondence in the IMA Bulletin. However we seek a solution with a number of ‘reasonable’ conditions. In particular we initially demand that f(x) (defined on the non- negative reals) satisfies (i) x < f(x) < ex. (ii) f(x) is monotonic strictly increasing. (iii) f(x) is continuous and infinitely differentiable. (iv) The derivatives are monotonic strictly increasing. Let us define f(0) =p. Then f(p) = e0 = 1 f(1) = ep f(ep) = f(1) This gives the following table of values p e p x | 0 p 1 e p e ee ee ee . p e p e f(x) | p 1 e p e ee ee ee ee . As necessary (discrete) conditions for the above (continuous) conditions we demand that f(x), its gradients, gradients of gradients etc. are monotonic increasing and take intermediate values between the corresponding values of x and f(x). This implies 1 < (1 –p) /p < (ep – 1) /(1 – p) giving 0.469.. < p < 0.5 It would appear that f(x) is not unique. We plot possible values of f(x) if we set p at (say) 0.49 giving x | 0 0.49 1 1.63 2.72 5.10 15.18 . f(x) | 0.49 1 1.63 2.72 5.10 15.18 164.02 ff(x) = ex f(x) 16 x 14 12 10 8 6 4 2 0 x 0 123 45 6789101112 13 14 15 16 Figure 2 The functions x, f(x) and ff(x) = ex . 5. REFERENCES 1. Ackermann, W., 1928 Zum Hilbertschen Aufbau der reellen Zahlen, Mathematische Annalen 99 118-133. 2. Cox, D.A., 1985 Gauss and the geometric-arithmetic mean, Notices Amer. Math. Soc. 32(2) 147-151. 3. Geisler, D., 2009 Tetration web site, http://www.tetration.org 4. Goodstein, R.L., 1947 Tranfinite ordinals in recursive number theory, Journal of Symbolic Logic 12. 5. Hammersley, J.M., 1983 Functional roots and indicial semigroups, Bulletin of the IMA 19 194-196. 6. Rubtsov, C.A., and Romerio, G.F., 2004 Ackermann’s function and new arithmetical operations, http://www.rotarysaluzzo.it/filePD=/Iperoperazi%20(1).pdf .
Recommended publications
  • Large but Finite
    Department of Mathematics MathClub@WMU Michigan Epsilon Chapter of Pi Mu Epsilon Large but Finite Drake Olejniczak Department of Mathematics, WMU What is the biggest number you can imagine? Did you think of a million? a billion? a septillion? Perhaps you remembered back to the time you heard the term googol or its show-off of an older brother googolplex. Or maybe you thought of infinity. No. Surely, `infinity' is cheating. Large, finite numbers, truly monstrous numbers, arise in several areas of mathematics as well as in astronomy and computer science. For instance, Euclid defined perfect numbers as positive integers that are equal to the sum of their proper divisors. He is also credited with the discovery of the first four perfect numbers: 6, 28, 496, 8128. It may be surprising to hear that the ninth perfect number already has 37 digits, or that the thirteenth perfect number vastly exceeds the number of particles in the observable universe. However, the sequence of perfect numbers pales in comparison to some other sequences in terms of growth rate. In this talk, we will explore examples of large numbers such as Graham's number, Rayo's number, and the limits of the universe. As well, we will encounter some fast-growing sequences and functions such as the TREE sequence, the busy beaver function, and the Ackermann function. Through this, we will uncover a structure on which to compare these concepts and, hopefully, gain a sense of what it means for a number to be truly large. 4 p.m. Friday October 12 6625 Everett Tower, WMU Main Campus All are welcome! http://www.wmich.edu/mathclub/ Questions? Contact Patrick Bennett ([email protected]) .
    [Show full text]
  • Grade 7/8 Math Circles the Scale of Numbers Introduction
    Faculty of Mathematics Centre for Education in Waterloo, Ontario N2L 3G1 Mathematics and Computing Grade 7/8 Math Circles November 21/22/23, 2017 The Scale of Numbers Introduction Last week we quickly took a look at scientific notation, which is one way we can write down really big numbers. We can also use scientific notation to write very small numbers. 1 × 103 = 1; 000 1 × 102 = 100 1 × 101 = 10 1 × 100 = 1 1 × 10−1 = 0:1 1 × 10−2 = 0:01 1 × 10−3 = 0:001 As you can see above, every time the value of the exponent decreases, the number gets smaller by a factor of 10. This pattern continues even into negative exponent values! Another way of picturing negative exponents is as a division by a positive exponent. 1 10−6 = = 0:000001 106 In this lesson we will be looking at some famous, interesting, or important small numbers, and begin slowly working our way up to the biggest numbers ever used in mathematics! Obviously we can come up with any arbitrary number that is either extremely small or extremely large, but the purpose of this lesson is to only look at numbers with some kind of mathematical or scientific significance. 1 Extremely Small Numbers 1. Zero • Zero or `0' is the number that represents nothingness. It is the number with the smallest magnitude. • Zero only began being used as a number around the year 500. Before this, ancient mathematicians struggled with the concept of `nothing' being `something'. 2. Planck's Constant This is the smallest number that we will be looking at today other than zero.
    [Show full text]
  • Power Towers and the Tetration of Numbers
    POWER TOWERS AND THE TETRATION OF NUMBERS Several years ago while constructing our newly found hexagonal integer spiral graph for prime numbers we came across the sequence- i S {i,i i ,i i ,...}, Plotting the points of this converging sequence out to the infinite term produces the interesting three prong spiral converging toward a single point in the complex plane as shown in the following graph- An inspection of the terms indicate that they are generated by the iteration- z[n 1] i z[n] subject to z[0] 0 As n gets very large we have z[]=Z=+i, where =exp(-/2)cos(/2) and =exp(-/2)sin(/2). Solving we find – Z=z[]=0.4382829366 + i 0.3605924718 It is the purpose of the present article to generalize the above result to any complex number z=a+ib by looking at the general iterative form- z[n+1]=(a+ib)z[n] subject to z[0]=1 Here N=a+ib with a and b being real numbers which are not necessarily integers. Such an iteration represents essentially a tetration of the number N. That is, its value up through the nth iteration, produces the power tower- Z Z n Z Z Z with n-1 zs in the exponents Thus- 22 4 2 22 216 65536 Note that the evaluation of the powers is from the top down and so is not equivalent to the bottom up operation 44=256. Also it is clear that the sequence {1 2,2 2,3 2,4 2,...}diverges very rapidly unlike the earlier case {1i,2 i,3i,4i,...} which clearly converges.
    [Show full text]
  • Parameter Free Induction and Provably Total Computable Functions
    Parameter free induction and provably total computable functions Lev D. Beklemishev∗ Steklov Mathematical Institute Gubkina 8, 117966 Moscow, Russia e-mail: [email protected] November 20, 1997 Abstract We give a precise characterization of parameter free Σn and Πn in- − − duction schemata, IΣn and IΠn , in terms of reflection principles. This I − I − allows us to show that Πn+1 is conservative over Σn w.r.t. boolean com- binations of Σn+1 sentences, for n ≥ 1. In particular, we give a positive I − answer to a question, whether the provably recursive functions of Π2 are exactly the primitive recursive ones. We also characterize the provably − recursive functions of theories of the form IΣn + IΠn+1 in terms of the fast growing hierarchy. For n = 1 the corresponding class coincides with the doubly-recursive functions of Peter. We also obtain sharp results on the strength of bounded number of instances of parameter free induction in terms of iterated reflection. Keywords: parameter free induction, provably recursive functions, re- flection principles, fast growing hierarchy Mathematics Subject Classification: 03F30, 03D20 1 Introduction In this paper we shall deal with the first order theories containing Kalmar ele- mentary arithmetic EA or, equivalently, I∆0 + Exp (cf. [11]). We are interested in the general question how various ways of formal reasoning correspond to models of computation. This kind of analysis is traditionally based on the con- cept of provably total recursive function (p.t.r.f.) of a theory. Given a theory T containing EA, a function f(~x) is called provably total recursive in T , iff there is a Σ1 formula φ(~x, y), sometimes called specification, that defines the graph of f in the standard model of arithmetic and such that T ⊢ ∀~x∃!y φ(~x, y).
    [Show full text]
  • Attributes of Infinity
    International Journal of Applied Physics and Mathematics Attributes of Infinity Kiamran Radjabli* Utilicast, La Jolla, California, USA. * Corresponding author. Email: [email protected] Manuscript submitted May 15, 2016; accepted October 14, 2016. doi: 10.17706/ijapm.2017.7.1.42-48 Abstract: The concept of infinity is analyzed with an objective to establish different infinity levels. It is proposed to distinguish layers of infinity using the diverging functions and series, which transform finite numbers to infinite domain. Hyper-operations of iterated exponentiation establish major orders of infinity. It is proposed to characterize the infinity by three attributes: order, class, and analytic value. In the first order of infinity, the infinity class is assessed based on the “analytic convergence” of the Riemann zeta function. Arithmetic operations in infinity are introduced and the results of the operations are associated with the infinity attributes. Key words: Infinity, class, order, surreal numbers, divergence, zeta function, hyperpower function, tetration, pentation. 1. Introduction Traditionally, the abstract concept of infinity has been used to generically designate any extremely large result that cannot be measured or determined. However, modern mathematics attempts to introduce new concepts to address the properties of infinite numbers and operations with infinities. The system of hyperreal numbers [1], [2] is one of the approaches to define infinite and infinitesimal quantities. The hyperreals (a.k.a. nonstandard reals) *R, are an extension of the real numbers R that contains numbers greater than anything of the form 1 + 1 + … + 1, which is infinite number, and its reciprocal is infinitesimal. Also, the set theory expands the concept of infinity with introduction of various orders of infinity using ordinal numbers.
    [Show full text]
  • Primality Testing for Beginners
    STUDENT MATHEMATICAL LIBRARY Volume 70 Primality Testing for Beginners Lasse Rempe-Gillen Rebecca Waldecker http://dx.doi.org/10.1090/stml/070 Primality Testing for Beginners STUDENT MATHEMATICAL LIBRARY Volume 70 Primality Testing for Beginners Lasse Rempe-Gillen Rebecca Waldecker American Mathematical Society Providence, Rhode Island Editorial Board Satyan L. Devadoss John Stillwell Gerald B. Folland (Chair) Serge Tabachnikov The cover illustration is a variant of the Sieve of Eratosthenes (Sec- tion 1.5), showing the integers from 1 to 2704 colored by the number of their prime factors, including repeats. The illustration was created us- ing MATLAB. The back cover shows a phase plot of the Riemann zeta function (see Appendix A), which appears courtesy of Elias Wegert (www.visual.wegert.com). 2010 Mathematics Subject Classification. Primary 11-01, 11-02, 11Axx, 11Y11, 11Y16. For additional information and updates on this book, visit www.ams.org/bookpages/stml-70 Library of Congress Cataloging-in-Publication Data Rempe-Gillen, Lasse, 1978– author. [Primzahltests f¨ur Einsteiger. English] Primality testing for beginners / Lasse Rempe-Gillen, Rebecca Waldecker. pages cm. — (Student mathematical library ; volume 70) Translation of: Primzahltests f¨ur Einsteiger : Zahlentheorie - Algorithmik - Kryptographie. Includes bibliographical references and index. ISBN 978-0-8218-9883-3 (alk. paper) 1. Number theory. I. Waldecker, Rebecca, 1979– author. II. Title. QA241.R45813 2014 512.72—dc23 2013032423 Copying and reprinting. Individual readers of this publication, and nonprofit libraries acting for them, are permitted to make fair use of the material, such as to copy a chapter for use in teaching or research. Permission is granted to quote brief passages from this publication in reviews, provided the customary acknowledgment of the source is given.
    [Show full text]
  • Upper and Lower Bounds on Continuous-Time Computation
    Upper and lower bounds on continuous-time computation Manuel Lameiras Campagnolo1 and Cristopher Moore2,3,4 1 D.M./I.S.A., Universidade T´ecnica de Lisboa, Tapada da Ajuda, 1349-017 Lisboa, Portugal [email protected] 2 Computer Science Department, University of New Mexico, Albuquerque NM 87131 [email protected] 3 Physics and Astronomy Department, University of New Mexico, Albuquerque NM 87131 4 Santa Fe Institute, 1399 Hyde Park Road, Santa Fe, New Mexico 87501 Abstract. We consider various extensions and modifications of Shannon’s General Purpose Analog Com- puter, which is a model of computation by differential equations in continuous time. We show that several classical computation classes have natural analog counterparts, including the primitive recursive functions, the elementary functions, the levels of the Grzegorczyk hierarchy, and the arithmetical and analytical hierarchies. Key words: Continuous-time computation, differential equations, recursion theory, dynamical systems, elementary func- tions, Grzegorczyk hierarchy, primitive recursive functions, computable functions, arithmetical and analytical hierarchies. 1 Introduction The theory of analog computation, where the internal states of a computer are continuous rather than discrete, has enjoyed a recent resurgence of interest. This stems partly from a wider program of exploring alternative approaches to computation, such as quantum and DNA computation; partly as an idealization of numerical algorithms where real numbers can be thought of as quantities in themselves, rather than as strings of digits; and partly from a desire to use the tools of computation theory to better classify the variety of continuous dynamical systems we see in the world (or at least in its classical idealization).
    [Show full text]
  • The Notion Of" Unimaginable Numbers" in Computational Number Theory
    Beyond Knuth’s notation for “Unimaginable Numbers” within computational number theory Antonino Leonardis1 - Gianfranco d’Atri2 - Fabio Caldarola3 1 Department of Mathematics and Computer Science, University of Calabria Arcavacata di Rende, Italy e-mail: [email protected] 2 Department of Mathematics and Computer Science, University of Calabria Arcavacata di Rende, Italy 3 Department of Mathematics and Computer Science, University of Calabria Arcavacata di Rende, Italy e-mail: [email protected] Abstract Literature considers under the name unimaginable numbers any positive in- teger going beyond any physical application, with this being more of a vague description of what we are talking about rather than an actual mathemati- cal definition (it is indeed used in many sources without a proper definition). This simply means that research in this topic must always consider shortened representations, usually involving recursion, to even being able to describe such numbers. One of the most known methodologies to conceive such numbers is using hyper-operations, that is a sequence of binary functions defined recursively starting from the usual chain: addition - multiplication - exponentiation. arXiv:1901.05372v2 [cs.LO] 12 Mar 2019 The most important notations to represent such hyper-operations have been considered by Knuth, Goodstein, Ackermann and Conway as described in this work’s introduction. Within this work we will give an axiomatic setup for this topic, and then try to find on one hand other ways to represent unimaginable numbers, as well as on the other hand applications to computer science, where the algorith- mic nature of representations and the increased computation capabilities of 1 computers give the perfect field to develop further the topic, exploring some possibilities to effectively operate with such big numbers.
    [Show full text]
  • Hyperoperations and Nopt Structures
    Hyperoperations and Nopt Structures Alister Wilson Abstract (Beta version) The concept of formal power towers by analogy to formal power series is introduced. Bracketing patterns for combining hyperoperations are pictured. Nopt structures are introduced by reference to Nept structures. Briefly speaking, Nept structures are a notation that help picturing the seed(m)-Ackermann number sequence by reference to exponential function and multitudinous nestings thereof. A systematic structure is observed and described. Keywords: Large numbers, formal power towers, Nopt structures. 1 Contents i Acknowledgements 3 ii List of Figures and Tables 3 I Introduction 4 II Philosophical Considerations 5 III Bracketing patterns and hyperoperations 8 3.1 Some Examples 8 3.2 Top-down versus bottom-up 9 3.3 Bracketing patterns and binary operations 10 3.4 Bracketing patterns with exponentiation and tetration 12 3.5 Bracketing and 4 consecutive hyperoperations 15 3.6 A quick look at the start of the Grzegorczyk hierarchy 17 3.7 Reconsidering top-down and bottom-up 18 IV Nopt Structures 20 4.1 Introduction to Nept and Nopt structures 20 4.2 Defining Nopts from Nepts 21 4.3 Seed Values: “n” and “theta ) n” 24 4.4 A method for generating Nopt structures 25 4.5 Magnitude inequalities inside Nopt structures 32 V Applying Nopt Structures 33 5.1 The gi-sequence and g-subscript towers 33 5.2 Nopt structures and Conway chained arrows 35 VI Glossary 39 VII Further Reading and Weblinks 42 2 i Acknowledgements I’d like to express my gratitude to Wikipedia for supplying an enormous range of high quality mathematics articles.
    [Show full text]
  • On the Successor Function
    On the successor function Christiane Frougny LIAFA, Paris Joint work with Valérie Berthé, Michel Rigo and Jacques Sakarovitch Numeration Nancy 18-22 May 2015 Pierre Liardet Groupe d’Etude sur la Numération 1999 Peano The successor function is a primitive recursive function Succ such that Succ(n)= n + 1 for each natural number n. Peano axioms define the natural numbers beyond 0: 1 is defined to be Succ(0) Addition on natural numbers is defined recursively by: m + 0 = m m + Succ(n)= Succ(m)+ n Odometer The odometer indicates the distance traveled by a vehicule. Odometer The odometer indicates the distance traveled by a vehicule. Leonardo da Vinci 1519: odometer of Vitruvius Adding machine Machine arithmétique Pascal 1642 : Pascaline The first calculator to have a controlled carry mechanism which allowed for an effective propagation of multiple carries. French currency system used livres, sols and deniers with 20 sols to a livre and 12 deniers to a sol. Length was measured in toises, pieds, pouces and lignes with 6 pieds to a toise, 12 pouces to a pied and 12 lignes to a pouce. Computation in base 6, 10, 12 and 20. To reset the machine, set all the wheels to their maximum, and then add 1 to the rightmost wheel. In base 10, 999999 + 1 = 000000. Subtractions are performed like additions using 9’s complement arithmetic. Adding machine and adic transformation An adic transformation is a generalisation of the adding machine in the ring of p-adic integers to a more general Markov compactum. Vershik (1985 and later): adic transformation based on Bratteli diagrams: it acts as a successor map on a Markov compactum defined as a lexicographically ordered set of infinite paths in an infinite labeled graph whose transitions are provided by an infinite sequence of transition matrices.
    [Show full text]
  • Ackermann and the Superpowers
    Ackermann and the superpowers Ant´onioPorto and Armando B. Matos Original version 1980, published in \ACM SIGACT News" Modified in October 20, 2012 Modified in January 23, 2016 (working paper) Abstract The Ackermann function a(m; n) is a classical example of a total re- cursive function which is not primitive recursive. It grows faster than any primitive recursive function. It is usually defined by a general recurrence together with two \boundary" conditions. In this paper we obtain a closed form of a(m; n), which involves the Knuth superpower notation, namely m−2 a(m; n) = 2 " (n + 3) − 3. Generalized Ackermann functions, that is functions satisfying only the general recurrence and one of the bound- ary conditions are also studied. In particular, we show that the function m−2 2 " (n + 2) − 2 also belongs to the \Ackermann class". 1 Introduction and definitions The \arrow" or \superpower" notation has been introduced by Knuth [1] as a convenient way of expressing very large numbers. It is based on the infinite sequence of operators: +, ∗, ",... We shall see that the arrow notation is closely related to the Ackermann function (see, for instance, [2]). 1.1 The Superpowers Let us begin with the following sequence of integer operators, where all the operators are right associative. a × n = a + a + ··· + a (n a's) a " n = a × a × · · · × a (n a's) 2 a " n = a " a "···" a (n a's) m In general we define a " n as 1 Definition 1 m m−1 m−1 m−1 a " n = a " a "··· " a | {z } n a's m The operator " is not associative for m ≥ 1.
    [Show full text]
  • 53 More Algorithms
    Eric Roberts Handout #53 CS 106B March 9, 2015 More Algorithms Outline for Today • The plan for today is to walk through some of my favorite tree More Algorithms and graph algorithms, partly to demystify the many real-world applications that make use of those algorithms and partly to for Trees and Graphs emphasize the elegance and power of algorithmic thinking. • These algorithms include: – Google’s Page Rank algorithm for searching the web – The Directed Acyclic Word Graph format – The union-find algorithm for efficient spanning-tree calculation Eric Roberts CS 106B March 9, 2015 Page Rank Page Rank Algorithm The heart of the Google search engine is the page rank algorithm, The page rank algorithm gives each page a rating of its importance, which was described in a 1999 by Larry Page, Sergey Brin, Rajeev which is a recursively defined measure whereby a page becomes Motwani, and Terry Winograd. important if other important pages link to it. The PageRank Citation Ranking: One way to think about page rank is to imagine a random surfer on Bringing Order to the Web the web, following links from page to page. The page rank of any page is roughly the probability that the random surfer will land on a January 29, 1998 particular page. Since more links go to the important pages, the Abstract surfer is more likely to end up there. The importance of a Webpage is an inherently subjective matter, which depends on the reader’s interests, knowledge and attitudes. But there is still much that can be said objectively about the relative importance of Web pages.
    [Show full text]