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.

A090880 Suppose n=(p1^e1)(p2^e2)... where p1,p2,... are the prime numbers and e1,e2,... are nonnegative integers. Then a(n) = e1 + (e2)*3 + (e3)*9 + (e4)*27 + ... + (ek)*(3^(k-1)) + ...

Table of values

n a(n)
1 0
2 1
3 3
4 2
5 9
6 4
7 27
8 3
9 6
10 10
11 81
12 5
13 243
14 28
15 12
16 4
17 729
18 7
19 2187
20 11
21 30
22 82
23 6561
24 6
25 18
26 244
27 9
28 29
29 19683
30 13
31 59049
32 5
33 84
34 730
35 36
36 8
37 177147
38 2188
39 246
40 12
41 531441
42 31
43 1594323
44 83
45 15
46 6562
47 4782969
48 7
49 54
50 19
51 732
52 245
53 14348907
54 10
55 90
56 30
57 2190

List of values

[0, 1, 3, 2, 9, 4, 27, 3, 6, 10, 81, 5, 243, 28, 12, 4, 729, 7, 2187, 11, 30, 82, 6561, 6, 18, 244, 9, 29, 19683, 13, 59049, 5, 84, 730, 36, 8, 177147, 2188, 246, 12, 531441, 31, 1594323, 83, 15, 6562, 4782969, 7, 54, 19, 732, 245, 14348907, 10, 90, 30, 2190]