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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A002938 The minimal sequence (from solving n^3 - m^2 = a(n)).
(Formerly M0033 N0008)
3
0, 1, 2, 0, 4, 9, 18, 17, 0, 24, 35, 36, 12, 40, 11, 0, 13, 56, 30, 79, 45, 39, 67, 100, 0, 113, 83, 48, 53, 104, 138, 7, 163, 100, 26, 0, 28, 116, 217, 9, 248, 104, 17, 80, 79, 8, 139, 297, 0, 316, 155, 17, 119, 145, 89, 55, 293, 252, 170, 225, 405, 184, 47, 0, 49 (list; graph; refs; listen; history; internal format)
OFFSET

1,3

COMMENTS

a(n^2)=0 - Benoit Cloitre (benoit7848c(AT)orange.fr), Aug 17 2002

REFERENCES

Marshall Hall, Jr., The Diophantine equation x^3-y^2=k, pp. 173-198 of A. O. L. Atkin and B. J. Birch, editors, Computers in Number Theory. Academic Press, NY, 1971.

N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).

N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

LINKS

T. D. Noe, Table of n, a(n) for n = 1..10000

FORMULA

a(n) = |A077119(n+1)|.

MATHEMATICA

f1[n_]:=n-Floor[Sqrt[n]]^2; f2[n_]:=Ceiling[Sqrt[n]]^2-n; Table[Min[f1[n^3], f2[n^3]], {n, 100}] (* From Vladimir Orlovsky, Apr 08 2010 *)

PROG

(PARI) a(n)=vecmin(vector(ceil(n^(3/2)), i, abs(n^3-i^2)))

CROSSREFS

Sequence in context: A070015 A021492 A077119 * A111938 A167341 A199852

Adjacent sequences:  A002935 A002936 A002937 * A002939 A002940 A002941

KEYWORD

nonn

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com).

EXTENSIONS

More terms from Benoit Cloitre (benoit7848c(AT)orange.fr), Aug 17 2002

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 21:13 EST 2012. Contains 206085 sequences.