Number of compositions of n such that two adjacent parts are not equal modulo 5.

A062203

Number of compositions of n such that two adjacent parts are not equal modulo 5.

Terms

    a(0) =1a(1) =1a(2) =1a(3) =3a(4) =4a(5) =7a(6) =14a(7) =21a(8) =38a(9) =65a(10) =110a(11) =195a(12) =329a(13) =564a(14) =975a(15) =1675a(16) =2885a(17) =4950a(18) =8503a(19) =14627a(20) =25158a(21) =43255a(22) =74325a(23) =127775a(24) =219662a(25) =377662a(26) =649313a(27) =1116085a(28) =1918690a(29) =3298498

External references