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.

A293835 a(n) = smallest number (in absolute value) not yet in the sequence such that the arithmetic mean of the first n terms a(1), a(2), ..., a(n) is an integer; a(1)=1. No two numbers with the same absolute value may appear. Preference is given to positive values of a(n).

Table of values

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

List of values

[1, 3, 2, 6, -7, -5, 0, 8, 10, 12, 14, 4, -9, -11, -13, -15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 16, -18, -20, -22, -24, -26, -28, -30, -32, -34, -36, -38, -40, -42, -44, -46, -48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78]