login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A224719 Records in A224796. 2
1, 15, 36, 50, 57, 71, 99, 325, 346, 558, 1688, 2366, 3270, 4626, 5982, 7112, 7338, 7790, 8016, 9372, 10050, 10502, 10728, 11858, 12084, 12536, 12762, 13214, 13440, 15248, 15926, 16604, 17282, 18864, 21350, 21576, 22028, 22706, 22932, 24288, 24740, 27452, 28356, 30842, 31520, 31746, 32424, 33102, 132747 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Charles R Greathouse IV, Table of n, a(n) for n = 1..60

Chris Caldwell and G. L. Honaker, Jr., Prime curio for 15

EXAMPLE

a(4)=50 because Pi*50=157.07963... is closer to a prime than any previous value of n.

PROG

(PARI) r=1; forprime(p=2, 1e6, n=round(p/Pi); t=abs(p-Pi*n); if(t<r, r=t; print1(n", "))) \\ Charles R Greathouse IV, Apr 18 2013

CROSSREFS

Cf. A000040, A000796

Sequence in context: A219096 A134509 A062712 * A033709 A067707 A166146

Adjacent sequences:  A224716 A224717 A224718 * A224720 A224721 A224722

KEYWORD

nonn

AUTHOR

G. L. Honaker, Jr., Apr 18 2013

EXTENSIONS

Additional terms from Mike Keith (mikek314(at)gmail.com)

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 20 19:27 EDT 2019. Contains 324234 sequences. (Running on oeis4.)