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.

A322987 Number of iterations of A049820(x) = x - A000005(x) needed to reach a square, when starting from x = n.

Table of values

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

List of values

[0, 0, 1, 1, 0, 2, 2, 3, 1, 0, 3, 1, 3, 2, 4, 2, 0, 3, 4, 4, 5, 4, 5, 5, 1, 0, 6, 6, 6, 7, 6, 8, 7, 8, 7, 9, 0, 10, 8, 10, 8, 11, 8, 12, 9, 11, 9, 12, 9, 0, 10, 13, 10, 14, 10, 14, 10, 15, 11, 16, 10, 17, 12, 16, 0, 18, 12, 19, 13, 19, 13, 20, 11, 21, 14, 20, 14, 22, 14, 23, 14, 0, 15, 1, 12, 1, 16, 2, 15, 3, 15, 3, 17, 4, 16, 4, 13, 5, 18, 5, 0]