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.

A159325 Median number of comparisons used by insertion sort on n (distinct) elements.

Table of values

n a(n)
1 0
2 1
3 3
4 5
5 8
6 11
7 15
8 19
9 24
10 30
11 36
12 42
13 49
14 56
15 64
16 73
17 82
18 91
19 101
20 111
21 122
22 134
23 146
24 158
25 171
26 185

List of values

[0, 1, 3, 5, 8, 11, 15, 19, 24, 30, 36, 42, 49, 56, 64, 73, 82, 91, 101, 111, 122, 134, 146, 158, 171, 185]