Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A065675
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A065675 The exponent of 2 in the fractions of the range ]0,1[ Stern-Brocot tree (A007305/A007306) [1/2, 1/3, 2/3, 1/4, 2/5, 3/5, 3/4, 1/5, 2/7, 3/8, 3/7, 4/7, 5/8, 5/7, 4/5, ...]. +0
4
-1, 0, 1, -2, 1, 0, -2, 0, 1, -3, 0, 2, -3, 0, 2, -1, 1, 0, -1, 2, 0, -2, 2, 0, -2, 3, 0, -1, 3, 0, -1, 0, 1, -1, 0, 2, -1, 0, 2, -1, 0, 3, -1, 0, 3, -4, 0, 1, -4, 0, 1, -1, 0, 2, -1, 0, 2, -1, 0, 1, -1, 0, 1, -3, 1, 0, -4, 2, 0, -1, 2, 0, -1, 3, 0, -3, 3, 0, -4, 1, 0, -1, 1, 0, -1, 2, 0, -1, 2, 0, -1, 1, 0, -2, 1, 0, -2, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0 (list; graph; listen)
OFFSET

1,4

COMMENT

The exponent is negative when the denominator (A007306) is even. These occur as every third term.

LINKS

Index entries for sequences related to Stern's sequences

MAPLE

[seq(exp_of_2(SternBrocot0_1frac(j)), j=1..128)];

SternBrocot0_1frac := proc(n) local m; m := n + 2^floor_log_2(n); SternBrocotTreeNum(m)/SternBrocotTreeDen(m); end;

exp_of_2 := proc(x) local f, m; f := ifactors(x)[2]; for m in f do if(2 = m[1]) then RETURN(m[2]); fi; od; RETURN(0); end;

CROSSREFS

Cf. A065674, A065676, A065658.

Sequence in context: A002325 A129134 A133693 this_sequence A127476 A140397 A120614

Adjacent sequences: A065672 A065673 A065674 this_sequence A065676 A065677 A065678

KEYWORD

sign

AUTHOR

Antti Karttunen Nov 22 2001

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 24 14:25 EST 2009. Contains 167438 sequences.


AT&T Labs Research