The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A261711 Triangle read by rows: T(n,k) is the number of words over alphabet {0,1,2,3} having exactly k occurrences of the string 01, where n>=0 and k>=0. 1
1, 4, 15, 1, 56, 8, 209, 46, 1, 780, 232, 12, 2911, 1091, 93, 1, 10864, 4912, 592, 16, 40545, 21468, 3366, 156, 1, 151316, 91824, 17784, 1200, 20, 564719, 386373, 89238, 8010, 235, 1, 2107560, 1604984, 430992, 48624, 2120, 24, 7865521, 6598282, 2021103, 275724, 16255, 330, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
Rigoberto Flórez, Leandro Junes, and José L. Ramírez, Further Results on Paths in an n-Dimensional Cubic Lattice, Journal of Integer Sequences, Vol. 21 (2018), Article 18.1.2.
Ran Pan, Problem 5, Project P.
FORMULA
G.f.: 1/(1-4*x-(y-1)*x^2).
EXAMPLE
1
4
15 1
56 8
209 46 1
780 232 12
2911 1091 93 1
10864 4912 592 16
40545 21468 3366 156 1
151316 91824 17784 8010 20
MAPLE
b:= proc(n, t) option remember; expand(`if`(n=0, 1,
add(b(n-1, i)*`if`(t=1 and i=2, x, 1), i=1..4)))
end:
T:= n-> (p-> seq(coeff(p, x, i), i=0..degree(p)))(b(n, 0)):
seq(T(n), n=0..12); # Alois P. Heinz, Aug 29 2015
MATHEMATICA
CoefficientList[#, y]& /@ CoefficientList[1/(1-4x-(y-1)x^2) + O[x]^13, x] // Flatten (* Jean-François Alcover, Jan 10 2023 *)
CROSSREFS
Column k=0 is A001353(n+1). The triangle is shifted from A207823.
Sequence in context: A097548 A218047 A344938 * A128235 A357116 A024547
KEYWORD
easy,nonn,tabf
AUTHOR
Ran Pan, Aug 29 2015
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 21 15:14 EDT 2024. Contains 372738 sequences. (Running on oeis4.)