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.

A077014 Number of ways that a directed line (or river) that starts in the south can cross an east-west road n times.

Original entry on oeis.org

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
Offset: 0

Views

Author

N. J. A. Sloane and Jon Wild, Nov 29 2002

Keywords

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.

Programs

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).