|
|
A074201
|
|
Let b(1) = 1, b(2) = 2, b(n+2) = (b(n+1)+1)/(b(n)+1); then a(n) = 1 if b(n) >= 1 and a(n) = 0 otherwise (also a(n) = floor(b(n)) for n > 2).
|
|
0
|
|
|
1, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1
|
|
COMMENTS
|
The associated sequence b(n) is 1, 2, 3/2, 5/6, 11/15, 52/55, 321/286, 3035/2781 etc. - R. J. Mathar, Apr 06 2008
1/2 <= b(n) <= 2 for all n. There are no substrings "1,0,1" or "0,1,0". - Max Alekseyev, Feb 16 2012
|
|
LINKS
|
|
|
PROG
|
(PARI) lista(nn) = {my(x=1, y=2, z); print1("1, 1"); for(n=1, nn, z=(y+1)/(x+1); x=y; y=z; print1(", ", floor(z))); } \\ Jinyuan Wang, Mar 05 2020
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,more
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|