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.

A336861 a(n) = ceiling((n-1-sqrt(n+1))/2).

Table of values

n a(n)
1 0
2 0
3 0
4 1
5 1
6 2
7 2
8 2
9 3
10 3
11 4
12 4
13 5
14 5
15 5
16 6
17 6
18 7
19 7
20 8
21 8
22 9
23 9
24 9
25 10
26 10
27 11
28 11
29 12
30 12
31 13
32 13
33 14
34 14
35 14
36 15
37 15
38 16
39 16
40 17
41 17
42 18
43 18
44 19
45 19
46 20
47 20
48 20
49 21
50 21
51 22
52 22
53 23
54 23
55 24
56 24
57 25
58 25
59 26
60 26
61 27
62 27
63 27
64 28
65 28
66 29
67 29
68 30
69 30
70 31
71 31
72 32

List of values

[0, 0, 0, 1, 1, 2, 2, 2, 3, 3, 4, 4, 5, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 14, 14, 14, 15, 15, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 25, 26, 26, 27, 27, 27, 28, 28, 29, 29, 30, 30, 31, 31, 32]