login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A284818 Positions of 0 in A284817. 3
1, 2, 4, 5, 6, 8, 10, 11, 13, 14, 16, 17, 18, 20, 22, 23, 24, 26, 28, 29, 31, 32, 33, 35, 37, 38, 40, 41, 42, 44, 46, 47, 49, 50, 52, 53, 54, 56, 58, 59, 60, 62, 64, 65, 67, 68, 70, 71, 72, 74, 76, 77, 78, 80, 82, 83, 85, 86, 87, 89, 91, 92, 94, 95, 97, 98 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
This sequence and A284819 show that the nonperiodic complementary sequences A284776 and A284777 stay close to the odd positive integers, A005408, and even positive integers, A005843, respectively.
LINKS
FORMULA
A284817 = (0,0,1,0,0,0,1,0,1,0,0,1,0,...), so that a(1) = 1, a(2) = 2, a(3) = 4.
MATHEMATICA
s = Nest[Flatten[# /. {0 -> {0, 1}, 1 -> {0, 0, 1, 1}}] &, {0}, 7]; (* A284775 *)
u = Flatten[Position[s, 0]] ; (* A284776 *)
v = Flatten[Position[s, 1]]; (* A284777 *)
t = Table[2 n - 1 - u[[n]], {n, 1, 200}]; (* A284817 *)
Flatten[Position[t, 0]]; (* A284818 *)
Flatten[Position[t, 1]]; (* A284819 *)
CROSSREFS
Sequence in context: A274436 A330330 A189796 * A192584 A337140 A171946
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Apr 14 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 21 15:18 EDT 2024. Contains 374474 sequences. (Running on oeis4.)