home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!gossip.pyramid.com!pyramid!oracle!unrepliable!bounce
- From: ken@us.oracle.com (Ken C. Stewart)
- Newsgroups: alt.folklore.computers
- Subject: Ackermann's function
- Summary: Ackermann's function, and why the vi macros are better than FORTRAN ...
- Keywords: Ackermann's function, recursion, primitive-recursive, FORTRAN, COBOL
- Message-ID: <ken.722284796@base>
- Date: 20 Nov 92 18:39:56 GMT
- Sender: usenet@oracle.us.oracle.com (Oracle News Poster)
- Organization: Oracle Corp., Redwood Shores CA
- Lines: 26
- Nntp-Posting-Host: base.us.oracle.com
- X-Disclaimer: This message was written by an unauthenticated user
- at Oracle Corporation. The opinions expressed are those
- of the user and not necessarily those of Oracle.
-
- Can anyone remind me (ahem) of the definition of Ackermann's function (a pair
- of mutually-recursive functions I think?)? I saw it on the 'net years ago
- that it was one of the simpler examples of a recursive function that was not
- "primitive recursive", meaning, I think, that it could not be evaluated
- by iterative means, as the terminating condition for the loop to evaluate it
- depended on evaluating Ackermann's function ... I also seem to remember that
- since it required the programming language it was expressed in to support
- recursion, and since COBOL and FORTRAN (or at least some standard flavour
- thereof) don't, that COBOL and FORTRAN are not general purpose programming
- languages, whereas, say, vi macros are (see articles passim concerning
- Universal Turing Machine simulation using vi macros).
-
- Anyway, could some kind soul please post it, and explain what kind of
- recursion it embodies if not "primitive recursion"?
-
- Thanks!
-
- Ken Stewart, Telephone: (301) 907 2225
- Technical Consultant, Fax: (301) 657 0037
- Oracle Federal, Oracle*Mail: kstewart.us
- Bethesda, MD 20814 Internet: kstewart@us.oracle.com
- --
- Ken Stewart, Telephone: (301) 907 2225
- Technical Consultant, Fax: (301) 657 0037
- Oracle Federal, Oracle*Mail: kstewart.us
- Bethesda, MD 20814 Internet: kstewart@us.oracle.com
-