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.
%I A221824 #6 Jul 23 2025 02:16:08 %S A221824 1,3,3,6,31,6,13,252,252,13,28,2113,6711,2113,28,60,17684,190756, %T A221824 190756,17684,60,129,147920,5374720,18636989,5374720,147920,129,277, %U A221824 1237439,151592441,1804472268,1804472268,151592441,1237439,277,595,10351593 %N A221824 T(n,k)=Number of nXk arrays of occupancy after each element stays put or moves to some horizontal or vertical neighbor, without consecutive moves in the same direction. %C A221824 Table starts %C A221824 ....1........3............6.............13..............28..............60 %C A221824 ....3.......31..........252...........2113...........17684..........147920 %C A221824 ....6......252.........6711.........190756.........5374720.......151592441 %C A221824 ...13.....2113.......190756.......18636989......1804472268....174820457922 %C A221824 ...28....17684......5374720.....1804472268....597819977898.198296512455330 %C A221824 ...60...147920....151592441...174820457922.198296512455330 %C A221824 ..129..1237439...4274867564.16936005698353 %C A221824 ..277.10351593.120554575328 %C A221824 ..595.86594795 %C A221824 .1278 %H A221824 R. H. Hardin, <a href="/A221824/b221824.txt">Table of n, a(n) for n = 1..59</a> %e A221824 Some solutions for n=3 k=4 %e A221824 ..0..0..0..0....0..1..0..2....0..0..1..2....0..2..1..1....0..2..1..0 %e A221824 ..2..3..1..3....3..3..1..0....3..2..1..0....0..2..1..0....2..0..4..0 %e A221824 ..1..0..1..1....1..0..1..0....0..1..2..0....1..0..4..0....1..1..1..0 %Y A221824 Column 1 is A002478 %K A221824 nonn,tabl %O A221824 1,2 %A A221824 _R. H. Hardin_ Jan 26 2013