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 A254659 #23 Sep 08 2022 08:46:11 %S A254659 1,9,77,661,5673,48689,417877,3586461,30781073,264180889,2267352477, %T A254659 19459724261,167014556473,1433415073089,12302393367077, %U A254659 105586222302061,906201745251873,7777545073525289,66751369314461677,572898679883319861,4916946285638867273 %N A254659 Numbers of words on alphabet {0,1,...,8} with no subwords ii, where i is from {0,1,2,3}. %C A254659 a(n) is the number of nonary sequences of length n such that no two consecutive terms have distance 7. - _David Nacin_, May 31 2017 %H A254659 Colin Barker, <a href="/A254659/b254659.txt">Table of n, a(n) for n = 0..1000</a> %H A254659 <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (8,5). %F A254659 G.f.: (1 + x)/(1 - 8*x - 5*x^2). %F A254659 a(n) = 8*a(n-1) + 5*a(n-2) with n>1, a(0) = 1, a(1) = 9. %F A254659 a(n) = ((4-r)^n*(-5+r) + (4+r)^n*(5+r)) / (2*r), where r=sqrt(21). - _Colin Barker_, Jan 22 2017 %t A254659 RecurrenceTable[{a[0] == 1, a[1] == 9, a[n] == 8 a[n - 1] + 5 a[n - 2]}, a[n], {n, 0, 20}] %o A254659 (Magma) [n le 1 select 9^n else 8*Self(n)+5*Self(n-1): n in [0..20]]; %o A254659 (PARI) Vec((1 + x)/(1 - 8*x -5*x^2) + O(x^30)) \\ _Colin Barker_, Jan 22 2017 %Y A254659 Cf. A015575, A055099, A126473, A126501, A126528, A254598, A254602. %K A254659 nonn,easy %O A254659 0,2 %A A254659 _Milan Janjic_, Feb 04 2015