|
|
A362692
|
|
Length of the "integer part" of the phi-expansion of n.
|
|
5
|
|
|
1, 1, 2, 3, 3, 4, 4, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
The phi-representation of n is the (essentially) unique way to write n = Sum_{j=L..R} b(j)*phi^j, where b(j) is in {0,1} and -oo < L <= 0 <= R, where phi = (1+sqrt(5))/2, subject to the condition that b(j)b(j+1) != 1. The "integer" part is the string of bits b(R)b(R-1)...b(1)b(0), and its length is thus R+1.
The gaps between consecutive terms are all either 0 or 1, and a gap of 1 occurs if and only if n = 1 or n = L(2i) or n = L(2i-1) + 1 for i >= 1. This is equivalent to Theorem 2.1 of Sanchis and Sanchis (2001).
|
|
LINKS
|
|
|
FORMULA
|
There is a linear representation of rank 9 for a(n).
a(n) = ceiling(log_phi(n)) for n >= 2.
|
|
EXAMPLE
|
For n = 20 we have n = phi^6 + phi^1 + phi^(-2) + phi^(-6), and the "integer part" has largest term phi^6, so a(20) = 7.
|
|
MATHEMATICA
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|