OFFSET
1,1
COMMENTS
A007895(a(n)) = 4. - Reinhard Zumkeller, Mar 10 2013
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
EXAMPLE
33=21+8+3+1;
46=34+8+3+1;
51=34+13+3+1;
53=34+13+5+1;
54=34+13+5+2;
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(9)-1 to 200 do if B(i) = 4 then Q := `union`(Q, {i}) else end if end do: Q;
MATHEMATICA
zeck = DigitCount[Select[Range[2000], BitAnd[#, 2*#] == 0&], 2, 1];
Position[zeck, 4] // Flatten (* Jean-François Alcover, Jan 25 2018 *)
PROG
(Haskell)
a179244 n = a179244_list !! (n-1)
a179244_list = filter ((== 4) . a007895) [1..]
-- Reinhard Zumkeller, Mar 10 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Emeric Deutsch, Jul 05 2010
STATUS
approved