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!)
A002871 a(n) = max_{k=0..n} 2^k*A048993(n,k)
(Formerly M1261 N0483)
2
1, 2, 4, 12, 48, 200, 1040, 5600, 33600, 222432, 1460928, 11487168, 84713728, 731574272, 6314147840, 55456727040, 548291597568, 5226494727168, 54361802626560, 586042688924160, 6149776714099200, 72895623466265600, 855187250563024896 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Original name: Sorting numbers (see Motzkin article for details).
For n>0, a(n) is also the maximum term in row n of the triangle in A227450. - Danny Rorabaugh, Oct 24 2015
REFERENCES
N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
T. S. Motzkin, Sorting numbers for cylinders and other classification numbers, in Combinatorics, Proc. Symp. Pure Math. 19, AMS, 1971, pp. 167-176. [Annotated, scanned copy]
OEIS Wiki, Sorting numbers
FORMULA
a(n) = max{2^k*stirling2(n,k), k=0..n}. - Sean A. Irvine, Mar 26 2013
MAPLE
a:= n-> max(seq(2^k*Stirling2(n, k), k=0..n)):
seq(a(n), n=0..30); # Alois P. Heinz, Mar 26 2013
MATHEMATICA
a[n_] := Max[Table[2^k*StirlingS2[n, k], {k, 0, n}]]; Table[a[n], {n, 0, 30}] (* Jean-François Alcover, Feb 25 2015 *)
PROG
(PARI) a(n) = vecmax(vector(n+1, k, 2^(k-1)*stirling(n, k-1, 2))); \\ Michel Marcus, Feb 25 2015
CROSSREFS
Sequence in context: A277281 A172452 A004527 * A013172 A321009 A052849
KEYWORD
nonn,nice
AUTHOR
EXTENSIONS
More terms from Sean A. Irvine, Mar 26 2013
New name from Danny Rorabaugh, Oct 24 2015
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 19 16:21 EDT 2024. Contains 371794 sequences. (Running on oeis4.)