Number of length n+2 0..4 arrays with every three consecutive terms having the sum of some two elements equal to twice the third.

A248429

Number of length n+2 0..4 arrays with every three consecutive terms having the sum of some two elements equal to twice the third.

Terms

    a(0) =29a(1) =45a(2) =69a(3) =101a(4) =165a(5) =261a(6) =389a(7) =645a(8) =1029a(9) =1541a(10) =2565a(11) =4101a(12) =6149a(13) =10245a(14) =16389a(15) =24581a(16) =40965a(17) =65541a(18) =98309a(19) =163845a(20) =262149a(21) =393221a(22) =655365a(23) =1048581a(24) =1572869a(25) =2621445a(26) =4194309a(27) =6291461a(28) =10485765a(29) =16777221

External references