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.

A206454 Number of 0..7 arrays of length n avoiding the consecutive pattern 0..7.

This page as a plain text file.
%I A206454 #16 Jan 10 2025 18:21:11
%S A206454 8,64,512,4096,32768,262144,2097152,16777215,134217712,1073741632,
%T A206454 8589932544,68719456256,549755617280,4398044676096,35184355311616,
%U A206454 281474825715713,2251798471507992,18014386698322304,144115084996645888,1152920611253710848,9223364340274069504
%N A206454 Number of 0..7 arrays of length n avoiding the consecutive pattern 0..7.
%C A206454 Column 7 of A206455.
%H A206454 R. H. Hardin, <a href="/A206454/b206454.txt">Table of n, a(n) for n = 1..210</a>
%H A206454 <a href="/index/Rec#order_08">Index entries for linear recurrences with constant coefficients</a>, signature (8,0,0,0,0,0,0,-1).
%F A206454 a(n) = 8*a(n-1) - a(n-8).
%F A206454 a(n) = Sum_{i=0..floor(n/8)} (-1)^i*8^(n-8*i)*binomial(n-7*i,i).
%F A206454 G.f.: x*(8 - x^7) / (1 - 8*x + x^8). - _Colin Barker_, Jun 16 2018
%t A206454 Table[Sum[(-1)^i*8^(n-8*i)*Binomial[n-7*i,i],{i,0,Floor[n/8]}],{n,20}] (* _Stefano Spezia_, Feb 12 2023 *)
%t A206454 LinearRecurrence[{8,0,0,0,0,0,0,-1},{8,64,512,4096,32768,262144,2097152,16777215},30] (* _Harvey P. Dale_, Jan 10 2025 *)
%Y A206454 Cf. A206455.
%K A206454 nonn,easy
%O A206454 1,1
%A A206454 _R. H. Hardin_, Feb 07 2012