a(n) is the number of nonnegative integers that can be represented in a 7-segment display by using only n segments (version A006942).

A331529

a(n) is the number of nonnegative integers that can be represented in a 7-segment display by using only n segments (version A006942).

Terms

    a(0) =0a(1) =0a(2) =1a(3) =1a(4) =2a(5) =5a(6) =7a(7) =12a(8) =19a(9) =33a(10) =59a(11) =99a(12) =170a(13) =290a(14) =496a(15) =854a(16) =1463a(17) =2506a(18) =4292a(19) =7351a(20) =12601a(21) =21596a(22) =37005a(23) =63405a(24) =108637a(25) =186154a(26) =318989a(27) =546600a(28) =936606a(29) =1604874

External references