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 A319667 #36 Jun 25 2021 01:40:27 %S A319667 22,1111,101101,10011001,1000110001,100001100001,10000011000001, %T A319667 1000000110000001,100000001100000001,10000000011000000001, %U A319667 1000000000110000000001,100000000001100000000001,10000000000011000000000001,1000000000000110000000000001 %N A319667 Palindromes a(n) = (10^n + 1)*(10^(n+1) + 1). %H A319667 Colin Barker, <a href="/A319667/b319667.txt">Table of n, a(n) for n = 0..450</a> %H A319667 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (111,-1110,1000). %F A319667 From _Colin Barker_, Sep 25 2018: (Start) %F A319667 G.f.: 11*(2 - 121*x + 200*x^2) / ((1 - x)*(1 - 10*x)*(1 - 100*x)). %F A319667 a(n) = 111*a(n-1) - 1110*a(n-2) + 1000*a(n-3) for n>2. %F A319667 (End) %e A319667 For n = 3: (10^3 + 1)(10^4 + 1) = 1001 * 10001 = 10011001, so a(3) = 10011001. %p A319667 seq((10^n+1)*(10^(n+1)+1),n=0..20); # _Muniru A Asiru_, Sep 26 2018 %o A319667 (PARI) a(n) = (10^n+1)*(10^(n+1)+1) \\ _Felix Fröhlich_, Sep 25 2018 %o A319667 (PARI) Vec(11*(2 - 121*x + 200*x^2) / ((1 - x)*(1 - 10*x)*(1 - 100*x)) + O(x^15)) \\ _Colin Barker_, Sep 25 2018 %o A319667 (GAP) a:=[22,1111,101101];; for n in [4..20] do a[n]:=111*a[n-1]-1110*a[n-2]+1000*a[n-3]; od; a; # _Muniru A Asiru_, Sep 26 2018 %K A319667 nonn,base,easy %O A319667 0,1 %A A319667 _Gabriel Osorio_, Sep 25 2018 %E A319667 More terms from _Felix Fröhlich_, Sep 25 2018