login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A270811
Records in A266569.
3
1, 5, 30, 68, 132, 154, 248, 261, 322, 326, 468, 533, 646, 702, 896, 943, 1065, 1103, 1282, 1311, 1442, 1462, 1740, 1751, 1891, 1893, 2117, 2259, 2542, 2675, 2910, 3034, 3416, 3531, 3775, 3881, 4209, 4306, 4559, 4647, 5050, 5129, 5391, 5461, 5834, 5895, 6166, 6218, 6756
OFFSET
1,2
LINKS
FORMULA
a(n) = A266569(A270812(n)). - R. J. Mathar, May 06 2016
MATHEMATICA
a[1] = 1; a[n_] := a[n] = If[EvenQ@ n, 2 n + a[n/2], (n - 1)/2 + a[2 (n + 1)]]; Union@ Rest@ FoldList[Max, 0, #] &@ Array[a, 10^3] (* Michael De Vlieger, May 06 2016 *)
CROSSREFS
Sequence in context: A206329 A043886 A044463 * A331507 A152745 A187275
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Apr 07 2016
EXTENSIONS
Typo in definition corrected by Felix Fröhlich, Apr 07 2016
STATUS
approved