A362756 Sum of the bits of the "fractional part" of the base-phi representation of n.
0, 0, 1, 1, 1, 2, 1, 1, 1, 2, 2, 2, 3, 2, 2, 2, 2, 1, 1, 1, 2, 2, 2, 3, 2, 2, 2, 3, 3, 3, 4, 3, 3, 3, 3, 2, 2, 2, 3, 3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 2, 2, 2, 3, 2, 2, 2, 3, 3, 3, 4, 3, 3, 3, 3, 2, 2, 2, 3, 3, 3, 4, 3, 3, 3, 4, 4, 4, 5, 4, 4, 4, 4, 3, 3, 3, 4, 4
Offset: 0
Keywords
Examples
For n = 20 the phi-representation is 1000010.010001, so a(20) = 2.
Links
- George Bergman, A number system with an irrational base, Math. Mag. 31 (1957), 98-110.
Formula
There is a linear representation of rank 21 for a(n).
Comments