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.

A133579 a(0)=a(1)=1; for n > 1, a(n) = 3*a(n-1) if a(n-1) and n are coprime, otherwise a(n) = a(n-1)/gcd(a(n-1), n).

Table of values

n a(n)
0 1
1 1
2 3
3 1
4 3
5 9
6 3
7 9
8 27
9 3
10 9
11 27
12 9
13 27
14 81
15 27
16 81
17 243
18 27
19 81
20 243
21 81
22 243
23 729
24 243
25 729
26 2187
27 81
28 243
29 729
30 243
31 729
32 2187
33 729
34 2187
35 6561
36 729
37 2187
38 6561
39 2187
40 6561
41 19683
42 6561
43 19683
44 59049
45 6561
46 19683
47 59049
48 19683
49 59049
50 177147

List of values

[1, 1, 3, 1, 3, 9, 3, 9, 27, 3, 9, 27, 9, 27, 81, 27, 81, 243, 27, 81, 243, 81, 243, 729, 243, 729, 2187, 81, 243, 729, 243, 729, 2187, 729, 2187, 6561, 729, 2187, 6561, 2187, 6561, 19683, 6561, 19683, 59049, 6561, 19683, 59049, 19683, 59049, 177147]