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.

A243359 Number of steps it takes the terms in A029742 and their reversals to reach the value 9 when the smaller term is successively subtracted from the larger term.

Original entry on oeis.org

1, 1, 5, 3, 4, 2, 2, 4, 3, 5, 1, 1, 5, 3, 4, 2, 2, 4, 3, 5, 1, 1, 5, 3, 4, 2, 2, 4, 3, 5, 1, 1, 5, 3, 4, 2, 2, 4, 3, 5, 1, 1, 5, 3, 4, 2, 2, 4, 3, 5, 1, 1, 5, 3, 4, 2, 2, 4, 3, 5, 1, 1, 5, 3, 4, 2, 2, 4, 3, 5, 1, 1, 5, 3, 4, 2, 2, 4, 3, 5, 1
Offset: 1

Views

Author

Felix Fröhlich, Jun 03 2014

Keywords

Comments

Sequence appears to be periodic with period 10, although I don't have a proof for this property.
If the successive subtraction algorithm is applied to the terms of A002113, the resulting value is always 0 after one iteration, therefore only the values resulting from the terms of that sequence's complement A029742 are taken into account for this sequence.

Examples

			For 14: 41 - 14 = 27 --> 72 - 27 = 45 --> 54 - 45 = 9 takes three steps to reach 9, therefore a(4) = 3.
		

Extensions

Extended by Ray Chandler, Aug 27 2015