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

 

Logo


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

1

COMMENTS

See A188014.

LINKS

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

FORMULA

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

MATHEMATICA

r=(1+5^(1/2))/2; k=6;

t=Table[Floor[n*r]-Floor[(n-k)*r]-Floor[k*r], {n, 1, 220}]   (*A188017*)

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

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

CROSSREFS

A188014, A188018, A188019.

Sequence in context: A114986 A014282 A014555 * A286755 A286349 A145575

Adjacent sequences:  A188014 A188015 A188016 * A188018 A188019 A188020

KEYWORD

nonn

AUTHOR

Clark Kimberling, Mar 19 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 August 17 11:51 EDT 2019. Contains 326057 sequences. (Running on oeis4.)