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.

A260731 a(n) = Number of steps to reach 0 starting from x=n and using the iterated process: x -> x - A002828(x), where A002828(x) = the least number of squares that add up to x.

Table of values

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

List of values

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