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.

A296239 a(n) = distance from n to nearest Fibonacci number.

Table of values

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

List of values

[0, 0, 0, 0, 1, 0, 1, 1, 0, 1, 2, 2, 1, 0, 1, 2, 3, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, 6, 6, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 16, 15, 14, 13, 12, 11, 10, 9]