login
A270200
a(0) = 0; for n >= 1, a(n) = A054429(A005187(1+A054429(n-1))).
2
0, 1, 2, 4, 7, 8, 12, 13, 15, 16, 21, 22, 24, 25, 28, 29, 31, 32, 38, 39, 41, 42, 45, 46, 48, 49, 53, 54, 56, 57, 60, 61, 63, 64, 71, 72, 74, 75, 78, 79, 81, 82, 86, 87, 89, 90, 93, 94, 96, 97, 102, 103, 105, 106, 109, 110, 112, 113, 117, 118, 120, 121, 124, 125, 127, 128, 136, 137, 139, 140, 143, 144, 146, 147, 151
OFFSET
0,3
COMMENTS
After the initial zero, numbers that occur in the range of A233272.
LINKS
FORMULA
a(0) = 0; for n >= 1, a(n) = A054429(A005187(1+A054429(n-1))).
Other identities. For all >= 0:
A233273(n) = a(n+2).
MATHEMATICA
s = Range[2^(# + 1) - 1, 2^#, -1] & /@ Range[0, 12] // Flatten; {0, 1}~Join~Table[s[[2 # - DigitCount[2 #, 2, 1] &[1 + s[[n - 1]]]]], {n, 2, 74}] (* Michael De Vlieger, Jun 01 2016, after Harvey P. Dale at A005187 and A054429 *)
PROG
(define (A270200 n) (if (zero? n) n (A054429 (A005187 (+ 1 (A054429 (- n 1)))))))
CROSSREFS
Complement: A270198.
Cf. also A233271 (a subsequence).
Sequence in context: A344155 A344953 A233273 * A186543 A187346 A184414
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, May 31 2016
STATUS
approved