login
A275727
a(0) = 0, for n >= 1, a(n) = A275736(n) + 2*a(A257684(n)).
8
0, 1, 2, 3, 2, 3, 4, 5, 6, 7, 6, 7, 4, 5, 6, 7, 6, 7, 4, 5, 6, 7, 6, 7, 8, 9, 10, 11, 10, 11, 12, 13, 14, 15, 14, 15, 12, 13, 14, 15, 14, 15, 12, 13, 14, 15, 14, 15, 8, 9, 10, 11, 10, 11, 12, 13, 14, 15, 14, 15, 12, 13, 14, 15, 14, 15, 12, 13, 14, 15, 14, 15, 8, 9, 10, 11, 10, 11, 12, 13, 14, 15, 14, 15, 12, 13, 14, 15
OFFSET
0,3
COMMENTS
a(n) has ones in those positions of its base-2 representation where n has nonzero digits in its factorial base representation.
FORMULA
a(0) = 0, for n >= 1, a(n) = A275736(n) + 2*a(A257684(n)).
a(n) = A048675(A275733(n)).
Other identities and observations. For all n >= 0:
A000120(a(n)) = A060130(n).
EXAMPLE
For n=19, A007236(19) = 301, thus a(19) = 5 because A007088(5) = 101.
PROG
(Scheme, with memoization-macro definec)
(definec (A275727 n) (if (zero? n) n (+ (A275736 n) (* 2 (A275727 (A257684 n))))))
(define (A275727 n) (A048675 (A275733 n)))
CROSSREFS
KEYWORD
nonn,base,look
AUTHOR
Antti Karttunen, Aug 09 2016
STATUS
approved