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.

A305493 A binary encoding of the decimal representation of a number: for any number n >= 0, consider its decimal representation and replace each 9 with "111111111" and each other digit d with a "0" followed by d "1"s and interpret the result as a binary string.

Table of values

n a(n)
0 0
1 1
2 3
3 7
4 15
5 31
6 63
7 127
8 255
9 511
10 2
11 5
12 11
13 23
14 47
15 95
16 191
17 383
18 767
19 1023
20 6
21 13
22 27
23 55
24 111
25 223
26 447
27 895
28 1791
29 2047
30 14
31 29
32 59
33 119
34 239
35 479
36 959
37 1919
38 3839
39 4095
40 30
41 61
42 123
43 247
44 495
45 991
46 1983
47 3967
48 7935
49 8191
50 62
51 125
52 251
53 503
54 1007
55 2015

List of values

[0, 1, 3, 7, 15, 31, 63, 127, 255, 511, 2, 5, 11, 23, 47, 95, 191, 383, 767, 1023, 6, 13, 27, 55, 111, 223, 447, 895, 1791, 2047, 14, 29, 59, 119, 239, 479, 959, 1919, 3839, 4095, 30, 61, 123, 247, 495, 991, 1983, 3967, 7935, 8191, 62, 125, 251, 503, 1007, 2015]