OFFSET
1,2
COMMENTS
Numbers k such that A007895(A000079(k)) = A000120(A000045(k)), or equivalently A020908(k) = A011373(k).
The corresponding values of A020908(k) = A011373(k) are 1, 1, 2, 3, 3, 5, 6, 8, 9, 18, 22, 24, 33, 53, 106, 122, 232, ... .
a(18) > 63000, if it exists.
a(18) > 333333, if it exists. - Lucas A. Brown, Aug 13 2024
LINKS
Lucas A. Brown, Python program.
EXAMPLE
--+----------+-----+--------------+------+---------------+--------------
1 | 1 | 2 | 10 | 1 | 1 | 1
2 | 3 | 8 | 10000 | 2 | 10 | 1
3 | 4 | 16 | 100100 | 3 | 11 | 2
4 | 7 | 128 | 1010001000 | 13 | 1101 | 3
5 | 8 | 256 | 100001000010 | 21 | 10101 | 3
MATHEMATICA
z[n_] := Length[DeleteCases[NestWhileList[# - Fibonacci[Floor[Log[Sqrt[5]*# + 3/2]/Log[GoldenRatio]]] &, n, # > 1 &], 0]]; (* Alonso del Arte at A007895 *)
Select[Range[700], z[2^#] == DigitCount[Fibonacci[#], 2, 1] &]
PROG
(PARI) A007895(n)=if(n<4, n>0, my(k=2, s, t); while(fibonacci(k++)<=n, ); while(k && n, t=fibonacci(k); if(t<=n, n-=t; s++); k--); s); \\ Charles R Greathouse IV at A007895
is(k) = A007895(2^k) == hammingweight(fibonacci(k));
CROSSREFS
KEYWORD
nonn,base,more
AUTHOR
Amiram Eldar, Jul 25 2024
STATUS
approved