The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A277808 a(n) = number of iterations of map k -> A003188(A006068(k)/2) that are required (when starting from k = n) until k is an odious number. 5
 0, 0, 1, 0, 1, 2, 0, 0, 1, 2, 0, 3, 0, 0, 1, 0, 1, 2, 0, 3, 0, 0, 1, 4, 0, 0, 1, 0, 1, 2, 0, 0, 1, 2, 0, 3, 0, 0, 1, 4, 0, 0, 1, 0, 1, 2, 0, 5, 0, 0, 1, 0, 1, 2, 0, 0, 1, 2, 0, 3, 0, 0, 1, 0, 1, 2, 0, 3, 0, 0, 1, 4, 0, 0, 1, 0, 1, 2, 0, 5, 0, 0, 1, 0, 1, 2, 0, 0, 1, 2, 0, 3, 0, 0, 1, 6, 0, 0, 1, 0, 1, 2, 0, 0, 1, 2, 0, 3, 0, 0, 1, 0, 1, 2, 0, 3, 0, 0, 1, 4 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,6 LINKS Antti Karttunen, Table of n, a(n) for n = 1..16384 Index entries for sequences related to binary expansion of n FORMULA a(n) = A010059(n) * A001511(n). If A010060(n) = 1 [when n is one of the odious numbers, A000069], then a(n) = 0, otherwise a(n) = 1 + a(A003188(A006068(n)/2)). Other identities: For all n >= 0, a(A003945(n)) = n. PROG (Scheme, with memoization-macro definec) (definec (A277808 n) (if (= 1 (A010060 n)) 0 (+ 1 (A277808 (A003188 (/ (A006068 n) 2)))))) ;; Other versions: (define (A277808 n) (if (= 1 (A010060 n)) 0 (A001511 n))) (define (A277808 n) (* (A010059 n) (A001511 n))) CROSSREFS One less than A277822. A left inverse of A003945. Cf. A277812 (gives the odious number where such an iteration is finished at when starting from k=n). Cf. A000069, A001969, A001511, A003188, A006068, A010059, A010060, A245710, A268389. Sequence in context: A359865 A035217 A357237 * A105964 A303051 A324044 Adjacent sequences: A277805 A277806 A277807 * A277809 A277810 A277811 KEYWORD nonn,base AUTHOR Antti Karttunen, Nov 03 2016 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified August 5 18:51 EDT 2024. Contains 374954 sequences. (Running on oeis4.)