login
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.
0
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,3
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.
EXAMPLE
For 14: 41 - 14 = 27 --> 72 - 27 = 45 --> 54 - 45 = 9 takes three steps to reach 9, therefore a(4) = 3.
CROSSREFS
Sequence in context: A293509 A090343 A135448 * A222229 A168360 A342116
KEYWORD
nonn,base
AUTHOR
Felix Fröhlich, Jun 03 2014
EXTENSIONS
Extended by Ray Chandler, Aug 27 2015
STATUS
approved