OFFSET
1
COMMENTS
The positions of 0 and 1 in this sequence are given by the Beatty sequences A003512 and A003511. See A187950.
This is A188068 shifted one place left.
The trajectory of 0 under the morphism 0 -> 110, 1 -> 1101. - N. J. A. Sloane, Sep 08 2016
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..10000
Jeffrey Shallit, Characteristic words as fixed points of homomorphisms, University of Waterloo Technical Report CS-91-72, 1991. See Example 2 with a=1, b=2.
Jeffrey Shallit, Characteristic words as fixed points of homomorphisms. See Example 2 with a=1, b=2. [Cached copy, with permission]
FORMULA
a(n)=[nr+r]-[nr]-[kr], where r=sqrt(3).
MATHEMATICA
PROG
(Python)
from gmpy2 import isqrt
def A188082(n):
return int(isqrt(3*(n+1)**2) - isqrt(3*n**2)) - 1 # Chai Wah Wu, Oct 07 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Mar 20 2011
STATUS
approved