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.

Showing 1-6 of 6 results.

A030319 Position of n-th 1 in A030317.

Original entry on oeis.org

1, 2, 3, 4, 6, 7, 8, 9, 10, 13, 14, 16, 17, 18, 19, 21, 22, 23, 24, 25, 26, 30, 31, 34, 35, 36, 38, 40, 41, 43, 44, 45, 46, 47, 50, 51, 52, 54, 55, 56, 57, 58, 60, 61, 62, 63, 64, 65, 66, 71, 72, 76, 77, 78, 81, 83, 84, 87, 88, 89, 90, 92, 95
Offset: 1

Views

Author

Keywords

Programs

  • Mathematica
    Flatten@Position[Flatten@Table[IntegerDigits[2 n - 1, 2], {n, 21}], 1] (* Ivan Neretin, Jun 05 2016 *)

A030318 Position of n-th 0 in A030317.

Original entry on oeis.org

5, 11, 12, 15, 20, 27, 28, 29, 32, 33, 37, 39, 42, 48, 49, 53, 59, 67, 68, 69, 70, 73, 74, 75, 79, 80, 82, 85, 86, 91, 93, 94, 97, 99, 103, 106, 109, 116, 117, 118, 122, 123, 128, 130, 134, 141, 142, 147, 154, 163, 164, 165, 166, 167, 170
Offset: 1

Views

Author

Keywords

Crossrefs

Cf. A030317.

Programs

  • Mathematica
    Flatten[Position[Flatten[Table[IntegerDigits[2n-1,2],{n,50}]],0]] (* Harvey P. Dale, Aug 06 2013 *)

A030320 Least k such that the base-2 representation of n begins at s(k), where s=A030317.

Original entry on oeis.org

1, 4, 1, 10, 4, 3, 1, 26, 10, 36, 4, 9, 3, 2, 1, 66, 26, 78, 10, 90, 36, 38, 4, 25, 9, 35, 3, 8, 2, 1, 6, 162, 66, 176, 26, 190, 78, 10, 31, 218, 90, 232, 36, 81, 38, 98, 4, 65, 25, 77, 9, 89, 35, 101, 3, 24, 8, 34, 2, 7, 1, 6, 21, 386, 162, 402, 66, 418, 176
Offset: 1

Views

Author

Keywords

Crossrefs

Cf. A030317.

Extensions

a(64) onward corrected by Sean A. Irvine, Mar 30 2020

A030322 Length of n-th run of 1's in A030317.

Original entry on oeis.org

4, 5, 2, 4, 6, 2, 3, 1, 2, 5, 3, 5, 7, 2, 3, 1, 2, 4, 1, 2, 1, 3, 2, 2, 6, 3, 4, 1, 3, 6, 4, 6, 8, 2, 3, 1, 2, 4, 1, 2, 1, 3, 2, 2, 5, 1, 2, 1, 3, 1, 1, 2, 1, 4, 2, 2, 2, 3, 3, 2, 7, 3, 4, 1, 3, 5, 1, 3, 1, 4, 2, 3, 7, 4, 5, 1, 4, 7, 5, 7, 9, 2, 3, 1, 2, 4, 1, 2, 1, 3
Offset: 1

Views

Author

Keywords

Extensions

More terms from Naohiro Nomoto, Oct 29 2001

A030323 Number of 1's minus number of 0's in first n terms of A030317.

Original entry on oeis.org

1, 2, 3, 4, 3, 4, 5, 6, 7, 8, 7, 6, 7, 8, 7, 8, 9, 10, 11, 10, 11, 12, 13, 14, 15, 16, 15, 14, 13, 14, 15, 14, 13, 14, 15, 16, 15, 16, 15, 16, 17, 16, 17, 18, 19, 20, 21, 20, 19, 20, 21, 22, 21, 22, 23, 24, 25, 26, 25, 26, 27, 28, 29, 30, 31, 32
Offset: 1

Views

Author

Keywords

Programs

  • Mathematica
    Accumulate[Flatten[Table[IntegerDigits[2n - 1, 2], {n, 50}]] /. 0 -> -1] (* Alonso del Arte, Feb 16 2020 *)

Extensions

Name clarified by Alonso del Arte, Feb 10 2020

A030305 Length of n-th run of 0's in A030302.

Original entry on oeis.org

1, 2, 1, 1, 3, 2, 1, 1, 1, 2, 1, 1, 4, 3, 2, 1, 2, 1, 2, 1, 1, 1, 1, 1, 3, 2, 1, 1, 1, 2, 1, 1, 5, 4, 3, 1, 3, 2, 2, 2, 1, 2, 1, 2, 1, 3, 1, 2, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 4, 3, 2, 1, 2, 1, 2, 1, 1, 1, 1, 1, 3, 2, 1, 1, 1, 2, 1, 1, 6, 5, 4, 1, 4, 3, 2, 3, 1, 3
Offset: 1

Views

Author

Keywords

Comments

Also the length of the n-th run of zeros in A030317. - Clark Kimberling, (undated), Andrei Zabolotskii, Jul 22 2025

Crossrefs

Cf. A030312.
Showing 1-6 of 6 results.