login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A061408 For each y >= 1 there are only finitely many values of x >= 1 such that x-y and x+y are both positive squares; list all such pairs (x,y) ordered by values of y; sequence gives y values. 5
4, 6, 8, 10, 12, 12, 14, 16, 16, 18, 20, 20, 22, 24, 24, 24, 26, 28, 28, 30, 30, 32, 32, 34, 36, 36, 36, 38, 40, 40, 40, 42, 42, 44, 44, 46, 48, 48, 48, 48, 50, 52, 52, 54, 54, 56, 56, 56, 58, 60, 60, 60, 60, 62, 64, 64, 64, 66, 66, 68, 68, 70, 70, 72 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
Each even integer y >= 4 occurs A056924(y/2) times. - Robert Israel, Dec 10 2017
REFERENCES
Donald D. Spencer, Computers in Number Theory, Computer Science Press, Rockville MD, 1982, pp. 130-131.
LINKS
FORMULA
The solutions are given by x = r^2 + 2*r*k + 2*k^2, y = 2*k*(k+r) with r >= 1, k >= 1. - N. J. A. Sloane, May 02 2001
EXAMPLE
Pairs are [5, 4], [10, 6], [17, 8], [26, 10], [13, 12], [37, 12], [50, 14], ... For example, 5-4 = 1^2, 5+4 = 3^2.
MAPLE
seq(y $ nops(select(t -> (t^2 < y/2), numtheory:-divisors(y/2))), y=2..100, 2); # Robert Israel, Dec 10 2017
MATHEMATICA
Table[Table[y, {Select[Divisors[y/2], #^2 < y/2&] // Length}], {y, 2, 100, 2}] // Flatten (* Jean-François Alcover, Feb 28 2019, after Robert Israel *)
CROSSREFS
Sequence in context: A179372 A240024 A227405 * A063287 A228358 A134331
KEYWORD
nonn
AUTHOR
Jason Earls, May 01 2001
EXTENSIONS
Definition clarified by Robert Israel, Dec 10 2017
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 27 20:19 EDT 2024. Contains 372020 sequences. (Running on oeis4.)