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.

A261038 a(1)=1; for n>1: a(n) = a(n-1)*n if t=0, a(n) = round(a(n-1)/n) if t=1, a(n) = a(n-1)+n if t=2, a(n) = a(n-1)-n if t=3, where t = n mod 4.

Table of values

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

List of values

[1, 3, 0, 0, 0, 6, -1, -8, -1, 9, -2, -24, -2, 12, -3, -48, -3, 15, -4, -80, -4, 18, -5, -120, -5, 21, -6, -168, -6, 24, -7, -224, -7, 27, -8, -288, -8, 30, -9, -360, -9, 33, -10, -440, -10, 36, -11, -528, -11, 39, -12, -624, -12, 42, -13, -728, -13, 45, -14]