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 59th year, we have over 358,000 sequences, and we’ve crossed 10,300 citations (which often say “discovered thanks to the OEIS”). Other ways to Give
 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A188187 a(n) = [nr]-[kr]-[nr-kr], where r=sqrt(5), k=1, [ ]=floor. 5
 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1 COMMENTS See A188014. LINKS FORMULA a(n) = [nr]-[r]-[nr-r], where r=sqrt(5). MATHEMATICA r=5^(1/2)); k=1; t=Table[Floor[n*r]-Floor[(n-k)*r]-Floor[k*r], {n, 1, 220}] (*A188187*) Flatten[Position[t, 0]] (*A188188*) Flatten[Position[t, 1]] (*A004958*) PROG (Python) from sympy import integer_nthroot def A188187(n): return integer_nthroot(5*n**2, 2)[0]-integer_nthroot(5*(n-1)**2, 2)[0]-2 # Chai Wah Wu, Mar 16 2021 CROSSREFS Cf. A188014, A188188, A004958. Sequence in context: A353813 A353814 A144596 * A341996 A341999 A118685 Adjacent sequences: A188184 A188185 A188186 * A188188 A188189 A188190 KEYWORD nonn AUTHOR Clark Kimberling, Mar 23 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified December 7 05:31 EST 2022. Contains 358649 sequences. (Running on oeis4.)