Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A091657
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A091657 First occurrence of 1..n as terms in the continued fraction for Pi. +0
2
4, 9, 9, 30, 40, 40, 40, 44, 130, 130, 276, 276, 276, 276, 276, 276, 647, 647, 647, 647, 647, 647, 647, 647, 791, 791, 791, 791, 791, 791, 878, 878, 878, 878, 1008, 1008, 1008, 3041, 3041, 3041, 3041, 3041, 3041, 3041, 3041, 3200, 3200, 3200, 3200, 3200, 3200 (list; graph; listen)
OFFSET

1,1

MATHEMATICA

f[n_] := Block[{k = 1}, While[ StringPosition[ ToString[ Union[ ContinuedFraction[Pi, k]]], StringDrop[ ToString[ Table[i, {i, n}]], -1]] == {}, k++ ]; k]; Table[ f[n], {n, 1, 51}]

CROSSREFS

Cf. A001203, A032523.

Adjacent sequences: A091654 A091655 A091656 this_sequence A091658 A091659 A091660

Sequence in context: A095873 A141801 A081949 this_sequence A088037 A071768 A020673

KEYWORD

cofr,nonn

AUTHOR

Robert G. Wilson v (rgwv(AT)rgwv.com), Jan 26 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 10 20:39 EDT 2008. Contains 144831 sequences.


AT&T Labs Research