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.

A221513 Number of 0..6 arrays of length n with each element differing from at least one neighbor by 2 or more, starting with 0.

This page as a plain text file.
%I A221513 #9 Oct 18 2017 13:28:26
%S A221513 0,5,21,150,884,5513,33860,208756,1285694,7921082,48795589,300602292,
%T A221513 1851824780,11407972817,70277580919,432937512858,2667065000212,
%U A221513 16430167559715,101216282472118,623532037268338,3841202145282104
%N A221513 Number of 0..6 arrays of length n with each element differing from at least one neighbor by 2 or more, starting with 0.
%C A221513 Column 6 of A221515.
%H A221513 R. H. Hardin, <a href="/A221513/b221513.txt">Table of n, a(n) for n = 1..210</a>
%F A221513 Empirical: a(n) = 3*a(n-1) +14*a(n-2) +29*a(n-3) +28*a(n-4) +a(n-5) +27*a(n-6) +8*a(n-7) +2*a(n-8).
%F A221513 Empirical g.f.: x^2*(5 + 6*x + 17*x^2 - 5*x^3 + 12*x^4 + 2*x^5 + 2*x^6) / (1 - 3*x - 14*x^2 - 29*x^3 - 28*x^4 - x^5 - 27*x^6 - 8*x^7 - 2*x^8). - _Colin Barker_, Oct 18 2017
%e A221513 Some solutions for n=6
%e A221513 ..0....0....0....0....0....0....0....0....0....0....0....0....0....0....0....0
%e A221513 ..4....4....3....5....2....6....2....3....4....2....5....4....4....6....5....5
%e A221513 ..3....0....0....2....4....1....0....6....4....4....4....0....1....2....5....1
%e A221513 ..1....0....4....5....0....4....0....2....0....0....1....3....4....0....2....2
%e A221513 ..2....4....0....1....1....3....5....0....4....4....2....5....0....0....3....5
%e A221513 ..4....1....3....4....3....5....2....5....0....2....6....0....3....6....0....2
%K A221513 nonn
%O A221513 1,2
%A A221513 _R. H. Hardin_, Jan 18 2013