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.

A361672 a(1) = a(2) = 1; for n > 2, a(n) = a(n-2) + a(n-1) + n if a(n-1) and n are coprime, otherwise a(n) = a(n-1)/gcd(a(n-1), n).

Table of values

n a(n)
1 1
2 1
3 5
4 10
5 2
6 1
7 10
8 5
9 24
10 12
11 47
12 71
13 131
14 216
15 72
16 9
17 98
18 49
19 166
20 83
21 270
22 135
23 428
24 107
25 560
26 280
27 867
28 1175
29 2071
30 3276
31 5378
32 2689
33 8100
34 4050
35 810
36 45
37 892
38 446
39 1377
40 1863
41 3281
42 5186
43 8510
44 4255
45 851
46 37
47 935
48 1020
49 2004
50 1002
51 334
52 167
53 554
54 277
55 886

List of values

[1, 1, 5, 10, 2, 1, 10, 5, 24, 12, 47, 71, 131, 216, 72, 9, 98, 49, 166, 83, 270, 135, 428, 107, 560, 280, 867, 1175, 2071, 3276, 5378, 2689, 8100, 4050, 810, 45, 892, 446, 1377, 1863, 3281, 5186, 8510, 4255, 851, 37, 935, 1020, 2004, 1002, 334, 167, 554, 277, 886]