login
A353036
Records in A119435.
2
1, 2, 5, 9, 13, 17, 23, 29, 33, 43, 51, 53, 61, 65, 83, 95, 107, 113, 125, 129, 163, 183, 199, 203, 219, 233, 237, 253, 257, 323, 359, 383, 407, 419, 443, 449, 473, 485, 509, 513, 643, 711, 751, 783, 791, 823, 851, 859, 891, 913, 921, 953, 981, 989, 1021, 1025
OFFSET
1,2
COMMENTS
Terms are odd except for a(2) = 2.
(2^k - 1) +- 2 are terms in this sequence for k > 1.
Let S = A119435. S(2^k + 1) = S(2^k - 1) + 4, while S(2^k) is a local minimum in S.
S(2^k - 1) = 2^(k+1) - 3 and S(2^k + 1) = 2^(k+1) + 1.
LINKS
Michael De Vlieger, Bitmap of a(n), n = 1..967, vertical exaggeration 12X.
Michael De Vlieger, Binary expansion of a(n), n = 1..967.
MATHEMATICA
a = {1}; nn = 514; r = 0; Do[AppendTo[a, Complement[Range[i + 2 nn], a][[IntegerReverse[i, 2]] ]], {i, 2, nn}]; Reap[Do[If[# > r, r = #; Sow[r]] &@ a[[i]], {i, Length[a]}]][[-1, -1]] ]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Michael De Vlieger, Apr 18 2022
STATUS
approved