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.

A237341 For k in {2,3,...,9} define a sequence as follows: a(0)=0; for n>=0, a(n+1)=a(n)+1, unless a(n) ends in k, in which case a(n+1) is obtained by replacing the last digit of a(n) with the digit(s) of k^2. This is k(4).

Table of values

n a(n)
0 0
1 1
2 2
3 3
4 4
5 16
6 17
7 18
8 19
9 20
10 21
11 22
12 23
13 24
14 216
15 217
16 218
17 219
18 220
19 221
20 222
21 223
22 224
23 2216
24 2217
25 2218
26 2219
27 2220
28 2221
29 2222
30 2223
31 2224
32 22216
33 22217
34 22218
35 22219
36 22220
37 22221
38 22222
39 22223
40 22224
41 222216
42 222217
43 222218
44 222219
45 222220
46 222221

List of values

[0, 1, 2, 3, 4, 16, 17, 18, 19, 20, 21, 22, 23, 24, 216, 217, 218, 219, 220, 221, 222, 223, 224, 2216, 2217, 2218, 2219, 2220, 2221, 2222, 2223, 2224, 22216, 22217, 22218, 22219, 22220, 22221, 22222, 22223, 22224, 222216, 222217, 222218, 222219, 222220, 222221]