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.

A119957 a(n) is the sum of p consecutive residues of 2^x modulo n, starting with a sufficiently large x and where p = period of binary representation of 1/n.

Table of values

n a(n)
1 0
2 0
3 3
4 0
5 10
6 6
7 7
8 0
9 27
10 20
11 55
12 12
13 78
14 14
15 15
16 0
17 68
18 54
19 171
20 40
21 42
22 110
23 92
24 24
25 250
26 156
27 243
28 28
29 406
30 30
31 31
32 0
33 165
34 136
35 175
36 108
37 666
38 342
39 156
40 80
41 410
42 84
43 301
44 220
45 225
46 184
47 423
48 48
49 490
50 500
51 102
52 312
53 1378
54 486
55 440
56 56
57 513
58 812
59 1711
60 60
61 1830
62 62

List of values

[0, 0, 3, 0, 10, 6, 7, 0, 27, 20, 55, 12, 78, 14, 15, 0, 68, 54, 171, 40, 42, 110, 92, 24, 250, 156, 243, 28, 406, 30, 31, 0, 165, 136, 175, 108, 666, 342, 156, 80, 410, 84, 301, 220, 225, 184, 423, 48, 490, 500, 102, 312, 1378, 486, 440, 56, 513, 812, 1711, 60, 1830, 62]