|
|
A271477
|
|
Total number of burnt pancakes flipped using the Max-bar(n) greedy algorithm.
|
|
1
|
|
|
1, 11, 115, 1315, 17059, 251299, 4168099, 77066659, 1573745059, 35202560419, 856414515619, 22520060211619, 636623103488419, 19255913457152419, 620582474248909219, 21231371719439053219, 768533168883921613219, 29346999327603454669219, 1179012538436940624589219, 49713360071230827164365219
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
PROG
|
(PARI)
a(n) = n * 2^n * n!/2 + sum(k=1, n-1, (2*k+1) * k * 2^k * k!/2);
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|