A080052
Value of n such that for any value of n, Pi^n is closer to its nearest integer than any value of Pi^k for 1 <= k < n.
Original entry on oeis.org
1, 2, 3, 58, 81, 157, 1030, 5269, 12128, 65875, 114791, 118885, 151710
Offset: 1
Mark Hudson (mrmarkhudson(AT)hotmail.com), Jan 22 2003
First term is 1 because this is just Pi = 3.14159....
Second term is 2 because Pi^2 = 9.869604... which is 0.13039... away from its nearest integer.
Pi^3 = 31.00627..., hence third term is 3.
Pi^58 is 0.00527... away from its nearest integer.
- J.-M. De Koninck, Ces nombres qui nous fascinent, Entry 58, p. 21, Ellipses, Paris 2008.
-
b := array(1..2000): Digits := 8000: c := 1: pos := 0: for n from 1 to 2000 do: exval := evalf(Pi^n): if (abs(exval-round(exval))
-
a = 1; Do[d = Abs[ Round[Pi^n] - N[Pi^n, Ceiling[ Log[10, Pi^n] + 24]]]; If[d < a, Print[n]; a = d], {n, 1, 25000}]
$MaxExtraPrecision = 10^9; a = 1; Do[d = Abs[ Round[Pi^n] - N[Pi^n, Ceiling[ Log[10, Pi^n] + 24]]]; If[d < a, Print[n]; a = d], {n, 1, 10^5}] (* Ryan Propper, Nov 13 2005 *)
-
f=0; for( i=1,99999, abs(frac(Pi^i)-.5)>f | next; f=abs(frac(Pi^i)-.5); print1(i",")) \\ M. F. Hasler, Apr 06 2008
A080279
Numbers n such that 1/G^n is closer to its nearest integer than any value of 1/G^k for 1 <= k < n, where G is Catalan's constant.
Original entry on oeis.org
1, 8, 52, 299, 437, 527, 2189, 64925
Offset: 1
Mark Hudson (mrmarkhudson(AT)hotmail.com), Feb 13 2003
First term is 1 because this is just 1/G=1.0917440637... Second term is 8 because 1/G^8=2.01821167... which is 0.0182... away from its nearest integer. 1/G^52 is 0.0027 away from 96.
A080053
Exp(n) is further from an integer than any previous exp(k) for 1 <= k < n.
Original entry on oeis.org
1, 2, 4, 5, 6, 10, 16, 21, 85, 115, 118, 136, 169, 177, 346, 1272, 2624, 8823, 12504, 13863, 36507, 51099, 63179, 111473, 143325, 153014, 255220, 476129
Offset: 1
Exp(4) = 54.59815... is closer to an integer than exp(2) = 7.389056... but not exp(3) = 20.085536...
The discrepancy at 111473 is 0.499991807891326554242475...
-
a = 0; Do[ d = Abs[ Round[E^n] - N[E^n, Ceiling[ Log[10, E^n] + 10]]]; If[d > a, Print[n]; a = d], {n, 1, 1000000}]
A080280
Numbers n such that Pi^(n*e)-e^n is closer to its nearest integer than any value of Pi^(k*e)-e^k for 1 <= k < n.
Original entry on oeis.org
1, 2, 5, 19, 212, 233, 299, 519, 1707, 3587, 8841, 8982, 12894
Offset: 1
Mark Hudson (mrmarkhudson(AT)hotmail.com), Feb 13 2003
First term is 1 because this is just Pi^e-e=19.740875... Second term is 2 because Pi^(2*e)-e^2=497.0247 ...
A080283
Numbers n such that (log(n)/Pi)^2 is closer to its nearest integer than any value of (log(k)/Pi)^2 for 1 <= k < n.
Original entry on oeis.org
2, 22, 23, 85, 2198, 83048, 422151, 2508952, 6635624, 199148648, 24591257752, 39660184000219160, 262537412640768744, 14468071444687145223825854225, 75579535015741588088534584527, 101634035376709910404057715634
Offset: 1
Mark Hudson (mrmarkhudson(AT)hotmail.com), Feb 13 2003
-
print1("2,22,");k=vector(2);d=1;for(n=1,500,k[1]=floor(exp(sqrt(n)*Pi)); k[2]=k[1]+1;for(i=1,2,s=(log(k[i])/Pi)^2;s=abs(s-round(s)); if(sRobert Gerbicz, Aug 24 2006
A080284
Numbers n such that (Pi/e)^n is closer to its nearest integer than any value of (Pi/e)^k for 1 <= k < n.
Original entry on oeis.org
1, 5, 44, 49, 93, 94, 204, 283, 338, 547, 919, 1512, 1904, 22563, 52490, 98174
Offset: 1
Mark Hudson (mrmarkhudson(AT)hotmail.com), Feb 13 2003
A080281
Numbers k such that Pi^k - 1/phi is closer to its nearest integer than any value of Pi^j - 1/phi for 1 <= j < k.
Original entry on oeis.org
1, 2, 4, 8, 17, 19, 23, 35, 221, 424, 3846, 16708, 19142, 19937, 55188, 87368
Offset: 1
Mark Hudson (mrmarkhudson(AT)hotmail.com), Feb 13 2003
The first term is 1 because this is just Pi - 1/phi = 2.52355...
The second term is 2 because Pi^2 - 1/phi = 9.25157...
The next term is 4 because Pi^4 - 1/phi is closer to an integer than Pi^3 - 1/phi.
-
$MaxExtraPrecision = 10^6; p = 2/(1+Sqrt[5]); b = 1; Do[a = Abs[N[Round[Pi^n - p] - (Pi^n - p), 30]]; If[a < b, Print[n]; b = a], {n, 1, 10^5}] (* Ryan Propper, Jul 27 2005 *)
-
upto(n) = my(c = 2, phi = (1 + sqrt(5)) / 2, res = List, r = 2); Pik = 1; for(i = 1, n, Pik *= Pi; c = frac(Pik - phi); c = min(c, 1-c); if(c < r, listput(res, i); r = c)); res \\ David A. Corneth, Nov 19 2018
A080282
Numbers n such that log(n) + log_10(n) is closer to its nearest integer than any value of log(k) + log_10(k) for 1 < = k < n.
Original entry on oeis.org
2, 132, 264, 531, 8636, 69934, 140437, 282017, 566329, 1137266, 2283785, 4586151, 37138783, 74579724, 149766223, 603948755, 2435489735, 9821380043, 19722666141, 39605794500, 159714719422, 320728866517, 320728866518
Offset: 1
Mark Hudson (mrmarkhudson(AT)hotmail.com), Feb 13 2003
Interestingly, values of n that satisfy the criterion seem to start appearing in pairs if this sequence is extended further.
For example, the values 320728866517 and 320728866518 and later on the values 11169523543872502 and 11169523543872503. Many more of these n, n+1 pairs crop up in the sequence.
Still more terms from Mark Hudson, Aug 26 2004
A080285
Numbers n such that [(Pi+e)/(Pi-e)]^n is closer to its nearest integer than any value of [(Pi+e)/(Pi-e)]^k for 1 <= k < n.
Original entry on oeis.org
1, 4, 10, 12, 20, 263, 964, 1533, 26974
Offset: 1
Mark Hudson (mrmarkhudson(AT)hotmail.com), Feb 13 2003
-
$MaxExtraPrecision = 10^6; x = (Pi + E)/(Pi - E); b = 1; Do[a = Abs[N[Round[x^n] - x^n, 30]]; If[a < b, Print[n]; b = a], {n, 1, 30000}] (* Ryan Propper, Jul 26 2005 *)
A080072
Values of n such that Pi^n is farther from its closest integer than any Pi^k for 1 <= k < n.
Original entry on oeis.org
1, 4, 8, 31, 61, 89, 200, 217, 257, 1366, 3642, 4926, 20265
Offset: 1
Mark Hudson (mrmarkhudson(AT)hotmail.com), Jan 24 2003
E.g., Pi^1=3.14159265... Pi^2=9.869..., Pi^3=31.00627..., Pi^4=97.40909... so Pi^4 is farther from 97 (its closest integer) than Pi^3 is from 31, or Pi^2 is from 10.
-
b := array(1..5000): Digits := 10000: c := 0: pos := 0: for n from 1 to 10000 do: exval := evalf(Pi^n): if (abs(exval-round(exval))>c) then c := (abs(exval-round(exval))): pos := pos+1: b[pos] := n: print(n):fi: od: seq(b[n],n=1..pos);
-
default(realprecision,20000);d=0.0;p=Pi;a=1;for(n=1,40000,a*=p; s=abs(a-round(a));if(s>d,d=s;print1(n,","))) \\ Robert Gerbicz, Aug 22 2006
Showing 1-10 of 13 results.
Comments