Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A096495
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A096495 Number of distinct terms in period of continued fraction of square root of n-th prime. +0
2
1, 2, 1, 2, 2, 2, 1, 4, 3, 3, 4, 1, 2, 4, 3, 3, 4, 5, 5, 4, 3, 3, 2, 3, 3, 1, 5, 4, 6, 3, 6, 4, 3, 6, 5, 7, 5, 6, 3, 3, 6, 6, 6, 5, 1, 7, 8, 3, 2, 3, 3, 6, 5, 5, 1, 4, 2, 7, 7, 5, 6, 3, 6, 6, 6, 5, 8, 6, 5, 4, 4, 3, 7, 3, 9, 4, 3, 7, 1, 6, 6, 8, 7, 6, 3, 2, 5, 7, 5, 9, 4, 6, 9, 8, 4, 4, 6, 6, 8, 9, 8, 2, 4, 6, 10 (list; graph; listen)
OFFSET

1,2

EXAMPLE

n=31,p[31]=127: the period={3,1,2,2,7,11,7,2,2,1,3,22}, so

a[31]=6;

MATHEMATICA

{te=Table[0, {m}], u=1}; Do[s=Length[Union[Last[ContinuedFraction[Prime[n]^(1/2)]]]]; te[[u]]=s; u=u+1, {n, 1, m}]; te

CROSSREFS

Cf. A003285, A054269, A005980, A096491-A096496.

Adjacent sequences: A096492 A096493 A096494 this_sequence A096496 A096497 A096498

Sequence in context: A104640 A016727 A054992 this_sequence A011776 A098965 A016443

KEYWORD

cofr,nonn

AUTHOR

Labos E. (labos(AT)ana.sote.hu), Jun 29 2004

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 October 7 08:31 EDT 2008. Contains 144667 sequences.


AT&T Labs Research