|
Search: id:A137898
|
|
|
| A137898 |
|
Limiting sequence when we start with positive integers (A000027) and at step n >= 1 add to the term at position n + a(n) the value of the term at position n+a(n)+1. |
|
+0 3
|
|
| 1, 5, 3, 4, 5, 21, 15, 17, 9, 21, 11, 12, 13, 14, 15, 16, 17, 37, 19, 20, 21, 68, 23, 75, 51, 81, 55, 57, 29, 93, 63, 65, 33, 69, 35, 36, 37, 77, 39, 81, 41, 85, 43, 44, 45, 93, 47, 48
(list; graph; listen)
|
|
|
OFFSET
|
1,2
|
|
|
FORMULA
|
Limiting sequence when we start with positive integers (A000027) and at step n >= 1 add to the term at position n + a(n) the value of the term at position n+a(n)+1.
|
|
MAPLE
|
P:=proc(i) local a, n, v; v:=array(1..i); for n from 1 by 1 to i do v[n]:=n; od; for n from 1 by 1 to 200 do v[v[n]+n]:=v[v[n]+n]+v[v[n]+n+1]; od; for n from 1 by 1 to 200 do print(v[n]); od; end: P(1000); [From Paolo P. Lava (ppl(AT)spl.at), Mar 10 2009]
|
|
CROSSREFS
|
Cf. A000027, A136119, A137319, A137417, A137418, A136259, A136272.
Sequence in context: A135448 A107488 A114236 this_sequence A020854 A008962 A021191
Adjacent sequences: A137895 A137896 A137897 this_sequence A137899 A137900 A137901
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
Ctibor O. Zizka (ctibor.zizka(AT)seznam.cz), Apr 30 2008
|
|
EXTENSIONS
|
Entries corrected and extended by Paolo P. Lava (ppl(AT)spl.at), Mar 10 2009
|
|
|
Search completed in 0.002 seconds
|