Consider all compositions (ordered partitions) of n into n parts, allowing zeros. E.g., for n = 3 we get 300, 030, 003, 210, 120, 201, 102, 021, 012, 111. Then a(n) is the total number of 1's.
A097070
Consider all compositions (ordered partitions) of n into n parts, allowing zeros. E.g., for n = 3 we get 300, 030, 003, 210, 120, 201, 102, 021, 012, 111. Then a(n) is the total number of 1's.
Terms
- a(0) =1a(1) =2a(2) =9a(3) =40a(4) =175a(5) =756a(6) =3234a(7) =13728a(8) =57915a(9) =243100a(10) =1016158a(11) =4232592a(12) =17577014a(13) =72804200a(14) =300874500a(15) =1240940160a(16) =5109183315a(17) =21002455980a(18) =86213785350a(19) =353452638000
External references
- oeis: A097070