The number of ways to color n balls in a row with 3 colors with no color runs having lengths greater than 3.
A181137
The number of ways to color n balls in a row with 3 colors with no color runs having lengths greater than 3.
Terms
- a(0) =1a(1) =3a(2) =9a(3) =27a(4) =78a(5) =228a(6) =666a(7) =1944a(8) =5676a(9) =16572a(10) =48384a(11) =141264a(12) =412440a(13) =1204176a(14) =3515760a(15) =10264752a(16) =29969376a(17) =87499776a(18) =255467808a(19) =745873920a(20) =2177683008a(21) =6358049472a(22) =18563212800a(23) =54197890560a(24) =158238305664a(25) =461998818048
External references
- oeis: A181137