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.

A281785 a(n) is multiplicative with a(2^e) = 1, a(3^e) = -8 if e>0, a(p^e) = (p^(e+1) - 1) / (p - 1) if p>3.

Table of values

n a(n)
1 1
2 1
3 -8
4 1
5 6
6 -8
7 8
8 1
9 -8
10 6
11 12
12 -8
13 14
14 8
15 -48
16 1
17 18
18 -8
19 20
20 6
21 -64
22 12
23 24
24 -8
25 31
26 14
27 -8
28 8
29 30
30 -48
31 32
32 1
33 -96
34 18
35 48
36 -8
37 38
38 20
39 -112
40 6
41 42
42 -64
43 44
44 12
45 -48
46 24
47 48
48 -8
49 57
50 31
51 -144
52 14
53 54
54 -8
55 72
56 8
57 -160
58 30
59 60
60 -48
61 62
62 32
63 -64
64 1
65 84

List of values

[1, 1, -8, 1, 6, -8, 8, 1, -8, 6, 12, -8, 14, 8, -48, 1, 18, -8, 20, 6, -64, 12, 24, -8, 31, 14, -8, 8, 30, -48, 32, 1, -96, 18, 48, -8, 38, 20, -112, 6, 42, -64, 44, 12, -48, 24, 48, -8, 57, 31, -144, 14, 54, -8, 72, 8, -160, 30, 60, -48, 62, 32, -64, 1, 84]