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.

A237342 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(5).

Table of values

n a(n)
0 0
1 1
2 2
3 3
4 4
5 5
6 25
7 225
8 2225
9 22225
10 222225
11 2222225
12 22222225
13 222222225
14 2222222225
15 22222222225
16 222222222225
17 2222222222225
18 22222222222225
19 222222222222225
20 2222222222222225
21 22222222222222225
22 222222222222222225
23 2222222222222222225

List of values

[0, 1, 2, 3, 4, 5, 25, 225, 2225, 22225, 222225, 2222225, 22222225, 222222225, 2222222225, 22222222225, 222222222225, 2222222222225, 22222222222225, 222222222222225, 2222222222222225, 22222222222222225, 222222222222222225, 2222222222222222225]