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.

A037458 a(1)=1; for n > 1, a(n) = n - a(n-floor(sqrt(n))).

Table of values

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

List of values

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