File revadd.icn

Summary

###########################################################################

	File:     revadd.icn

	Subject:  Procedure to generate reverse-summed integers

	Author:   Ralph E. Griswold

	Date:     May 2, 2001

###########################################################################

   This file is in the public domain.

###########################################################################

  This procedure is designed to help explore the number-theory problem
  in which an integer is added to its (digit) reversal until a
  palindrome appears.

  It is unknown if this process terminates for all integers.  For
  example, for 196, it appears not to, but no proof, to our
  knowledge, exists for nontermination.  The radix used is important.
  For bases that are powers of 2, it can be proved that there are
  integers for which the process does not terminate in a palindrome.

###########################################################################

  Requires:  Large integer arithmetic

###########################################################################
Procedures:
revadd

This file is part of the (main) package.

Source code.

Details
Procedures:

revadd(i)



This page produced by UniDoc on 2021/04/15 @ 23:59:54.