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.

A236345 a(n) is the Manhattan distance between n and n^2 in a left-aligned triangle with next M natural numbers in row M: 1, 2 3, 4 5 6, 7 8 9 10, etc.

Table of values

n a(n)
1 0
2 1
3 3
4 3
5 6
6 10
7 9
8 14
9 9
10 15
11 11
12 18
13 26
14 17
15 26
16 19
17 29
18 40
19 27
20 39
21 24
22 42
23 27
24 39
25 54
26 35
27 51
28 36
29 53
30 71
31 48
32 67
33 42
34 62
35 83
36 56
37 85
38 56
39 79
40 48
41 72
42 97
43 64
44 90
45 55
46 90
47 118
48 81
49 110
50 71
51 101
52 68
53 91
54 123
55 80
56 122
57 77
58 111
59 146
60 99
61 135
62 86
63 123
64 88
65 110

List of values

[0, 1, 3, 3, 6, 10, 9, 14, 9, 15, 11, 18, 26, 17, 26, 19, 29, 40, 27, 39, 24, 42, 27, 39, 54, 35, 51, 36, 53, 71, 48, 67, 42, 62, 83, 56, 85, 56, 79, 48, 72, 97, 64, 90, 55, 90, 118, 81, 110, 71, 101, 68, 91, 123, 80, 122, 77, 111, 146, 99, 135, 86, 123, 88, 110]