cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-3 of 3 results.

A073143 Numbers k such that A073142(n) = f^k(A073142(n)), where f: m -> |m - reverse(m)|.

Original entry on oeis.org

1, 2, 14, 22, 12
Offset: 1

Views

Author

Klaus Brockhaus, Jul 17 2002

Keywords

Comments

Presumably a(6) = 17. a(n) is the length of the periodic part (cf. A072137) of the trajectory of A073142(n). Question: Does every k > 0 appear in this sequence?

Examples

			a(3) = 14 since A073142(2) = 11436678 is the smallest solution of x = f^14(x).
		

Crossrefs

Extensions

Offset changed by N. J. A. Sloane, Dec 01 2007

A073144 Smallest m such that the 'Reverse and Subtract' trajectory (cf. A072137) of m leads to A073142(n).

Original entry on oeis.org

0, 1012, 10001145, 100000114412, 100010505595
Offset: 1

Views

Author

Klaus Brockhaus, Jul 17 2002

Keywords

Comments

Presumably a(6) = 1000000011011012.

Examples

			1012 -> 1089 -> 8712 -> 6534 -> 2178 = A073142(1) and no m < 1012 leads to 2178.
		

Crossrefs

Extensions

Offset changed by N. J. A. Sloane, Dec 01 2007

A072141 Numbers n such that two applications of 'Reverse and Subtract' lead to n, whereas one application does not lead to n.

Original entry on oeis.org

2178, 6534, 21978, 65934, 219978, 659934, 2199978, 6599934, 21782178, 21999978, 65346534, 65999934, 217802178, 219999978, 653406534, 659999934, 2178002178, 2197821978, 2199999978, 6534006534, 6593465934, 6599999934
Offset: 1

Views

Author

Klaus Brockhaus, Jun 24 2002

Keywords

Comments

There are two four-digit terms in the sequence. Further terms are obtained (a) by inserting at the center of these terms any number of 9's and (b) by concatenating a term any number of times with itself and inserting an equal number of 0's at all junctures. Method (b) may be applied recursively to all terms. - Revised thanks to a comment from Hans Havermann, Jan 27 2004.
Solutions to x = f^k(x), x <> f^j(x) for j < k, where f: n -> |n - reverse(n)|, for period lengths k <= 22 are given by:
.k..smallest.solution..smallest.n.with.period.k..sequence
.1..................0.........................0.......---
.2...............2178......................1012..(this one)
14...........11436678..................10001145...A072142
22.......108811891188..............100000114412...A072143
12.......118722683079..............100010505595...A072718
17...1186781188132188..........1000000011011012...A072719
I still have no answer to the question if there exist solutions for other values of k. Random tests for larger n (up to 50 digits) have shown that periods 1 and 2 are very frequent (> 90 %), period 14 is not unusual (7 to 8 %), periods 22, 12 and 17 are very rare and other periods did not appear.
I conjecture that for some k there are no solutions, while in other cases the minimal solutions will have 20, 24, 28, ... digits (which however are very hard to find).

Examples

			6534 -> |6534 - 4356| = 2178 -> |2178 - 8712| = 6534.
		

Crossrefs

Formula

n = f(f(n)), n <> f(n), where f: x -> |x - reverse(x)|.

Extensions

More terms from Ray Chandler, Oct 09 2017
Showing 1-3 of 3 results.