Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A135296
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A135296 A measure of quality (the higher the better) for the approximation to Pi by rationals A022853(n)/n. +0
1
7, 3, 2, 2, 3, 6, 112, 7, 3, 2, 2, 3, 6, 56, 8, 3, 2, 2, 3, 5, 37, 8, 3, 2, 2, 3, 5, 28, 9, 4, 2, 2, 3, 5, 22, 10, 4, 2, 2, 2, 5, 18, 11, 4, 2, 2, 2, 4, 16, 12, 4, 2, 2, 2, 4, 14, 14, 4, 2, 2, 2, 4, 12, 16, 4, 2, 2, 2, 4, 11, 18, 5, 2, 2, 2, 4, 10, 22, 5, 3, 2, 2, 4, 9, 28, 5, 3, 2, 2 (list; graph; listen)
OFFSET

1,1

FORMULA

a(n) = [1/|n*Pi-A022853(n)|].

EXAMPLE

a(7)=112 because [1/|7*Pi-22|] = [1/|-0.0088514|] = [112.976] = 112.

MATHEMATICA

a = {}; For[n = 1, n < 90, n++, AppendTo[a, Floor[1/(If[FractionalPart[n*Pi] > 1/2, Ceiling[n*Pi] - n*Pi, n*Pi - Floor[n*Pi]])]]]; a - Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), Dec 05 2007

CROSSREFS

Cf. A022853.

Sequence in context: A033327 A024584 A132713 this_sequence A098907 A153205 A075564

Adjacent sequences: A135293 A135294 A135295 this_sequence A135297 A135298 A135299

KEYWORD

nonn

AUTHOR

Franz Vrabec (franz.vrabec(AT)planetuniqa.at), Dec 04 2007

EXTENSIONS

More terms from Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), Dec 05 2007

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 24 23:11 EST 2009. Contains 167435 sequences.


AT&T Labs Research