login
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
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
KEYWORD
nonn
AUTHOR
G. L. Honaker, Jr., Apr 18 2013
EXTENSIONS
Additional terms from Mike Keith (mikek314(at)gmail.com)
STATUS
approved