Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A002531
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A002531 Numerators of continued fraction convergents to sqrt(3).
(Formerly M1340 N0513)
+0
15
1, 1, 2, 5, 7, 19, 26, 71, 97, 265, 362, 989, 1351, 3691, 5042, 13775, 18817, 51409, 70226, 191861, 262087, 716035, 978122, 2672279, 3650401, 9973081, 13623482, 37220045, 50843527, 138907099, 189750626, 518408351, 708158977, 1934726305 (list; graph; listen)
OFFSET

0,3

COMMENT

Consider the mapping f(a/b) = (a + 3b)/(a + b). Taking a = b = 1 to start with and carrying out this mapping repeatedly on each new (reduced) rational number gives the following sequence 1/1,2/1,5/3,7/4,19/11,... converging to 3^(1/2). Sequence contains the numerators. - Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Mar 22 2003

In the Murthy comment if we take a=0, b=1 then the denominator of the reduced fraction is a(n+1). A083336(n)/a(n+1) converges to sqrt(3). - Mario Catalani (mario.catalani(AT)unito.it), Apr 26 2003

If signs are disregarded, all terms of A002316 appear to be elements of this sequence. - Creighton Dement (creighton.k.dement(AT)uni-oldenburg.de), Jun 11 2007

REFERENCES

I. Niven and H. S. Zuckerman, An Introduction to the Theory of Numbers. 2nd ed., Wiley, NY, 1966, p. 181.

N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).

N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

A. Tarn, Approximations to certain square roots and the series of numbers connected therewith, Mathematical Questions and Solutions from the Educational Times, 1 (1916), 8-12.

LINKS

Harry J. Smith, Table of n, a(n) for n=0,...,2000

S. Plouffe, Approximations de S\'{e}ries G\'{e}n\'{e}ratrices et Quelques Conjectures, Dissertation, Universit\'{e} du Qu\'{e}bec \`{a} Montr\'{e}al, 1992.

S. Plouffe, 1031 Generating Functions and Conjectures, Universit\'{e} du Qu\'{e}bec \`{a} Montr\'{e}al, 1992.

Index entries for "core" sequences

FORMULA

G.f.: (1+x-2x^2+x^3)/(1-4x^2+x^4).

a(2n) = a(2n-1) + a(2n-2), a(2n+1) = 2a(2n) + a(2n-1), n>0.

a(2n)=(1/2)*((2+sqrt(3))^n+(2-sqrt(3))^n); a(2n)=A003500(n)/2; a(2n+1) = round( 1/(1+sqrt(3))*(2+sqrt(3))^n) - Benoit Cloitre (benoit7848c(AT)orange.fr), Dec 15 2002

EXAMPLE

1+1/(1+1/(2+1/(1+1/2)))=19/11 so a(5)=19.

Convergents are 1, 2, 5/3, 7/4, 19/11, 26/15, 71/41, 97/56, 265/153, 362/209, 989/571, 1351/780, 3691/2131, ... = A002531/A002530

MAPLE

A002531 := proc(n) option remember; if n=0 then 0 elif n=1 then 1 elif n=2 then 1 elif type(n, odd) then A002531(n-1)+A002531(n-2) else 2*A002531(n-1)+A002531(n-2) fi; end; [ seq(A002531(n), n=0..50) ];

with(numtheory): tp := cfrac (tan(Pi/3), 100): seq(nthnumer(tp, i), i=-1..32 ); - Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Feb 07 2007

A002531:=(1+z-2*z**2+z**3)/(1-4*z**2+z**4); [Conjectured (correctly) by S. Plouffe in his 1992 dissertation.]

MATHEMATICA

Insert[Table[Numerator[FromContinuedFraction[ContinuedFraction[Sqrt[3], n]]], {n, 1, 40}], 1, 1] - Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), Apr 01 2006

PROGRAM

(PARI) a(n)=if(n<0, 0, contfracpnqn(vector(n, i, 1+(i>1)*(i%2)))[1, 1])

(PARI) { default(realprecision, 2000); for (n=0, 2000, a=contfracpnqn(vector(n, i, 1+(i>1)*(i%2)))[1, 1]; write("b002531.txt", n, " ", a); ); } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jun 01 2009]

CROSSREFS

Bisections are A001075 and A001834.

Cf. A002530, A048788.

Cf. A002316.

Sequence in context: A045359 A042809 A108413 this_sequence A042449 A046115 A089443

Adjacent sequences: A002528 A002529 A002530 this_sequence A002532 A002533 A002534

KEYWORD

nonn,frac,easy,core,nice

AUTHOR

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

page 1

Search completed in 0.003 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 30 13:13 EST 2009. Contains 167758 sequences.


AT&T Labs Research