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.

A341993 a(0)=0. For n > 0, a(n+1) = 2*a(n) if the sum of digits of 2*a(n) exceeds that of a(n); otherwise, a(n+1) is the smallest unused nonnegative integer.

Table of values

n a(n)
0 0
1 1
2 2
3 4
4 8
5 3
6 6
7 5
8 7
9 9
10 10
11 20
12 40
13 80
14 11
15 22
16 44
17 88
18 12
19 24
20 48
21 96
22 13
23 26
24 14
25 28
26 56
27 15
28 16
29 17
30 18
31 19
32 38
33 76
34 21
35 42
36 84
37 168
38 23
39 46
40 92
41 184
42 368
43 25
44 27
45 29
46 58
47 30
48 60
49 31
50 62
51 32
52 64
53 128
54 256
55 33
56 66
57 34
58 68
59 35
60 36
61 37
62 74
63 148
64 296
65 39

List of values

[0, 1, 2, 4, 8, 3, 6, 5, 7, 9, 10, 20, 40, 80, 11, 22, 44, 88, 12, 24, 48, 96, 13, 26, 14, 28, 56, 15, 16, 17, 18, 19, 38, 76, 21, 42, 84, 168, 23, 46, 92, 184, 368, 25, 27, 29, 58, 30, 60, 31, 62, 32, 64, 128, 256, 33, 66, 34, 68, 35, 36, 37, 74, 148, 296, 39]