|
|
A077014
|
|
Number of ways that a directed line (or river) that starts in the south can cross an east-west road n times.
|
|
3
|
|
|
2, 1, 2, 2, 6, 8, 28, 42, 162, 262, 1076, 1828, 7852, 13820, 61388, 110954, 505878, 933458, 4345660, 8152860, 38608380, 73424650, 352686780, 678390116, 3298016912, 6405031050, 31461151108, 61606881612, 305327366988, 602188541928, 3007925909860, 5969806669034
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
COMMENTS
|
The difference between this and A005316 is that here the river can also end up in the southwest. In A005316 it was required to end up in the northeast or southeast.
Or, number of ways that an undirected line that starts and ends anywhere can cross an east-west road n times.
|
|
LINKS
|
|
|
FORMULA
|
Equals A005316(n) if n odd, or 2*A005316(n) if n even (because then each solution to A005316 can be reflected in a vertical mirror to give another solution).
|
|
MATHEMATICA
|
A005316 = Cases[Import["https://oeis.org/A005316/b005316.txt", "Table"], {_, _}][[All, 2]];
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|