Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A038567
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A038567 Denominators in canonical bijection from positive integers to positive rationals <= 1. +0
11
1, 2, 3, 3, 4, 4, 5, 5, 5, 5, 6, 6, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 12, 12, 12, 12, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 14, 14, 14, 14, 14, 14, 15, 15, 15, 15, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16 (list; graph; listen)
OFFSET

0,2

COMMENT

Least k such that phi(1)+phi(2)+phi(3)+...+phi(k) >= n - Benoit Cloitre (benoit7848c(AT)orange.fr), Sep 17 2002

Sum of numerator and denominator of fractions arranged by Cantor's ordering (1/1, 2/1, 1/2, 1/3, 3/1, 4/1, 3/2, 2/3, 1/4, 1/5, 5/1, 6/1, ...) with equivalent fractions removed. [From Ron King (rrking(AT)alaskalife.net), Mar 07 2009]

REFERENCES

H. Lauwerier, Fractals, Princeton Univ. Press, p. 23.

LINKS

David Wasserman, Table of n, a(n) for n = 0..100000

Index entries for sequences related to Stern's sequences

Index entries for "core" sequences

FORMULA

n occurs phi(n) times (cf. A000010).

a(n) = A020652(n - 1)+A020653(n - 1). n = a(A015614(n)) = a(A002088(n)) - 1 = a(A002088(n - 1)) - Henry Bottomley (se16(AT)btinternet.com), Dec 18 2000

EXAMPLE

Arrange fractions by increasing denominator then by increasing numerator:

1/1, 1/2, 1/3, 2/3, 1/4, 3/4, 1/5, 2/5, 3/5, ... (this is A038566/A038567).

MAPLE

with (numtheory): A038567 := proc (n) local sum, k; sum := 1: k := 2: while (sum < n) do: sum := sum + phi(k): k := k + 1: od: RETURN (k-1): end: # from UlrSchimke(AT)aol.com, Nov 06, 2001

PROGRAM

(PARI) a(n)=if(n<0, 0, s=1; while(sum(i=1, s, eulerphi(i))<n, s++); s)

CROSSREFS

Cf. A020652, A020653, A038566-A038569.

A054427 gives mapping to Stern-Brocot tree.

Sequence in context: A061716 A126236 A073047 this_sequence A036234 A061091 A086592

Adjacent sequences: A038564 A038565 A038566 this_sequence A038568 A038569 A038570

KEYWORD

nonn,frac,core,easy,nice

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com).

EXTENSIONS

More terms from Erich Friedman (erich.friedman(AT)stetson.edu).

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 22 15:28 EST 2009. Contains 167310 sequences.


AT&T Labs Research