Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A138978
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A138978 Number of 3 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
9, 121, 1665, 22979, 317259, 4380445, 60481881, 835088891, 11530288395, 159201677509, 2198138788809, 30350271502115, 419054058355851, 5785987905016141, 79888633386248025, 1103043049708026539 (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)+d(n), where b(1)=1, c(1)=6, d(1)=2,

b(n+1)=3*b(n)+2*c(n)+1*d(n)

c(n+1)=12*b(n)+10*c(n)+6*d(n)

d(n+1)=2*b(n)+2*c(n)+3*d(n)

MAPLE

a:= n-> (Matrix([1, 6, 2]). Matrix([[3, 12, 2], [2, 10, 2], [1, 6, 3]])^(n-1) .Matrix([[1], [1], [1]]))[1, 1]: seq (a(n), n=1..20); [From Alois P. Heinz (heinz(AT)hs-heilbronn.de), Aug 28 2008]

CROSSREFS

Cf. A138977, A138979.

Sequence in context: A017102 A167722 A103930 this_sequence A046184 A084769 A050353

Adjacent sequences: A138975 A138976 A138977 this_sequence A138979 A138980 A138981

KEYWORD

nonn,easy

AUTHOR

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

EXTENSIONS

More terms from Alois P. Heinz (heinz(AT)hs-heilbronn.de), Aug 28 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 November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research