Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A062328
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A062328 Length of period of continued fraction expansion of square root of 3^n+1. +0
2
0, 1, 4, 1, 26, 1, 56, 1, 44, 1, 264, 1, 814, 1, 136, 1, 3730, 1, 20968, 1, 2448, 1, 287980, 1, 397238, 1, 2678, 1, 670896, 1, 8110044, 1, 20696, 1, 1066520, 1 (list; graph; listen)
OFFSET

1,3

EXAMPLE

The period of sqrt(244) contains 26 terms: [1, 1, 1, 1, 1, 2, 1, 5, 1, 1, 9, 1, 6, 1, 9, 1, 1, 5, 1, 2, 1, 1, 1, 1, 1, 30], so a(5) = 26.

MAPLE

with(numtheory): [seq(nops(cfrac(sqrt(3^k+1), 'periodic', 'quotients')[2]), k=2..18)];

MATHEMATICA

Table[Last[ContinuedFraction[Sqrt[3^w+1]]], {w, 1, 36}]

CROSSREFS

Cf. A059866, A059926, A059927, A062682.

Sequence in context: A079621 A046860 A089505 this_sequence A136234 A135897 A039816

Adjacent sequences: A062325 A062326 A062327 this_sequence A062329 A062330 A062331

KEYWORD

nonn

AUTHOR

Labos E. (labos(AT)ana.sote.hu), Jul 13 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 September 6 00:03 EDT 2008. Contains 143485 sequences.


AT&T Labs Research