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.

A242783 Number T(n,k) of permutations of [n] with exactly k (possibly overlapping) occurrences of the consecutive step pattern given by the binary expansion of n, where 1=up and 0=down; triangle T(n,k), n>=0, read by rows.

Table of values

n a(n)
0 1
1 1
2 2
3 5
4 1
5 21
6 3
7 70
8 50
9 450
10 270
11 4326
12 602
13 99
14 12
15 1
16 34944
17 5376
18 209863
19 139714
20 13303
21 1573632
22 1366016
23 530432
24 158720
25 21824925
26 15302031
27 2715243
28 74601
29 302273664
30 161855232
31 14872704
32 2854894485
33 2600075865
34 712988175
35 59062275

List of values

[1, 1, 2, 5, 1, 21, 3, 70, 50, 450, 270, 4326, 602, 99, 12, 1, 34944, 5376, 209863, 139714, 13303, 1573632, 1366016, 530432, 158720, 21824925, 15302031, 2715243, 74601, 302273664, 161855232, 14872704, 2854894485, 2600075865, 712988175, 59062275]