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.

A256503 Smallest k>=1 such that n^2 + (n+1)^2 + ... + (n+k)^2 is prime or a(n)=0 if there is no such k.

Table of values

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

List of values

[1, 1, 5, 1, 1, 2, 1, 0, 1, 0, 0, 1, 5, 1, 0, 0, 1, 5, 1, 0, 5, 1, 5, 1, 1, 0, 0, 0, 1, 1, 0, 1, 0, 1, 1, 0, 0, 5, 1, 0, 0, 1, 0, 0, 0, 0, 1, 5, 0, 1, 5, 2, 0, 0, 0, 2, 0, 0, 0, 1, 0, 2, 5, 0, 1, 2, 0, 0, 1, 1, 0, 1, 0, 0, 0, 2, 0, 0, 1, 0, 5, 1, 0, 1, 1, 2, 1]