login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A191687 Table T(n,k)=[Ceiling[1/2*((k+1)^n+(1+(-1)^k)/2)] read by antidiagonals 0
1, 1, 1, 1, 2, 2, 1, 1, 4, 5, 2, 1, 1, 8, 14, 8, 3, 1, 1, 16, 41, 32, 13, 3, 1, 1, 32, 122, 128, 63, 18, 4, 1, 1, 64, 365, 512, 313, 108, 25, 4, 1, 1, 128, 1094, 2048, 1563, 648, 172, 32, 5, 1 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
1,5
COMMENTS
Top left corner
1, 1, 1, 1, 5,...
1, 1, 2, 2, 3,...
1, 2, 5, 8, 13,...
1, 4,14, 32, 63,...
1, 8,41,128,313,...
......................
T(n,k) is the number of compositions of even natural numbers into n parts <=k
LINKS
EXAMPLE
T(2,4)=13: there are 13 compositions of even natural numbers into 2 parts <=4
0: (0,0);
2: (0,2), (2,0), (1,1);
4: (0,4), (4,0), (1,3), (3,1), (2,2);
6: (2,4), (4,2), (3,3);
8: (4,4).
MATHEMATICA
Table[Table[Ceiling[1/2*((k+1)^n+(1+(-1)^k)/2)], {n, 0, 9}, {k, 0, 9}]]
CROSSREFS
Sequence in context: A133135 A292189 A284992 * A322190 A177254 A340910
KEYWORD
nonn,tabl
AUTHOR
Adi Dani, Jun 11 2011
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 12:08 EDT 2024. Contains 371912 sequences. (Running on oeis4.)