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

 Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 60th year, we have over 367,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”). Other ways to Give
 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A189818 Positions of 1 in A189816; complement of A189817. 4

%I #10 Jan 17 2018 03:53:32

%S 2,3,11,12,14,15,17,18,20,21,23,24,26,27,29,30,38,39,47,48,56,57,65,

%T 66,74,75,83,84,92,93,95,96,98,99,101,102,104,105,107,108,110,111,119,

%U 120,122,123,125,126,128,129,131,132,134,135,137,138,146,147,149,150,152,153,155,156,158,159,161,162,164,165,173,174,176,177,179,180

%N Positions of 1 in A189816; complement of A189817.

%H G. C. Greubel, <a href="/A189818/b189818.txt">Table of n, a(n) for n = 1..10000</a>

%t a[1] = 0; h = 180;

%t Table[a[3 k - 2] = 0, {k, 1, h}];

%t Table[a[3 k - 1] = 1 - a[k], {k, 1, h}];

%t Table[a[3 k] = 1 - a[k], {k, 1, h}];

%t Table[a[n], {n, 1, h}] (*A189816*)

%t Flatten[Position[%, 0]] (*A189817*)

%t Flatten[Position[%%, 1]] (*A189818*)

%Y Cf. A189816, A189817, A189819.

%K nonn

%O 1,1

%A _Clark Kimberling_, Apr 28 2011

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.

Last modified December 8 06:27 EST 2023. Contains 367662 sequences. (Running on oeis4.)