The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A188221 [nr+kr]-[nr]-[kr], where r=sqrt(5), k=1, [ ]=floor. 3
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
Differs from A188187 in number of initial zeros. This sequence yields right-shift sums (introduced at A187950), and A188187 yields left-shift sums (A188014).
(a(n)) is the Sturmian sequence with slope sqrt(5)-2. This number has continued fraction expansion [0; 4,4,4, ...]. It is therefore fixed point of a morphism sigma, which can be found with the Crisp et al link: sigma is given by 0 -> 0001, 1 -> 00010. - Michel Dekking, Aug 02 2017
LINKS
D. Crisp, W. Moran, A. Pollington, P. Shiue, Substitution invariant cutting sequences, Journal de théorie des nombres de Bordeaux 5, (1993), p. 123-137.
FORMULA
a(n) = [nr+r]-[nr]-[r], where r=sqrt(5).
MATHEMATICA
r=5^(1/2); k=1;
seqA=Table[Floor[n*r+k*r]-Floor[n*r]-Floor[k*r], {n, 1, 220}] (* A188221 *)
Flatten[Position[seqA, 0] ] (* A188222 *)
Flatten[Position[seqA, 1] ] (* A004976 *)
PROG
(Python)
from sympy import integer_nthroot
def A188221(n): return integer_nthroot(5*(n+1)**2, 2)[0]-integer_nthroot(5*n**2, 2)[0]-2 # Chai Wah Wu, Mar 16 2021
CROSSREFS
Sequence in context: A105563 A188291 A287372 * A011765 A342023 A342024
KEYWORD
nonn
AUTHOR
Clark Kimberling, Mar 24 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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 17 01:45 EDT 2024. Contains 372572 sequences. (Running on oeis4.)