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.

A308182 Let S_n = prefix of length n of Thue-Morse sequence A010060; let P = longest palindromic suffix of S_n; a(n) = length of P if P occurs just once as a factor of S_n, otherwise a(n) = 0.

Table of values

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

List of values

[1, 1, 2, 4, 3, 3, 2, 4, 0, 0, 6, 8, 10, 12, 14, 16, 6, 8, 10, 12, 6, 8, 10, 12, 0, 0, 6, 8, 10, 12, 14, 16, 0, 0, 0, 0, 0, 0, 0, 0, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 18, 20, 22, 24, 26, 28, 30, 32]