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.

A094830 Start with x = n, repeatedly replace x with x + sum of squares of digits of x until you reach a prime; sequence gives number of steps.

Table of values

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

List of values

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