|
|
A279516
|
|
Indices of records of A156140 (accumulation of Stern's diatomic series).
|
|
2
|
|
|
0, 1, 2, 3, 5, 7, 9, 11, 13, 17, 19, 21, 27, 35, 37, 41, 43, 53, 69, 73, 75, 83, 85, 107, 139, 147, 149, 165, 171, 213, 275, 277, 293, 299, 331, 339, 341, 427, 549, 555, 587, 595, 597, 661, 677, 683, 853, 1099, 1107, 1109, 1171, 1173, 1189, 1195, 1323, 1355
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,3
|
|
LINKS
|
|
|
PROG
|
(PARI) r=0; v=List([0, 1]); u=["", -1, 0]; for(n=2, 1e10, u=[u[2], u[3], (2*valuation(n-1, 2)+1)*u[3] - u[2]]; if(u[3]>r, r=u[3]; listput(v, n); print("a("#v") = "n", ")))
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|