|
| |
|
|
A071996
|
|
a(1) = 0, a(2) = 1, a(n) = a(floor(n/3)) + a(n - floor(n/3)).
|
|
3
| |
|
|
0, 1, 1, 1, 1, 2, 2, 3, 3, 3, 4, 4, 4, 4, 4, 5, 5, 6, 6, 6, 6, 6, 7, 8, 8, 9, 9, 9, 9, 9, 9, 9, 10, 11, 12, 12, 12, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 14, 15, 16, 16, 17, 17, 18, 18, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 20, 20, 21, 22, 23, 24, 24, 24, 25, 26, 26, 27
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,6
|
|
|
COMMENTS
| "Rauzy's sequence" with initial values 0, 1.
David Moews showed that a(n)/n converges to about 0.31244. - Jim Nastos (nastos(AT)gmail.com), Jan 08 2003
Difference of consecutive terms is always 0 or 1
|
|
|
LINKS
| David Moews, Asymptotic behavior of Rauzy's sequence
J. O. Shallit, Ten Problems I Can't Solve (1.1MB ps)
|
|
|
MATHEMATICA
| a[1]=0; a[2]=1; a[n_] := a[n]=a[Floor[n/3]]+a[n-Floor[n/3]]; Table[a[n], {n, 1, 75}]
|
|
|
CROSSREFS
| Cf. A071991, A071995.
Sequence in context: A162988 A143824 A034463 * A072747 A194295 A194287
Adjacent sequences: A071993 A071994 A071995 * A071997 A071998 A071999
|
|
|
KEYWORD
| easy,nonn
|
|
|
AUTHOR
| Jim Nastos (nastos(AT)alumni.uwaterloo.ca), Jun 17 2002
|
|
|
EXTENSIONS
| Edited by Robert G. Wilson v (rgwv(AT)rgwv.com), Jun 23 2002
|
| |
|
|