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.
%I A063050 #8 Oct 21 2019 19:28:11 %S A063050 1,1,1,1,1,1,1,1,0,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, %T A063050 1,1,1,1,1,1,2,1,2,1,2,1,1,1,1,1,1,1,1,1,1,1,1,2,1,2,1,2,1,1,1,1,1,1, %U A063050 1,1,1,1,1,1,2,1,2,1,2,1,1,1,1,0,1,1,1,2,2,2,1,1,1,1,1,1,1,1,2,2,2,1,1,1,1 %N A063050 a(n) = number of 'Reverse and Add!' operations that have to be applied to the n-th term of A063049 in order to obtain a term in the trajectory of 196. %H A063050 <a href="/index/Res#RAA">Index entries for sequences related to Reverse and Add!</a> %e A063050 394 is a term of A063049. One 'Reverse and Add!' operation applied to 394 leads to a term (887) in the trajectory of 196, so the corresponding term of the present sequence is 1. %t A063050 limit = 10^3; x = NestList[ # + IntegerReverse[#] &, 196, limit]; %t A063050 y = Select[Range[197, 4942], %t A063050 Intersection[NestList[ # + IntegerReverse[#] &, #, limit], %t A063050 x] != {} &]; %t A063050 Table[ %t A063050 Length@NestWhileList[# + IntegerReverse[#] &, %t A063050 y[[i]], ! MemberQ[x, #] &] - 1, {i, Length[y]}] %t A063050 (* _Robert Price_, Oct 21 2019 *) %Y A063050 A023108, A033865, A006960, A063049. %K A063050 base,nonn %O A063050 0,41 %A A063050 _Klaus Brockhaus_, Jul 07 2001