cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-3 of 3 results.

A060295 Decimal expansion of exp(Pi*sqrt(163)).

Original entry on oeis.org

2, 6, 2, 5, 3, 7, 4, 1, 2, 6, 4, 0, 7, 6, 8, 7, 4, 3, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 2, 5, 0, 0, 7, 2, 5, 9, 7, 1, 9, 8, 1, 8, 5, 6, 8, 8, 8, 7, 9, 3, 5, 3, 8, 5, 6, 3, 3, 7, 3, 3, 6, 9, 9, 0, 8, 6, 2, 7, 0, 7, 5, 3, 7, 4, 1, 0, 3, 7, 8, 2, 1, 0, 6, 4, 7, 9, 1, 0, 1, 1, 8, 6, 0, 7, 3, 1, 2, 9, 5, 1, 1, 8, 1
Offset: 18

Views

Author

Jason Earls, Mar 24 2001

Keywords

Comments

From Alexander R. Povolotsky, Jun 23 2009, Apr 04 2012: (Start)
One could observe that the last four of Class Number 1 expressions in T. Piezas "Ramanujan Pages" could be expressed as the following approximation:
exp(Pi*sqrt(19+24*n)) =~ (24*k)^3 + 31*24
which gives 4 (four) "almost integer" solutions:
1) n = 0, 19+24*0 = 19, k = 4;
2) n = 1, 19+24*1 = 43, k = 40;
3) n = 2, 19+24*2 = 67, k = 220;
4) n = 6, 19+24*6 = 163, k = 26680; this of course is the case for Ramanujan constant vs. its integer counterpart approximation. (End)
From Alexander R. Povolotsky, Oct 16 2010, Apr 04 2012: (Start)
Also if one expands the left part above to exp(Pi*sqrt(b(n))) where b(n) = {19, 25, 43, 58, 67, 163, 232, ...} then the expression (exp(Pi*sqrt(b(n))))/m (where m is either integer 1 or 8) yields values being very close to whole integer value:
Note, that the first differences of b(n) are all divisible by 3, giving after the division: {2, 6, 5, 3, 32, 33, ...}. (End)
From Amiram Eldar, Jun 24 2021: (Start)
This constant was discovered by Hermite (1859).
It is sometimes called "Ramanujan's constant" due to an April Fool's joke by Gardner (1975) in which he claimed that Ramanujan conjectured that this constant is an integer, and that a fictitious "John Brillo" of the University of Arizona proved it on May 1974.
In fact, Ramanujan studied similar near-integers of the form exp(Pi*sqrt(k)) (e.g., A169624), but not this constant.
Gauld (1984) discovered that (Pi*sqrt(163))^e = 22806.9992... is also a near-integer. (End)

Examples

			The Ramanujan number = 262537412640768743.99999999999925007259719818568887935...
		

References

  • John H. Conway and Richard K. Guy, The Book of Numbers, New York: Springer-Verlag, 1996. See pp. 225-226.
  • C. Stanley Ogilvy and John T. Anderson, Excursions in Number Theory, Oxford University Press, NY, 1966, p. 106.
  • Harold M. Stark, An Introduction to Number Theory, Markham, Chicago, 1970, p. 179.
  • Dimitris Vathis, Letter to N. J. A. Sloane, Apr 22 1985.
  • David Wells, The Penguin Dictionary of Curious and Interesting Numbers. Penguin Books, NY, 1986, Revised edition 1987. See p. 142.

Crossrefs

Programs

  • Magma
    R:= RealField(); Exp(Pi(R)*Sqrt(163)); // G. C. Greubel, Feb 15 2018
  • Mathematica
    RealDigits[N[E^(Pi*Sqrt[163]), 110]][[1]]
  • PARI
    default(realprecision, 20080); x=exp(Pi*sqrt(163))/10^17; for (n=18, 20000, d=floor(x); x=(x-d)*10; write("b060295.txt", n, " ", d)); \\ Harry J. Smith, Jul 03 2009
    

Formula

exp(Pi*sqrt(163)) = A199743(6)^3 + 744 - 7.4992... * 10^-13. - Charles R Greathouse IV, Jul 15 2020

