Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A138977
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A138977 Number of 2 X n matrices containing a 1 in the top left entry, all entries are integer values and adjacent entries differ by at most 1. +0
3
3, 19, 121, 771, 4913, 31307, 199497, 1271251, 8100769, 51620379, 328939577, 2096095523, 13356910353, 85113990379, 542370291241, 3456136077171, 22023471375233, 140339755317947, 894284401724697, 5698631790801091, 36313284928708849, 231398467337757579 (list; graph; listen)
OFFSET

1,1

COMMENT

Horizontally or vertically adjacent entries can differ by at most 1. Diagonally adjacent entries thus differ by at most 2.

FORMULA

a(n)=b(n)+c(n), where b(1)=2, c(1)=1, b(n+1)=4*b(n)+4*c(n), c(n+1)=2*b(n)+3*c(n).

G.f.: (3-2*x)/(1-7*x+4*x^2). - N. J. A. Sloane (njas(AT)research.att.com), Apr 06 2008

EXAMPLE

a(1) = 3:

|1|1|1|

|0|1|2|

a(2) = 19:

|10|11|12| |10|11|12| |10|11|12|

|0*|0*|01| |1*|1*|1*| |21|2*|2*|

(3) (2)(1) (2) (3)(2) (1) (2)(3), total 19

CROSSREFS

Cf. A138978, A138979.

Sequence in context: A139176 A126809 A020073 this_sequence A163605 A074572 A157455

Adjacent sequences: A138974 A138975 A138976 this_sequence A138978 A138979 A138980

KEYWORD

nonn,easy

AUTHOR

Wayne VanWeerthuizen (sequences(AT)waynemv.net), Apr 05 2008

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 5 08:23 EST 2009. Contains 170348 sequences.


AT&T Labs Research