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 A099177 #8 Feb 12 2023 16:03:33 %S A099177 0,1,2,8,20,60,160,448,1216,3344,9120,24960,68160,186304,508928, %T A099177 1390592,3799040,10379520,28357120,77473792,211661824,578272256, %U A099177 1579868160,4316282880,11792302080,32217174016,88018952192,240472260608 %N A099177 a(n)=2a(n-1)+4a(n-2)-4a(n-3)-4a(n-4). %C A099177 Form the 6 node graph with matrix A=[1,1,1,1,0,0; 1,1,0,0,1,1; 1,0,0,0,0,0; 1,0,0,0,0,0; 0,1,0,0,0,0; 0,1,0,0,0,0]. Then A099177 counts walks of length n between the degree 5 vertices. %H A099177 <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (2,4,-4,-4). %F A099177 G.f.: x/((1-2x^2)(1-2x-2x^2)); a(n)=(3+sqrt(3))(1+sqrt(3))^n/12+(3-sqrt(3))(1-sqrt(3))^n/12-2^((n-4)/2)(1+(-1)^n); a(n)=A002605(n)/2-2^((n-4)/2)(1+(-1)^n). %F A099177 a(n)=sum{k=0..floor((n+1)/2), binomial(n-k+1, k-1)2^(n-k)} - _Paul Barry_, Oct 23 2004 %t A099177 LinearRecurrence[{2,4,-4,-4},{0,1,2,8},30] (* _Harvey P. Dale_, Feb 12 2023 *) %Y A099177 Cf. A099176. %K A099177 easy,nonn %O A099177 0,3 %A A099177 _Paul Barry_, Oct 02 2004