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 A336621 #18 May 12 2022 15:17:54 %S A336621 2,3,4,5,7,8,9,10,11,16,23,26,27,29,30,32,34,36,37,38,40,43,45,46,47, %T A336621 50,53,54,55,57,60,61,62,63,64,67,68,70,73,74,75,76,77,78,80,83,86,87, %U A336621 89,90,92,98,99,100,101,102,103,104,105,106,107,108,109,110,111,116,120,123,126,127,129,130,132 %N A336621 Lexicographically earliest sequence of distinct positive terms starting with a(1) = 2 such that the product of the last two digits of the sequence (when extended with a new term) is not in the sequence. %e A336621 As a(1) = 2 and a(2) = 3, the product 2 * 3 = 6 cannot be in the sequence; %e A336621 as a(2) = 3 and a(3) = 4, the product 3 * 4 = 12 cannot be in the sequence; %e A336621 (...) %e A336621 as a(6) = 8 and a(7) = 9, the product 8 * 9 = 72 cannot be in the sequence; %e A336621 as a(8) = 10, the product 1 * 0 = 0 cannot be in the sequence; %e A336621 as a(9) = 11, the product 1 * 1 = 1 cannot be in the sequence; etc. %t A336621 lst={};a[1]=2;a[n_]:=a[n]=Block[{k=2},While[s=Array[a,n-1];AppendTo[lst,p=Times@@(Flatten[IntegerDigits/@Join[Last@s,{k}]][[-2;;]])];MemberQ[s,p]||MemberQ[s,k]||MemberQ[lst,k],k++;lst=Most@lst];k];Array[a,73] (* _Giorgos Kalogeropoulos_, May 12 2022 *) %Y A336621 Cf. A203565. %K A336621 base,nonn %O A336621 1,1 %A A336621 _Eric Angelini_ and _Jean-Marc Falcoz_, Jul 27 2020