OFFSET
1,1
LINKS
FORMULA
EXAMPLE
0->01->01011->0101101011011->0101101011011010110101101101011011->... and then juxtapose: 0010101101011010110110101101011011010110101101101011011...
PROG
(PARI) v=[0]; for(n=1, 5, w=[]; for(k=1, length(v), if(v[k]==0, w=concat(w, [0, 1]), w=concat(w, [0, 1, 1]))); v=w; for(l=1, length(v), print1(v[l], ", ")))
(Python)
from math import isqrt
def A095907_gen(): # generator of terms
k = 1
for n in count(3):
m = (n+isqrt(5*n**2)>>1)
for _ in range(m-k-1):
yield 0
yield 1
k = m
CROSSREFS
KEYWORD
nonn
AUTHOR
Herman Jamke (hermanjamke(AT)fastmail.fm), Jul 13 2004
STATUS
approved