Number of arrays of the median of three adjacent elements of some length-(n+2) 0..4 array.

A228736

Number of arrays of the median of three adjacent elements of some length-(n+2) 0..4 array.

Terms

    a(0) =5a(1) =25a(2) =125a(3) =545a(4) =1943a(5) =6797a(6) =23627a(7) =83391a(8) =298239a(9) =1073743a(10) =3873051a(11) =13959617a(12) =50261845a(13) =180829983a(14) =650385801a(15) =2339156205a(16) =8413500735a(17) =30263904639a(18) =108865370619a(19) =391615337877

External references