login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A118241 Interpret A118240 as a binary sequence and convert to decimal. 1
0, 0, 1, 2, 3, 5, 7, 10, 11, 13, 14, 15, 21, 23, 26, 27, 29, 31, 42, 43, 45, 46, 47, 53, 55, 58, 59, 61, 62, 63, 85, 87, 90, 91, 93, 95, 106, 107, 109, 110, 111, 117, 119, 122, 123, 125, 127, 170, 171, 173, 174, 175, 181, 183, 186, 187, 189, 190, 191, 213, 215, 218, 219 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,4

COMMENTS

constant (float): phi=(sqrt(5)+1)/2; variable (float): lphi=phi^floor[log(n)/log(phi)]; variable (float): rem=n; variable (integer): count=0; loop: while lphi>1 (count=count*2; lphi=lphi/phi; if(rem > lphi*phi) { rem=rem-lphi; count++;}}

LINKS

Table of n, a(n) for n=0..62.

EXAMPLE

6 = 111.01101010... in base phi using the least-greedy

algorithm, so A118240(6)=111, so a(6)=7.

CROSSREFS

Cf. A118240, A105425.

Sequence in context: A087246 A090421 A109608 * A002269 A047487 A048461

Adjacent sequences:  A118238 A118239 A118240 * A118242 A118243 A118244

KEYWORD

nonn

AUTHOR

Graeme McRae, Apr 17, 2006

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified May 23 17:52 EDT 2013. Contains 225611 sequences.