%I #24 Feb 02 2023 05:07:46
%S 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,
%T 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,
%U 3,5,1,1,5,3,4,2,2,4,3,5,1
%N 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.
%C Sequence appears to be periodic with period 10, although I don't have a proof for this property.
%C 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.
%e For 14: 41 - 14 = 27 --> 72 - 27 = 45 --> 54 - 45 = 9 takes three steps to reach 9, therefore a(4) = 3.
%K nonn,base
%O 1,3
%A _Felix Fröhlich_, Jun 03 2014
%E Extended by _Ray Chandler_, Aug 27 2015