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!)
A197242 T(n,k) = number of n X k 0..4 arrays with each element x equal to the number of its horizontal and vertical neighbors equal to 4,3,2,1,2 for x=0,1,2,3,4. 7
1, 1, 1, 1, 2, 1, 1, 5, 5, 1, 1, 8, 15, 8, 1, 1, 18, 46, 46, 18, 1, 1, 37, 156, 231, 156, 37, 1, 1, 73, 507, 1221, 1221, 507, 73, 1, 1, 151, 1637, 6284, 10649, 6284, 1637, 151, 1, 1, 306, 5338, 32754, 89527, 89527, 32754, 5338, 306, 1, 1, 621, 17401, 170928, 750414, 1209990, 750414, 170928, 17401, 621, 1 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
1,5
COMMENTS
Every 0 is next to 0 4's, every 1 is next to 1 3's, every 2 is next to 2 2's, every 3 is next to 3 1's, every 4 is next to 4 2's.
LINKS
EXAMPLE
Table starts:
1 1 1 1 1 1 1 1
1 2 5 8 18 37 73 151
1 5 15 46 156 507 1637 5338
1 8 46 231 1221 6284 32754 170928
1 18 156 1221 10649 89527 750414 6315333
1 37 507 6284 89527 1209990 16248436 220537819
1 73 1637 32754 750414 16248436 352842084 7724652441
1 151 5338 170928 6315333 220537819 7724652441 271939715540
1 306 17401 888997 53202193 2991520965 168523962450 9558380534198
1 621 56648 4628482 448046100 40512793371 3676078979774 336139854722483
...
Some solutions containing all values 0 to 4 for n=6 and k=4:
2 2 1 0 0 2 2 2 0 0 0 0 0 0 0 0 0 2 2 2
2 2 3 1 0 2 4 2 2 2 2 0 0 2 2 2 0 2 4 2
0 0 1 0 1 2 2 2 2 4 2 0 0 2 4 2 0 2 2 2
2 2 2 0 3 1 0 1 2 2 2 1 0 2 2 2 0 1 0 0
2 4 2 0 1 1 1 3 0 0 1 3 0 1 0 0 0 3 1 0
2 2 2 0 1 3 1 1 0 0 0 1 1 3 1 0 0 1 0 0
CROSSREFS
Columns 2..7 are A197211, A197237, A197238, A197239, A197240, A197241.
Main diagonal is A197236.
Sequence in context: A176625 A197342 A197217 * A128564 A196636 A196641
KEYWORD
nonn,tabl
AUTHOR
R. H. Hardin, Oct 12 2011
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 June 7 18:23 EDT 2024. Contains 373206 sequences. (Running on oeis4.)