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.

A241174 Smallest number requiring n steps to reach a palindrome under the "add a digit" process described in A241173.

This page as a plain text file.
%I A241174 #24 Mar 18 2019 11:15:49
%S A241174 0,10,13,12,17,89,1072,1066,1058,1049,1045,1039,1036,1028,1019,1017,
%T A241174 1009,1007,998,994,988,100953,100944,100935,100926,100917,100908,
%U A241174 100899,100890,100882,100874,100866,100858,100849,100841,100833,100825,100817,100809,100801,100792,100784,100777
%N A241174 Smallest number requiring n steps to reach a palindrome under the "add a digit" process described in A241173.
%C A241174 Beginning with a(6), the palindromic sinks appear to be, for positive n, (10^n+1)*(10^(n+1)+1):
%C A241174 n=1 a(6)-a(20) 1072 to 988
%C A241174 n=2 a(21)-a(157) 100953 to 99980
%C A241174 n=3 a(158)-a(1461) 10^7+9827 to 10^7-20
%C A241174 n=4 a(1462)-a(14078) 10^9+98720 to 10^9-20
%C A241174 n=5 a(14079)-a(137233) 10^11+988091 to 10^11-20
%C A241174 n=6 a(137234)-a(1346435) 10^13+9885167 to 10^13-20
%C A241174 n=7 a(1346436)-a(13265907) 10^15+98879696 to 10^15-20
%C A241174 etc. - _Hans Havermann_, Apr 23 2014
%D A241174 Eric Angelini, Posting to Sequence Fans Mailing List, Apr 20 2014
%H A241174 Hans Havermann, <a href="/A241174/b241174.txt">Table of n, a(n) for n = 0..1500</a>
%t A241174 A241173[n_] := Module[{c, nx},
%t A241174    If[n == IntegerReverse[n], Return[0]];
%t A241174    c = 1; nx = n;
%t A241174    While[ ! AnyTrue[nx = Union[Flatten[nx + IntegerDigits[nx]]], # == IntegerReverse[#] &], c++];
%t A241174    Return[c]];
%t A241174 A241174[n_] := Module[{i = 0},
%t A241174    While[A241173[i] != n, i++];
%t A241174    Return[i]];
%t A241174 Table[A241174[i], {i, 0, 5}] (* _Robert Price_, Mar 17 2019 *)
%Y A241174 Cf. A241173, A002113.
%Y A241174 Related sequences: A241173, A241174, A241175, A241176, A241177, A241178, A241179, A241180, A241181, A241182, A241183.
%K A241174 nonn,base
%O A241174 0,2
%A A241174 _N. J. A. Sloane_, Apr 23 2014
%E A241174 More terms from _Hans Havermann_, Apr 23 2014