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 A332177 #34 Sep 08 2022 08:46:25 %S A332177 0,10,1,11,2,12,3,13,4,14,5,15,6,16,7,17,8,18,9,19,25,71,24,23,51,32, %T A332177 115,117,33,61,171,91,52,711,133,1117,125,42,116,81,313,1171,152,118, %U A332177 215,124,1711,251,142,7111,512,181,521,214,111117,26,222,123,132,161,241,111171,34,111711,43,117111,62,412 %N A332177 The digitsum of a(n) is the product of the digits of a(n+1). %C A332177 This is the lexicographically earliest infinite sequence of distinct nonnegative terms with this property; a(1) and a(2) are the only terms containing a zero. %H A332177 Carole Dubois, <a href="/A332177/b332177.txt">Table of n, a(n) for n = 1..1342</a> %e A332177 a(20) = 19 and a(21) = 25; the digitsum of 19 is 10 and 10 is 2*5; %e A332177 a(21) = 25 and a(22) = 71; the digitsum of 25 is 7 and 7 is 7*1; %e A332177 a(22) = 71 and a(23) = 24; the digitsum of 71 is 8 and 8 is 2*4; %e A332177 a(23) = 24 and a(25) = 23; the digitsum of 24 is 6 and 6 is 2*3; etc. %o A332177 (Magma) a:=[0,10]; for m in [3..70] do k:=1; while k in a or (IsPrime(&+Intseq(k)) and &+Intseq(k) ge 11) or &*Intseq(k) ne &+Intseq(a[m-1]) do k:=k+1; end while; Append(~a,k); end for; a; // _Marius A. Burtea_, Oct 16 2020 %Y A332177 Cf. A330521. %K A332177 base,nonn %O A332177 1,2 %A A332177 _Eric Angelini_ and _Carole Dubois_, Oct 02 2020