Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A129227
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A129227 a(n) = that prime number, p, less than n*pi such that n*pi/p has the smallest fractional part. +0
2
3, 3, 3, 11, 5, 17, 7, 5, 7, 31, 17, 37, 37, 43, 47, 5, 53, 53, 59, 31, 13, 23, 71, 73, 13, 79, 83, 29, 13, 47, 97, 97, 103, 53, 109, 113, 29, 17, 61, 31, 127, 131, 67, 137, 46, 71, 73, 149, 151, 157, 157, 163, 83, 167, 43, 173, 179, 181, 37, 47, 191, 97, 197, 67, 17, 103 (list; graph; listen)
OFFSET

1,1

EXAMPLE

a(4)=11 because 4*pi/11 = 1.142... and the fractional part .142... represents the smallest remainder resulting from the division of 4*pi by a prime number less than 4*pi.

MATHEMATICA

f[n_] := (p = Denominator[ Min[ FractionalPart[(n*Pi / Prime@ Range@ PrimePi[n*Pi])]] [[2]]]; If[p == 1, n, p]); Array[f, 66] (* Robert G. Wilson v *)

CROSSREFS

Cf. A129228.

Sequence in context: A097707 A115282 A029616 this_sequence A097161 A101480 A133797

Adjacent sequences: A129224 A129225 A129226 this_sequence A129228 A129229 A129230

KEYWORD

easy,nonn

AUTHOR

Axel Harvey (ax(AT)hirsig.ca), Apr 04 2007

EXTENSIONS

Edited and extended by Robert G. Wilson v (rgwv(AT)rgwv.com), Apr 08 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 August 29 17:54 EDT 2008. Contains 143238 sequences.


AT&T Labs Research