cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A226441 T(n,k) = number of permutations of {1..n} with fewer than k interior elements having values lying between the values of their neighbors.

This page as a plain text file.
%I A226441 #9 Jul 17 2024 19:11:28
%S A226441 1,1,2,1,2,4,1,2,6,10,1,2,6,22,32,1,2,6,24,90,122,1,2,6,24,118,422,
%T A226441 544,1,2,6,24,120,658,2226,2770,1,2,6,24,120,718,4078,13102,15872,1,2,
%U A226441 6,24,120,720,4914,27724,85170,101042,1,2,6,24,120,720,5038,37300,205134,606542,707584
%N A226441 T(n,k) = number of permutations of {1..n} with fewer than k interior elements having values lying between the values of their neighbors.
%C A226441 Table starts
%C A226441 .......1........1.........1.........1.........1.........1.........1.........1
%C A226441 .......2........2.........2.........2.........2.........2.........2.........2
%C A226441 .......4........6.........6.........6.........6.........6.........6.........6
%C A226441 ......10.......22........24........24........24........24........24........24
%C A226441 ......32.......90.......118.......120.......120.......120.......120.......120
%C A226441 .....122......422.......658.......718.......720.......720.......720.......720
%C A226441 .....544.....2226......4078......4914......5038......5040......5040......5040
%C A226441 ....2770....13102.....27724.....37300.....40066.....40318.....40320.....40320
%C A226441 ...15872....85170....205134....308460....353556....362370....362878....362880
%C A226441 ..101042...606542...1641534...2748354...3399246...3600306...3627778...3628798
%C A226441 ..707584..4697946..14132390..26194542..35142546..38963958..39830282..39914754
%C A226441 .5405530.39330982.130299584.265691456.387129588.453658380.475089392.478739984
%H A226441 R. H. Hardin, <a href="/A226441/b226441.txt">Table of n, a(n) for n = 1..9999</a>
%e A226441 Some solutions for n=8 k=4
%e A226441 ..5....8....1....7....5....5....8....4....7....5....3....4....7....6....5....1
%e A226441 ..8....1....7....3....1....4....1....7....2....4....5....2....2....5....3....2
%e A226441 ..6....5....2....6....3....8....7....5....1....3....7....1....5....4....7....7
%e A226441 ..7....6....6....8....6....6....6....1....5....8....2....7....1....7....6....4
%e A226441 ..3....7....3....2....7....3....3....3....6....1....6....5....8....1....1....3
%e A226441 ..4....3....8....1....4....7....2....8....4....7....4....8....3....8....2....6
%e A226441 ..1....4....5....5....8....2....5....6....3....6....1....6....4....3....4....8
%e A226441 ..2....2....4....4....2....1....4....2....8....2....8....3....6....2....8....5
%Y A226441 Column 1 is A001250.
%Y A226441 Cf. A008970, A059427.
%K A226441 nonn,tabl
%O A226441 1,3
%A A226441 _R. H. Hardin_, Jun 06 2013