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.

A296063 a(n) is the 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. Preference is given to positive values of a(n); a(1)=1; 0 not allowed.

Table of values

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

List of values

[1, -1, 3, -3, 5, -5, 7, -7, 9, -9, 11, -11, 13, -13, 15, -15, 17, -17, 19, -19, 21, -21, 23, -23, 25, -25, 27, -27, 29, -29, 31, -31, 33, -33, 35, -35, 37, -37, 39, -39, 41, -41, 43, -43, 45, -45, 47, -47, 49, -49, 51, -51]