OFFSET
1,1
COMMENTS
A007895(a(n)) = 11. - Reinhard Zumkeller, Mar 10 2013
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
EXAMPLE
28656=17711+6765+2584+987+377+144+55+21+8+3+1;
39602=28657+6765+2584+987+377+144+55+21+8+3+1;
MAPLE
with(combinat): B := proc (n) local A, ct, m, j: A := proc (n) local i: for i while fibonacci(i) <= n do n-fibonacci(i) end do end proc: ct := 0: m := n: for j while 0 < A(m) do ct := ct+1: m := A(m) end do: ct+1 end proc: Q := {}: for i from fibonacci(23)-1 to 73000 do if B(i) = 11 then Q := `union`(Q, {i}) else end if end do: Q;
MATHEMATICA
Select[Range[6*10^6], BitAnd[#, 2*#] == 0&] // DigitCount[#, 2, 1]& // Position[#, 11]& // Flatten (* Jean-François Alcover, Feb 15 2018 *)
PROG
(Haskell)
a179251 n = a179251_list !! (n-1)
a179251_list = filter ((== 11) . a007895) [1..]
-- Reinhard Zumkeller, Mar 10 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Emeric Deutsch, Jul 05 2010
STATUS
approved