cp's OEIS Frontend

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.

A384599 Expansion of (1+3*x+2*x^2) / (1-4*x^2-2*x^3).

This page as a plain text file.
%I A384599 #12 Jun 04 2025 17:46:12
%S A384599 1,3,6,14,30,68,148,332,728,1624,3576,7952,17552,38960,86112,190944,
%T A384599 422368,936000,2071360,4588736,10157440,22497664,49807232,110305536,
%U A384599 244224256,540836608,1197508096,2651794944,5871705600,13002195968,28790412288,63752195072
%N A384599 Expansion of (1+3*x+2*x^2) / (1-4*x^2-2*x^3).
%C A384599 Number of walks of length n on the following graph starting at vertex 2:
%C A384599            3
%C A384599           /|
%C A384599      0-1-2 |
%C A384599           \|
%C A384599            4.
%H A384599 Sean A. Irvine, <a href="https://oeis.org/wiki/User:Sean_A._Irvine/Walks_on_Graphs#5_vertices">Walks on Graphs</a>.
%H A384599 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (0,4,2).
%e A384599 a(2)=6 because we have the walks 2-1-0, 2-1-2, 2-3-2, 2-3-4, 2-4-2, 2-4-3.
%p A384599 a:= n-> (<<0|1|0>, <0|0|1>, <2|4|0>>^n. <<1,3,6>>)[1,1]:
%p A384599 seq(a(n), n=0..31);  # _Alois P. Heinz_, Jun 04 2025
%t A384599 CoefficientList[Series[(1 + 3*x + 2*x^2)/(1 - 4*x^2 - 2*x^3), {x, 0, 31}], x] (* _Michael De Vlieger_, Jun 04 2025 *)
%Y A384599 Cf. A384598 (vertices 0 and 1), A384600 (vertex 3), A062112 (missing edge {3,4}), A382683 (missing edge {0,1}).
%K A384599 nonn,walk,easy
%O A384599 0,2
%A A384599 _Sean A. Irvine_, Jun 04 2025