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

 

Logo

Annual Appeal: Please make a donation to keep the OEIS running. In 2017 we replaced the server with a faster one, added 20000 new sequences, and reached 7000 citations (often saying "discovered thanks to the OEIS").
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A188436 [3r]-[nr]-[3r-nr], where r=(1+sqrt(5))/2 and [.]=floor. 4
0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

1

COMMENTS

This is column 3 of the array A188294.

This sequence is essentially the same as A188011. - Michel Dekking, Oct 03 2016

LINKS

Table of n, a(n) for n=1..144.

FORMULA

a(n) = [3r]-[nr]-[3r-nr], where r=(1+sqrt(5))/2.

a(n) = 1-A188011(n) for all n>0, except for n= 3 (from [-x]=-[x]-1 for non-integer x). - Michel Dekking, Oct 03 2016

MATHEMATICA

r = (1 + 5^(1/2))/2 + .0000000000001;

f[n_] := Floor[3r] - Floor[n*r] - Floor[3r - n*r]

t = Flatten[Table[f[n], {n, 1, 200}]] (* A188436 *)

Flatten[Position[t, 0] ]  (* A188437 *)

Flatten[Position[t, 1] ]  (* A188438 *)

CROSSREFS

Cf. A188011, A188437, A188438, A188294.

Sequence in context: A276404 A277153 A187946 * A293162 A175854 A185708

Adjacent sequences:  A188433 A188434 A188435 * A188437 A188438 A188439

KEYWORD

nonn

AUTHOR

Clark Kimberling, Mar 31 2011

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 December 10 10:58 EST 2018. Contains 318047 sequences. (Running on oeis4.)