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.

A194627 a(1)=1, a(n+1) = p(n)^2 + q(n)^2 + 1, where p(n) and q(n) are the number of prime and nonprime numbers respectively in the sequence so far.

Table of values

n a(n)
1 1
2 2
3 3
4 6
5 9
6 14
7 21
8 30
9 41
10 46
11 59
12 66
13 81
14 98
15 117
16 138
17 161
18 186
19 213
20 242
21 273
22 306
23 341
24 378
25 417
26 458
27 501
28 546
29 593
30 602
31 651
32 702
33 755
34 810
35 867
36 926
37 987
38 1050
39 1115
40 1182
41 1251
42 1322
43 1395
44 1470
45 1547
46 1626
47 1707
48 1790
49 1875
50 1962
51 2051
52 2142

List of values

[1, 2, 3, 6, 9, 14, 21, 30, 41, 46, 59, 66, 81, 98, 117, 138, 161, 186, 213, 242, 273, 306, 341, 378, 417, 458, 501, 546, 593, 602, 651, 702, 755, 810, 867, 926, 987, 1050, 1115, 1182, 1251, 1322, 1395, 1470, 1547, 1626, 1707, 1790, 1875, 1962, 2051, 2142]