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-3 of 3 results.

A285374 Positions of 0 in A285373; complement of A285375.

Original entry on oeis.org

4, 8, 12, 14, 18, 22, 26, 28, 32, 36, 40, 42, 46, 48, 52, 56, 60, 62, 66, 70, 74, 76, 80, 84, 88, 90, 94, 96, 100, 104, 108, 110, 114, 118, 122, 124, 128, 132, 136, 138, 142, 144, 148, 152, 156, 158, 162, 164, 168, 172, 176, 178, 182, 186, 190, 192, 196, 200
Offset: 1

Views

Author

Clark Kimberling, Apr 26 2017

Keywords

Comments

Conjecture: -4 < n*sqrt(2) - a(n) < 1 for n>=1.

Examples

			As a word, A285373 = 11101110..., in which 0 is in positions 4,8,12,14,...
		

Crossrefs

Programs

  • Mathematica
    s = Nest[Flatten[# /. {0 -> {1, 0}, 1 -> {1, 1, 1, 0}}] &, {0}, 10] (* A285373 *)
    Flatten[Position[s, 0]]  (* A285374 *)
    Flatten[Position[s, 1]]  (* A285375 *)

A285375 Positions of 1 in A285373; complement of A285374.

Original entry on oeis.org

1, 2, 3, 5, 6, 7, 9, 10, 11, 13, 15, 16, 17, 19, 20, 21, 23, 24, 25, 27, 29, 30, 31, 33, 34, 35, 37, 38, 39, 41, 43, 44, 45, 47, 49, 50, 51, 53, 54, 55, 57, 58, 59, 61, 63, 64, 65, 67, 68, 69, 71, 72, 73, 75, 77, 78, 79, 81, 82, 83, 85, 86, 87, 89, 91, 92
Offset: 1

Views

Author

Clark Kimberling, Apr 26 2017

Keywords

Comments

Conjecture: 0 < n*sqrt(2) - a(n) < 3 for n>=1.

Examples

			As a word, A285373 = 11101110..., in which 1 is in positions 1,2,3,5,6,7,9,...
		

Crossrefs

Programs

  • Mathematica
    s = Nest[Flatten[# /. {0 -> {1, 0}, 1 -> {1, 1, 1, 0}}] &, {0}, 10] (* A285373 *)
    Flatten[Position[s, 0]]  (* A285374 *)
    Flatten[Position[s, 1]]  (* A285375 *)

A285376 (A285374)/2.

Original entry on oeis.org

2, 4, 6, 7, 9, 11, 13, 14, 16, 18, 20, 21, 23, 24, 26, 28, 30, 31, 33, 35, 37, 38, 40, 42, 44, 45, 47, 48, 50, 52, 54, 55, 57, 59, 61, 62, 64, 66, 68, 69, 71, 72, 74, 76, 78, 79, 81, 82, 84, 86, 88, 89, 91, 93, 95, 96, 98, 100, 102, 103, 105, 106, 108, 110
Offset: 1

Views

Author

Clark Kimberling, Apr 26 2017

Keywords

Crossrefs

Programs

  • Mathematica
    s = Nest[Flatten[# /. {0 -> {1, 0}, 1 -> {1, 1, 1, 0}}] &, {0}, 10] (* A285373 *)
    t = Flatten[Position[s, 0]]  (* A285374 *)
    t/2 (* A285376)
Showing 1-3 of 3 results.