login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A286803 Positions of 1 in A286801; complement of A286802. 3
1, 2, 4, 5, 8, 10, 11, 13, 14, 17, 19, 20, 22, 23, 25, 26, 29, 31, 32, 34, 35, 38, 40, 41, 43, 44, 46, 47, 50, 52, 53, 55, 56, 59, 61, 62, 64, 65, 68, 70, 71, 73, 74, 76, 77, 80, 82, 83, 85, 86, 89, 91, 92, 94, 95, 97, 98, 101, 103, 104, 106, 107, 110, 112 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

a(n) - a(n-1) is in {1,2,3} for n>=2, and a(n)/n -> 6 - 3*sqrt(2).

LINKS

Clark Kimberling, Table of n, a(n) for n = 1..10000

EXAMPLE

As a word, A286801 = 11011001011011001011011..., in which 1 is in positions 1,2,4,5,8,10,...

MATHEMATICA

s = Nest[Flatten[# /. {0 -> {0, 0, 1}, 1 -> {0}}] &, {0}, 16]; (* Pell word, A171588 *)

w = StringJoin[Map[ToString, s]];

w1 = StringReplace[w, {"0" -> "110", "1" -> "010"}];

st = ToCharacterCode[w1] - 48 ; (* A286801 *)

Flatten[Position[st, 0]];  (* A286802 *)

Flatten[Position[st, 1]];  (* A286803 *)

CROSSREFS

Cf. A171588, A286801, A286802.

Sequence in context: A189093 A325442 A134191 * A026138 A026170 A026174

Adjacent sequences:  A286800 A286801 A286802 * A286804 A286805 A286806

KEYWORD

nonn,easy

AUTHOR

Clark Kimberling, May 16 2017

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 19 13:01 EDT 2019. Contains 328222 sequences. (Running on oeis4.)