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.

A262678 a(n) = n - A262690(n), where A262690(n) = largest square k <= n such that A002828(n-k) = A002828(n)-1.

Table of values

n a(n)
0 0
1 0
2 1
3 2
4 0
5 1
6 2
7 3
8 4
9 0
10 1
11 2
12 8
13 4
14 5
15 6
16 0
17 1
18 9
19 10
20 4
21 5
22 13
23 14
24 8
25 0
26 1
27 2
28 3
29 4
30 5
31 6
32 16
33 8
34 9
35 10
36 0
37 1
38 2
39 3
40 4
41 16
42 17
43 18
44 8
45 9
46 10
47 11
48 32
49 0
50 1
51 2
52 16
53 4
54 5
55 6
56 20
57 8
58 9
59 10
60 11
61 25
62 13
63 14
64 0
65 1
66 2
67 18
68 4
69 5
70 34
71 22
72 36
73 9
74 25
75 26
76 40
77 13
78 29
79 30
80 16
81 0
82 1
83 2
84 20
85 4
86 5
87 6
88 52
89 25
90 9
91 10
92 11
93 29
94 13
95 14
96 32
97 16
98 49
99 18
100 0

List of values

[0, 0, 1, 2, 0, 1, 2, 3, 4, 0, 1, 2, 8, 4, 5, 6, 0, 1, 9, 10, 4, 5, 13, 14, 8, 0, 1, 2, 3, 4, 5, 6, 16, 8, 9, 10, 0, 1, 2, 3, 4, 16, 17, 18, 8, 9, 10, 11, 32, 0, 1, 2, 16, 4, 5, 6, 20, 8, 9, 10, 11, 25, 13, 14, 0, 1, 2, 18, 4, 5, 34, 22, 36, 9, 25, 26, 40, 13, 29, 30, 16, 0, 1, 2, 20, 4, 5, 6, 52, 25, 9, 10, 11, 29, 13, 14, 32, 16, 49, 18, 0]