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.

A229640 Number of defective 3-colorings of a 4 X n 0..2 array connected horizontally, diagonally and antidiagonally with exactly two mistakes, and colors introduced in row-major 0..2 order.

This page as a plain text file.
%I A229640 #8 Apr 28 2021 01:23:00
%S A229640 0,202,1496,10227,77620,535671,3723370,25022190,166505166,1090285513,
%T A229640 7066637900,45333775056,288422981684,1821192582307,11424271291526,
%U A229640 71241698297248,441922120307156,2728236364222397,16770150954151850
%N A229640 Number of defective 3-colorings of a 4 X n 0..2 array connected horizontally, diagonally and antidiagonally with exactly two mistakes, and colors introduced in row-major 0..2 order.
%C A229640 Row 4 of A229637.
%H A229640 R. H. Hardin, <a href="/A229640/b229640.txt">Table of n, a(n) for n = 1..210</a>
%F A229640 Empirical: a(n) = 9*a(n-1) + 21*a(n-2) - 270*a(n-3) - 357*a(n-4) + 2967*a(n-5) + 4906*a(n-6) - 10083*a(n-7) - 18957*a(n-8) + 15750*a(n-9) + 31293*a(n-10) - 13335*a(n-11) - 23929*a(n-12) + 6426*a(n-13) + 7824*a(n-14) - 1336*a(n-15) - 1152*a(n-16) + 96*a(n-17) + 64*a(n-18) for n > 21.
%e A229640 Some solutions for n=3:
%e A229640   0 1 0   0 1 1   0 0 1   0 1 1   0 0 1   0 1 1   0 1 0
%e A229640   1 2 2   0 2 1   2 0 1   1 2 0   2 0 2   2 0 2   0 2 2
%e A229640   1 0 1   0 2 1   2 0 2   0 2 1   2 0 2   2 0 1   1 2 1
%e A229640   1 0 2   1 2 1   1 0 1   0 2 1   1 0 1   2 0 2   1 2 1
%K A229640 nonn
%O A229640 1,2
%A A229640 _R. H. Hardin_, Sep 27 2013