|
Search: id:A086742
|
|
|
| A086742 |
|
Start with a(0)=1 then k-th run is 1,2,3,..., a(0)+a(1)+a(2)+...+a(k-1). |
|
+0 1
|
|
| 1, 1, 1, 2, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47
(list; graph; listen)
|
|
|
OFFSET
|
0,4
|
|
|
FORMULA
|
a(0)+a(1)+a(2)+...+a(r(k)) = A006893(k) where r(k) denotes the indice of the end of k-th run. i.e. 4 first runs are (1), (1), (1, 2), (1, 2, 3, 4, 5), 4-th run ends with 5=a(8), so r(4)=8, and a(0)+a(1)+a(2)+...+a(r(4))=1+1+1+2+1+2+3+4+5=20 which is A006893(4).
|
|
EXAMPLE
|
3 first runs are : (1), (1), (1, 2) and a(0)+a(1)+a(2)+a(3)=1+1+1+2=5, so 4-th run is 1, 2, 3, 4, 5 and sequence continues : (1), (1), (1, 2), (1, 2, 3, 4, 5), ...
|
|
CROSSREFS
|
Cf. A006893.
Sequence in context: A056882 A035534 A082854 this_sequence A133182 A071488 A114733
Adjacent sequences: A086739 A086740 A086741 this_sequence A086743 A086744 A086745
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Benoit Cloitre (benoit7848c(AT)orange.fr), Jul 29 2003
|
|
|
Search completed in 0.002 seconds
|