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!)
A228734 Number of arrays of the median of three adjacent elements of some length n+2 0..2 array. 1

%I #12 Sep 02 2013 13:02:00

%S 3,9,27,77,185,447,1071,2593,6333,15513,38039,93213,228279,558849,

%T 1367945,3348489,8196847,20065943,49122291,120253773,294386457,

%U 720668887,1764221329,4318870217,10572732933,25882394413,63360952825,155109705901

%N Number of arrays of the median of three adjacent elements of some length n+2 0..2 array.

%H R. H. Hardin, <a href="/A228734/b228734.txt">Table of n, a(n) for n = 1..210</a>

%F Empirical: a(n) = 3*a(n-1) -a(n-2) -2*a(n-3) +a(n-4) +5*a(n-5) -2*a(n-6) +a(n-7) +a(n-9) +a(n-10) -2*a(n-12) -a(n-13) +a(n-14)

%e Some solutions for n=4

%e ..1..1..2..0..1..2..1..0..2..1..0..2..0..0..0..1

%e ..2..2..1..2..2..1..0..2..2..2..0..1..2..2..1..0

%e ..1..0..2..0..1..2..0..1..1..1..0..0..2..1..0..1

%e ..1..0..0..0..2..2..0..1..1..0..2..1..1..2..0..2

%Y Column 2 of A228740.

%K nonn

%O 1,1

%A _R. H. Hardin_ Sep 01 2013

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 April 20 10:25 EDT 2024. Contains 371819 sequences. (Running on oeis4.)