login
A271475
Total number of burnt pancakes flipped using the Max(n) greedy algorithm.
1
0, 2, 13, 79, 523, 3883, 32323, 299443, 3061363, 34269043, 417107443, 5486541043, 77576281843, 1173531942643, 18914314201843, 323602441945843, 5857680367321843, 111852533939929843, 2247044164800217843, 47377376416476889843, 1046083650772987609843
OFFSET
1,2
LINKS
J. Sawada, A. Williams, Successor rules for flipping pancakes and burnt pancakes, Preprint, Theoretical Computer Science, Volume 609, Part 1, 4 January 2016, Pages 60-75.
PROG
(PARI)
a(n) = n * n!/2 + sum(k = 2, n-1, k^2 * k!/2);
concat(0, vector(20, k, a(k+1))) \\ Gheorghe Coserea, Apr 25 2016
CROSSREFS
Sequence in context: A198849 A037555 A135167 * A037491 A037571 A179237
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Apr 09 2016
EXTENSIONS
More terms from Gheorghe Coserea, Apr 25 2016
STATUS
approved