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.

A330256 a(0) = 0; for n > 0, a(n) = n - a((Sum_{k=0..n-1} a(k)) mod n).

Table of values

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

List of values

[0, 1, 1, 2, 4, 3, 3, 7, 5, 4, 10, 4, 7, 6, 13, 5, 12, 16, 12, 18, 14, 21, 9, 11, 10, 14, 22, 15, 14, 28, 9, 10, 23, 31, 24, 33, 22, 15, 37, 24, 16, 40, 14, 34, 37, 36, 43, 23, 34, 42, 13, 18, 37, 50, 17, 18, 32, 40, 40, 19, 46, 57, 39, 59, 30, 15, 32, 21, 11, 32, 40, 65, 32, 62, 41, 58, 63, 60]