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.

A309945 a(n) = floor(n - sqrt(2*n-1)).

Table of values

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

List of values

[0, 0, 0, 1, 2, 2, 3, 4, 4, 5, 6, 7, 8, 8, 9, 10, 11, 12, 12, 13, 14, 15, 16, 17, 18, 18, 19, 20, 21, 22, 23, 24, 24, 25, 26, 27, 28, 29, 30, 31, 32, 32, 33, 34, 35, 36, 37, 38, 39, 40, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 60]