login
A337634
Number of numbers k <= n such that both k and k+1 are in A095096.
8
0, 0, 0, 0, 0, 0, 1, 1, 1, 2, 3, 3, 3, 3, 4, 5, 5, 5, 5, 5, 5, 5, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, 12, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 14, 14, 14, 14, 14, 14, 14, 15, 16, 16, 16, 16, 16, 16, 16, 17
OFFSET
0,10
LINKS
Anton Shutov, On the Sum of Digits of the Zeckendorf Representations of Two Consecutive Numbers, The Fibonacci Quarterly, Vol. 58, No. 3 (2020), pp. 203-207.
FORMULA
a(n) ~ (sqrt(5)/10) * n + O(log(n)) (Shutov, 2020). - Amiram Eldar, Dec 23 2025
MATHEMATICA
s = SequencePosition[Mod[DigitCount[Select[Range[0, 400], BitAnd[#, 2 #] == 0 &], 2, 1], 2], {0, 0}][[;; , 1]] - 1; t = Table[0, {s[[-1]] + 1}]; t[[s + 1]] = 1; Accumulate[t] (* Amiram Eldar, Feb 05 2023 *)
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, Sep 12 2020
EXTENSIONS
Offset corrected by Amiram Eldar, Feb 05 2023
STATUS
approved