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.

A219840 Irregular triangle R(n,k) = n mod A000040(k), for 1 <= k <= i, where i is the least such that n < A002110(i).

Table of values

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

List of values

[1, 0, 2, 1, 0, 0, 1, 1, 2, 0, 0, 1, 1, 1, 2, 0, 2, 3, 1, 0, 4, 0, 1, 0, 1, 2, 1, 0, 0, 2, 1, 1, 3, 0, 2, 4, 1, 0, 0, 0, 1, 1, 1, 2, 2, 0, 0, 3, 1, 1, 4, 0, 2, 0, 1, 0, 1, 0, 1, 2, 1, 2, 3]