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.

A132670 a(1)=1, a(n) = 6*a(n-1) if the minimal positive integer not yet in the sequence is greater than a(n-1), else a(n) = a(n-1) - 1.

Table of values

n a(n)
1 1
2 6
3 5
4 4
5 3
6 2
7 12
8 11
9 10
10 9
11 8
12 7
13 42
14 41
15 40
16 39
17 38
18 37
19 36
20 35
21 34
22 33
23 32
24 31
25 30
26 29
27 28
28 27
29 26
30 25
31 24
32 23
33 22
34 21
35 20
36 19
37 18
38 17
39 16
40 15
41 14
42 13
43 78
44 77
45 76
46 75
47 74
48 73
49 72
50 71
51 70
52 69
53 68
54 67
55 66
56 65
57 64
58 63
59 62
60 61
61 60
62 59
63 58
64 57
65 56
66 55
67 54
68 53
69 52
70 51
71 50
72 49

List of values

[1, 6, 5, 4, 3, 2, 12, 11, 10, 9, 8, 7, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 78, 77, 76, 75, 74, 73, 72, 71, 70, 69, 68, 67, 66, 65, 64, 63, 62, 61, 60, 59, 58, 57, 56, 55, 54, 53, 52, 51, 50, 49]