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.

A256270 a(1) = 1; for n > 1, a(n) is the smallest positive integer not already in the sequence such that a(1)^2 + a(2)^2 + ... + a(n)^2 is prime.

Table of values

n a(n)
1 1
2 2
3 6
4 24
5 12
6 54
7 18
8 36
9 30
10 48
11 60
12 84
13 42
14 90
15 66
16 72
17 96
18 78
19 120
20 126
21 102
22 150
23 144
24 108
25 156
26 114
27 138
28 132
29 180
30 204
31 210
32 168
33 186
34 192
35 234
36 174
37 162
38 216
39 198
40 222
41 246
42 228
43 264
44 348
45 240
46 270
47 300
48 330
49 336
50 402
51 390
52 414
53 288
54 306
55 258
56 294
57 318
58 324
59 276
60 252
61 372
62 426
63 366
64 282
65 432
66 354
67 378

List of values

[1, 2, 6, 24, 12, 54, 18, 36, 30, 48, 60, 84, 42, 90, 66, 72, 96, 78, 120, 126, 102, 150, 144, 108, 156, 114, 138, 132, 180, 204, 210, 168, 186, 192, 234, 174, 162, 216, 198, 222, 246, 228, 264, 348, 240, 270, 300, 330, 336, 402, 390, 414, 288, 306, 258, 294, 318, 324, 276, 252, 372, 426, 366, 282, 432, 354, 378]