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.

A370574 a(n) is the least k > 0 such that n^2 XOR k^2 is a positive square number (where XOR denotes the bitwise XOR operator), or -1 if no such k exists.

Table of values

n a(n)
1 -1
2 -1
3 4
4 3
5 3
6 8
7 24
8 6
9 23
10 6
11 44
12 16
13 43
14 48
15 36
16 12
17 111
18 46
19 180
20 12
21 72
22 88
23 9
24 7
25 7
26 86
27 20
28 59
29 20
30 72
31 56
32 24
33 479
34 222
35 20
36 15
37 20
38 360
39 15
40 24
41 183
42 144
43 13
44 11
45 11
46 18
47 943
48 14
49 1103
50 14
51 747
52 172
53 405
54 40
55 159
56 31
57 492
58 40
59 28
60 144
61 28
62 112
63 31
64 48
65 660

List of values

[-1, -1, 4, 3, 3, 8, 24, 6, 23, 6, 44, 16, 43, 48, 36, 12, 111, 46, 180, 12, 72, 88, 9, 7, 7, 86, 20, 59, 20, 72, 56, 24, 479, 222, 20, 15, 20, 360, 15, 24, 183, 144, 13, 11, 11, 18, 943, 14, 1103, 14, 747, 172, 405, 40, 159, 31, 492, 40, 28, 144, 28, 112, 31, 48, 660]