A056581 Nearest integer to 1/(A056580(n) - exp(sqrt(n)*Pi)).

Original entry on oeis.org

-7, -51, 4, -2, -5, 110, 15, -3, 3, 5, -7, -3, 19, 4, 5, -3, 430, 141, 4, 4, -2, 574, 3, 7, 1518, -3, 62, 84, -2, -10, 11, -7, -13, -4, 4, -3, 45551, -5, 3, 3, 2, -33, 4494, -8, -5, -6, 3, -2, 7, 2, 9, -3, -4, -4, 3, -17, -2, 5624716, 147, -5, 4, 3, 3, 2, 6, -2, 747638
Offset: 1

Views

Author

Henry Bottomley, Jun 30 2000

Keywords

Comments

A measure of how close e^(Pi*sqrt(n)) is to an integer (higher absolute value of a(n) means closer, negative value means the closest integer is smaller than it).
The sign convention is chosen so that most terms and in particular record values such as those occurring for the Heegner numbers A003173, are positive, so that A069014 lists record indices of this sequence (except for A069014(2)=2 instead of 3 for signed values). The sequence is not defined for n=0,-1 where e^(sqrt(n)*Pi) is an integer. - M. F. Hasler, Apr 15 2008
Negative resp. positive values of a(n) correspond to 2nd resp. 3rd term of the continued fraction expansion of exp(sqrt(n)*Pi), up to a difference of -1 or -2 depending on the direction of rounding. - M. F. Hasler, Apr 15 2008

Examples

			a(6)=110, since e^(Pi*sqrt(6)) = 2197.9908695... and 1/(2198-2197.9908695...) = 109.52... which rounds to 110.
e^(Pi*sqrt(163)) = 262537412640768743.9999999999992500725971981... (the Ramanujan number) and so a(163)=1333462407513.
		

References

  • For links, references and more information see A019296 and other cross-referenced sequences.

Crossrefs

Programs

  • PARI
    default(realprecision,100); dZ(x)=round(x)-x
    A056581(n)=round(1/dZ(exp(sqrt(n)*Pi)))

Formula

a(n) = 1/(A056580(n) - e^(sqrt(n)*Pi)).
A019296 ={-1, 0} U { n | abs(A056581(n)) > 100} U { some n for which abs(A056581(n)) = 100 }. - M. F. Hasler, Apr 15 2008

Extensions

Definition, formulas and values corrected and extended by M. F. Hasler, Apr 15 2008

A019297 Integers k such that abs(e^(Pi*sqrt(n)) - k) < 0.01 for some n.

Original entry on oeis.org

-1, 1, 2198, 422151, 614552, 2508952, 6635624, 199148648, 884736744, 24591257752, 30197683487, 147197952744, 545518122090, 70292286279654, 39660184000219160, 45116546012289600, 262537412640768744
Offset: 0

Views

Author

Roy Williams Clickery (roy(AT)ccsf.caltech.edu)

Keywords

Comments

Old name of sequence was "Integers that are very close to values of exp(Pi*sqrt(n))", which left "very close" undefined. Robert G. Wilson v resolved this problem on Feb 28 2006 with the comment that "'Very close' means to within 0.01." - Jon E. Schoenfield, Mar 21 2015

Examples

			e^(Pi*sqrt(163)) = 262537412640768743.99999999999925007259719818568887935385...
		

References

  • H. M. Stark, An Introduction to Number Theory. Markham, Chicago, 1970, p. 179.

Crossrefs

Programs

  • Mathematica
    f[n_] := Block[{e = Exp[Pi*Sqrt[n]]}, Abs[e - Round[e]]]; Round @ Exp[Pi*Sqrt @ Select[Range[ -1, 200], f @ # < 10^(-2) &]] (* Robert G. Wilson v, Feb 28 2006 *)

Extensions

New name, based on Feb 28 2006 comment from Robert G. Wilson v, from Jon E. Schoenfield, Mar 21 2015
Typos in Mma program corrected by Giovanni Resta, Jun 12 2016
Showing 1-3 of 3 results.